Slash Command
/dev-setup
Initialize a new project with Claude dev infrastructure (templates, hooks, skills)
From claude-dev-infrastructureInstall
1
Run in your terminal$
npx claudepluginhub ananddtyagi/claude-code-marketplace --plugin claude-dev-infrastructureCommand Content
/dev-setup Command
Initialize a project with Claude Code development infrastructure.
Usage
/dev-setup # Setup in current directory
/dev-setup /path/to/project # Setup in specified directory
/dev-setup --minimal # Install only essential components
What Gets Installed
Full Installation (default)
.claude/skills/- 12 AI development skills.claude/hooks/- Task coordination hooks.claude/settings.json- Hook configurationdocs/MASTER_PLAN.md- Task tracking templateCLAUDE.md- Project guidance for Claude Code
Minimal Installation (--minimal)
.claude/hooks/- Essential task-lock hooks onlydocs/MASTER_PLAN.md- Task tracking templateCLAUDE.md- Project guidance
Implementation
When the user runs /dev-setup:
-
Check target directory
- If path provided, use that directory
- Otherwise use current working directory
- Create directory if it doesn't exist
-
Create .claude directory structure
mkdir -p .claude/skills .claude/hooks .claude/locks docs -
Copy components based on mode
- Full: Copy all skills, hooks, templates
- Minimal: Copy essential hooks and templates only
-
Generate project files from templates
- Replace
{{PROJECT_NAME}}with directory name - Replace
{{DATE}}with current date - Don't overwrite existing files
- Replace
-
Configure hooks in .claude/settings.json
{ "hooks": { "PreToolUse": [{"matcher": "Edit|Write", "command": ".claude/hooks/task-lock-enforcer.sh"}], "SessionStart": [{"command": ".claude/hooks/session-lock-awareness.sh"}], "SessionEnd": [{"command": ".claude/hooks/session-lock-release.sh"}] } } -
Report results
- List what was installed
- Show next steps
- Mention dev-manager if applicable
Example Output
✅ Dev infrastructure initialized!
Installed:
- 12 AI skills in .claude/skills/
- 4 hooks in .claude/hooks/
- MASTER_PLAN.md template
- CLAUDE.md project guidance
Next steps:
1. Edit CLAUDE.md for your project
2. Add tasks to docs/MASTER_PLAN.md
3. Run /dev-manager to start the Kanban dashboard
Stats
Parent Repo Stars624
Parent Repo Forks52
Last CommitDec 25, 2025