Loading...
Loading...
Install the full development workflow into a Claude Code project: slash commands for breakdown, spec, work, commit, review, PR, security scanning, and issue triage; agents for architecture, implementation, quality review, and git management. Run this after the greenfield or brownfield skill has set up the project foundation. Trigger phrases: "/workflow", "install workflow", "set up commands", "set up agents", "install breakdown and work commands", "configure my workflow", "install the development workflow".
npx skill4agent add squirrelsoft-dev/agent-skills workflow.claude/ls .claude/ 2>/dev/null || echo "MISSING"
ls .claude/hooks/stop-quality-gate.sh 2>/dev/null && echo "GATE_EXISTS" || echo "GATE_MISSING"
cat .claude/settings.json 2>/dev/null | grep -q "AGENT_TEAMS" && echo "TEAMS_ENABLED" || echo "TEAMS_DISABLED".claude/"No .claude/ directory found. Run the greenfield or brownfield skill first, then re-run /workflow."
.claude/commands/.claude/agents/"Existing commands/agents will be overwritten. Continue? (yes/no)"
SKILL_NAME="workflow" \
bash "${CLAUDE_SKILL_DIR}/scripts/load-config.sh"{}Previous workflow configuration found:
Orchestration: [ORCHESTRATION]
Commands: [COMMANDS]
Gitleaks: [GITLEAKS]
Semgrep: [SEMGREP]
Would you like to:
a) Update — reinstall all commands and agents using these settings
b) Reconfigure — start the interview from scratchAskUserQuestionAskUserQuestionAskUserQuestionSetting up your development workflow.
Orchestration mode — How should /breakdown, /spec, and /work orchestrate agents?
a) Subagents — parallel (recommended) — parallel workers in isolated git
worktrees, merged by the git-expert agent. Stable, works everywhere.
b) Subagents — PEE loop — sequential Planner → Executor → Evaluator loop
per spec on a shared branch, with one full quality pass at the end.
One-shot subagents (no team infrastructure). Optimized for spec-compliance
correctness, not raw speed. Uses opus for planner/evaluator and sonnet
for the executor.
c) Agent teams (experimental) — teammates work on parallel domains of the
codebase on a shared branch. Requires CC v2.1.32+ and
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS enabled.ORCHESTRATIONsubagentsloopteamsAskUserQuestionWhich commands would you like installed? (default: all)
a) /breakdown, /spec, /work — feature planning and implementation ✓
b) /commit — conventional commit message generator ✓
c) /review — code review of current changes ✓
d) /pr, /squash-pr, /address-pr-comments — pull request workflow ✓
e) /fix-issue — implement a GitHub issue end-to-end ✓
f) /security-scan — on-demand deep security scan ✓
g) /triage — GitHub issue analysis (requires gh) ✓
h) /update-skills — find and install skills for your deps ✓
Enter "all" or list letters to include (e.g. "a, b, d"):SKILL_NAME="workflow" \
CONFIG_JSON='{"ORCHESTRATION":"[val]","COMMANDS":"[val]","GITLEAKS":"[val]","SEMGREP":"[val]"}' \
bash "${CLAUDE_SKILL_DIR}/scripts/save-config.sh"[val].claude/skill-config.jsonbash scripts/detect-tools.shRecommended tools:
gitleaks — Scans for accidentally committed secrets
https://github.com/gitleaks/gitleaks#installing
brew install gitleaks
semgrep — SAST security scanner (injection, OWASP Top 10)
https://semgrep.dev/docs/getting-started/
pip install semgrep / brew install semgrep
gh CLI — Required for /triage, /pr, /squash-pr, /address-pr-comments
https://cli.github.com/
brew install gh
The quality gate will skip checks for tools that aren't installed.ORCHESTRATION="[subagents|teams|loop]" \
COMMANDS="[comma-separated approved list]" \
bash scripts/install-commands.sh
ORCHESTRATION="[subagents|teams|loop]" \
bash scripts/install-agents.shbash scripts/install-triage-skill.sh.claude/hooks/stop-quality-gate.shbash scripts/patch-quality-gate.shteamsbash scripts/patch-settings-teams.shTaskCompleted.claude/settings.jsonformat.shtask-summary.shteammate-quality-gate.shVS Code may show schema warnings on. This is a known schema lag — agent teams hooks are newer than the schema. The hooks work correctly at runtime. To suppress the warning add this toTaskCompleted:.vscode/settings.json{ "json.schemas": [{ "fileMatch": ["**/.claude/settings.json"], "schema": {} }] }
git add .claude/
git commit -m "chore(claude): install development workflow"✅ Workflow Setup Complete
Commands installed:
/breakdown + /spec + /work — [subagents parallel | subagents PEE loop | agent teams] orchestration
/commit — conventional commit message generator
/review — code review of current changes
/pr + /squash-pr — pull request workflow
/address-pr-comments — address GitHub review comments
/fix-issue — implement a GitHub issue end-to-end
/security-scan — on-demand deep security scan
/triage — GitHub issue analysis and planning
/update-skills — find and install skills for project dependencies
Agents installed:
architect — plans features and architecture
[implementer | domain-implementer | planner+executor+evaluator] — implement specs
quality — 8-gate quality review
git-expert — worktrees, merges, verification
Quality tools:
gitleaks: [✅ active in quality gate | ⚠️ not installed]
semgrep: [✅ active in quality gate | ⚠️ not installed]
gh CLI: [✅ installed | ⚠️ not installed — /triage, /pr, /squash-pr need this]
Agent teams hooks: [added to settings.json | not needed for this orchestration mode]
⚠️ Restart Claude Code to load the new commands and agents.
Typical workflow once restarted:
/breakdown my-feature — decompose into tasks
/spec my-feature — generate implementation specs
/work my-feature --all — implement with agents
/squash-pr my-feature — create PRreferences/commands/references/agents/references/triage-skill.md