/setup:setupfrom setup
Project setup and onboarding workflow. Use when setting up the project, onboarding new developers, or troubleshooting environment issues.
Ships in setup. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Guide developers through project setup and environment configuration. Discovers project structure and learns setup requirements for consistent onboarding.
| Mode | Trigger | Purpose |
|---|---|---|
| configure | /setup configure | Auto-detect project type, prerequisites, setup commands |
| learn | /setup learn | Confirm and cache setup configuration |
| guide | /setup | Guide through setup steps (default) |
| verify | /setup verify | Verify setup is complete and working |
Auto-detect project setup requirements:
/setup configure
Detects:
Detection sources:
| File | Indicates |
|---|---|
package.json | Node.js project |
pyproject.toml, requirements.txt | Python project |
go.mod | Go project |
Cargo.toml | Rust project |
Gemfile | Ruby project |
.env.example | Environment template exists |
Taskfile.yaml | Task runner available |
Makefile | Make-based setup |
Confirm discovered configuration and save:
/setup learn
Outputs: .claude/setup-cache.yaml
# Setup configuration cache
# Generated by: /setup learn
project:
type: nodejs
package_manager: npm
prerequisites:
- name: node
version: ">=18"
check: "node --version"
install: "brew install node"
- name: task
version: ">=3"
check: "task --version"
install: "brew install go-task/tap/go-task"
commands:
setup: "npm install"
test: "npm test"
lint: "npm run lint"
typecheck: "npx tsc --noEmit"
environment:
template: ".env.example"
target: ".env"
required_vars:
- DATABASE_URL
- API_KEY
Step-by-step setup guidance:
/setup
Verify required tools are installed:
# Check each prerequisite from cache
node --version # Node.js
task --version # Taskfile CLI
Run the configured setup command:
# Uses SETUP_COMMAND from skills-config.env or cache
npm install
# or: pip install -r requirements.txt
# or: cargo build
# or: make setup
# Copy template if exists
cp .env.example .env
# Edit with required values
# See project README for required variables
# Run tests to confirm working setup
task -t .claude/Taskfile.dev.yaml test
Check setup is complete:
/setup verify
Checks:
Config path depends on how the plugin was installed:
| Plugin Scope | Config File | Git |
|---|---|---|
| project | .claude/skills/setup.yaml | Committed (shared) |
| local | .claude/skills/setup.local.yaml | Ignored (personal) |
| user | .claude/skills/setup.local.yaml | Ignored (personal) |
Precedence when reading (first found wins):
.claude/skills/setup.local.yaml.claude/skills/setup.yamlThe discovery cache is always stored at .claude/setup-cache.yaml (per-project).
Configured via wizard during /setup configure:
| Variable | Description | Example |
|---|---|---|
SETUP_COMMAND | Install dependencies | npm install |
PREREQUISITES | Required tools | node>=18,docker |
# Discover project setup requirements
/setup configure
# Learn and cache configuration
/setup learn
# Run guided setup (default)
/setup
# Verify setup is working
/setup verify
| Tool | Install | Verify |
|---|---|---|
| Node.js 18+ | brew install node | node --version |
| Python 3.11+ | brew install python | python --version |
| Go 1.21+ | brew install go | go version |
| Rust | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | rustc --version |
| Task CLI | brew install go-task/tap/go-task | task --version |
| Docker | brew install --cask docker | docker --version |
Install the missing prerequisite (see table above).
Run the setup command:
npm install # or equivalent for your project
Copy and configure environment file:
cp .env.example .env
# Edit .env with required values
Check for missing environment variables or configuration.
See skill.yaml for patterns and procedures.
See sharp-edges.yaml for common setup issues.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dohernandez/claude-skills --plugin setup