kmshihab7878/claude-code-setup/subagent-development

Claude Code and agent skill by kmshihab7878/claude-code-setup

Trust tier 3
  • community
Source check pending

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-development

SKILL.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:spawn produces 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:

StatusMeaningAction Required
DONETask complete, all tests passProceed to review
BLOCKEDCannot proceed, needs external inputOrchestrator resolves blocker
NEEDS_CONTEXTMissing information to complete taskProvide specific context requested
DONE_WITH_CONCERNSComplete but with flagged issuesReview concerns before accepting
3. Two-Stage Review

Every subagent's output goes through two reviews before acceptance:

Stage 1: Spec Compliance

- Does the output match the task description exactly?
- Are all acceptance criteria met?
- Does the test that defines "done" pass?
- Are there any out-of-scope changes?

Stage 2: Code Quality

- Does the code follow project conventions?
- Are there security issues? (injection, auth, secrets)
- Is error handling adequate?
- Is the code testable and maintainable?

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:

DomainTypical Tasks
Data LayerSchema, migrations, queries, ORM models
API LayerRoutes, controllers, validation, serialization
Business LogicServices, domain models, rules
InfrastructureDocker, CI/CD, deployment, monitoring
FrontendComponents, state, routing, styling
TestingTest infrastructure, fixtures, mocks

Rule: Tasks within the same domain can share an agent. Tasks across domains MUST use separate agents.

Orchestration Pattern

1. DECOMPOSE: Break the task into domain-grouped subtasks
2. SPEC: Write acceptance criteria + failing test for each subtask
3. DISPATCH: Launch one agent per domain group (parallel where independent)
4. MONITOR: Collect status from each agent
5. REVIEW: Two-stage review of each agent's output
6. INTEGRATE: Merge outputs, run full test suite, resolve conflicts
7. VERIFY: Trigger verification-before-completion

Integration

  • Task decomposition comes from /sc:spawn
  • Each subtask follows test-driven-development
  • Reviews follow /review command patterns
  • Final integration uses verification-before-completion
  • Use git-worktrees for 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/kmshihab7878/claude-code-setup/subagent-development/badge)](https://verified-skill.com/skills/kmshihab7878/claude-code-setup/subagent-development)

Something wrong with this skill or its page? Tell us.