home / skills / ehtbanton / claudeskillsrepo / vagrant-config-generator
This skill generates a complete Vagrantfile for local development environments, enabling reproducible VMs with Ubuntu, provisioners, and port mappings.
npx playbooks add skill ehtbanton/claudeskillsrepo --skill vagrant-config-generatorReview the files below or copy the command above to add this skill to your agents.
---
name: vagrant-config-generator
description: Generate Vagrant configuration files for local development environments. Triggers on "create vagrantfile", "generate vagrant config", "vagrant setup", "local vm config".
---
# Vagrant Config Generator
Generate Vagrant configuration files for reproducible development environments.
## Output Requirements
**File Output:** `Vagrantfile`
**Format:** Valid Ruby Vagrantfile
**Standards:** Vagrant 2.x
## When Invoked
Immediately generate a complete Vagrantfile for the development environment.
## Example Invocations
**Prompt:** "Create Vagrantfile for Node.js development"
**Output:** Complete `Vagrantfile` with Ubuntu, Node.js, and port forwarding.
This skill generates complete Vagrantfiles to provision reproducible local development virtual machines. It outputs a valid Ruby Vagrantfile compatible with Vagrant 2.x, ready to be dropped into a project root. The focus is on practical, editable configs for common stacks like Node.js, Python, Ruby, and database services.
On request it produces a full Vagrantfile that configures box, provider settings, synced folders, networking, and provisioning steps. The generated file includes OS selection (Ubuntu by default), package installation, port forwarding, and optional shell or provisioner scripts for tooling like Node.js. Outputs are syntactically valid Ruby and follow Vagrant 2.x conventions so they work with vagrant up immediately.
What file does this skill produce?
It produces a single Vagrantfile in valid Ruby format compatible with Vagrant 2.x.
Can I request a specific base box or OS?
Yes—specify the base box (for example ubuntu/focal64) and the generator will use it in the Vagrantfile.