kmshihab7878/claude-code-setup/subagent-development
Claude Code and agent skill by kmshihab7878/claude-code-setup
- community
Checking that the SKILL.md file is still in the repository.
Guidance for assigning, coordinating, and reviewing focused subagent work.
Install
npx vskill@latest install kmshihab7878/claude-code-setup/subagent-developmentSKILL.md
Subagent-Driven Development
Fresh agents per task. Two-stage review. Status protocol. No context bleeding.
Triggers
- Multi-domain task requiring parallel agent work
/sc:spawnproduces a task hierarchy to execute- User requests agent-based task delegation
- Complex implementation spanning multiple technical domains
Core Principles
1. Fresh Agent Per Task
Each subagent gets a fresh context with only what it needs:
- The specific task description
- Relevant file paths and content
- Acceptance criteria with a test that defines "done"
- No leaked context from other tasks
Why: Context bleeding causes agents to make assumptions from unrelated tasks, producing subtle bugs.
2. Status Protocol
Every subagent MUST report status using exactly one of these:
| Status | Meaning | Action Required | |
|---|---|---|---|
DONE | Task complete, all tests pass | Proceed to review | |
BLOCKED | Cannot proceed, needs external input | Orchestrator resolves blocker | |
NEEDS_CONTEXT | Missing information to complete task | Provide specific context requested | |
DONE_WITH_CONCERNS | Complete but with flagged issues | Review concerns before accepting |
3. Two-Stage Review
Every subagent's output goes through two reviews before acceptance:
Stage 1: Spec Compliance
Stage 2: Code Quality
If either stage fails, the subagent output is rejected with specific feedback.
Domain Grouping Strategy
When spawning multiple agents, group by domain to minimize cross-cutting concerns:
| Domain | Typical Tasks | |
|---|---|---|
| Data Layer | Schema, migrations, queries, ORM models | |
| API Layer | Routes, controllers, validation, serialization | |
| Business Logic | Services, domain models, rules | |
| Infrastructure | Docker, CI/CD, deployment, monitoring | |
| Frontend | Components, state, routing, styling | |
| Testing | Test infrastructure, fixtures, mocks |
Rule: Tasks within the same domain can share an agent. Tasks across domains MUST use separate agents.
Orchestration Pattern
Integration
- Task decomposition comes from
/sc:spawn - Each subtask follows
test-driven-development - Reviews follow
/reviewcommand patterns - Final integration uses
verification-before-completion - Use
git-worktreesfor isolation when agents modify overlapping files
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/subagent-development/SKILL.md
Popularity
- Repository stars
- 6
- Repository forks
- 1
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kmshihab7878/claude-code-setup/subagent-development)