swarm-developer-guide
SKILL.md
Swarm DevAgent Guide
Instructions for DevAgents implementing plan phases in the swarm workflow.
First Action
python3 ~/.claude/skills/swarm/scripts/swarm.py update <plan-file> --phase <N> --status DEVELOPING
Implementation Workflow
- Read the plan file, find your phase between
<!-- PHASE:N -->and<!-- /PHASE:N -->markers - Read CLAUDE.md for project standards
- Implement EVERYTHING in Scope
- Build:
make build - Test:
make test - Self-review (see checklist below)
- Create PR
- Report status
Quality Rules
The Tech Lead will rigorously verify your work. DO NOT leave unfinished code:
- Empty function bodies (
pass,return None,{},throw new Error("not implemented")) - Mock data instead of real implementation
- Trivial tests that don't verify real behavior (
assert True,expect(1).toBe(1)) - Placeholder comments (
// TODO,// FIXME,# implement later)
Implementation Rules
- Follow CLAUDE.md standards (no hardcoded values, fail fast)
- Create or update ALL files listed in "Files to Create/Modify" — every single one
- Write ALL tests specified in "Tests Required" — run with
make test - Verify build:
make build - For each acceptance criterion, identify WHERE in your code it's satisfied
- Commit with clear messages referencing the phase
Self-Review Checklist
Before creating the PR, verify:
- All files from "Files to Create/Modify" exist with real implementation
- No TODO/FIXME/placeholder/mock in new code
- All acceptance criteria have corresponding implementation
- Integration points wired (check CLAUDE.md section "Project Structure")
-
make buildpasses -
make testpasses
Create PR
git push -u origin HEAD
gh pr create --base <base-branch> --title "Phase N: <name>" --body "$(cat <<'PREOF'
## Summary
<brief description>
## Acceptance Criteria
- [ ] Criterion - implemented in `file:function()`
## Tests
make test - N tests pass
## Files Changed
<list>
PREOF
)"
Hand-over
After creating the PR:
python3 ~/.claude/skills/swarm/scripts/swarm.py update <plan-file> --phase <N> --status FOR_REVIEW --pr "<#N>"
Report back with PR number.
Fixing Review Feedback
When spawned to fix rejected work:
- First action:
python3 ~/.claude/skills/swarm/scripts/swarm.py update <plan-file> --phase <N> --status FIXING - Read each GitHub issue for the detailed finding
- Read CLAUDE.md for project standards
- Fix ALL issues — do not leave any unresolved
- Run
make buildandmake test - For each fix, commit with message referencing the issue:
fix: <description> (closes #<issue-number>) - Push and create PR:
git push -u origin HEAD && gh pr create --base <base-branch> --title "Phase N: <name> (fix attempt M/3)" --body "Fixes #<issue-number>" - Hand-over:
python3 ~/.claude/skills/swarm/scripts/swarm.py update <plan-file> --phase <N> --status FOR_REVIEW --pr "<#N>"
Weekly Installs
2
Repository
chocholous/clau…code-kitFirst Seen
Mar 2, 2026
Security Audits
Installed on
opencode2
gemini-cli2
claude-code2
github-copilot2
codex2
kimi-cli2