diff --git a/skills/devbox/SKILL.md b/skills/devbox/SKILL.md new file mode 100644 index 00000000000..41ed9a4e41a --- /dev/null +++ b/skills/devbox/SKILL.md @@ -0,0 +1,126 @@ +--- +name: devbox +description: Devbox expert guidance. Use when creating isolated development environments, managing project dependencies with Nix packages, authoring devbox.json, writing scripts or services, or generating Dockerfiles and devcontainers from a devbox project. +metadata: + docs: + - "https://www.jetify.com/devbox/docs" + - "https://github.com/jetify-com/devbox" + pathPatterns: + - 'devbox.json' + - 'devbox.lock' + - '.devbox/**' + bashPatterns: + - '^\s*devbox(?:\s|$)' +--- + +# Devbox Skill + +[Devbox](https://github.com/jetify-com/devbox) creates isolated, reproducible development environments powered by Nix. You declare packages and scripts in a `devbox.json`; Devbox materializes a shell where everyone on the team gets the exact same tool versions without polluting the host machine. Use `devbox -h` for full flag details on any command. + +## Quick Start + +```bash +curl -fsSL https://get.jetify.com/devbox | bash # install devbox +devbox init # create devbox.json in cwd +devbox add go@1.22 nodejs@20 # add packages (name@version) +devbox shell # enter the isolated shell +devbox run