基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/kmshihab7878/claude-code-setup --skill subagent-driven-development命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Anti-over-engineering guardrail that activates when an AI coding agent expands scope, adds abstractions, or changes files the user did not request.
Write JavaScript code in n8n Code nodes. Use when writing JavaScript in n8n, using $input/$json/$node syntax, making HTTP requests with $helpers, working with dates using DateTime, troubleshooting Code node errors, or choosing between Code node modes.
Complete n8n skill — workflow building, node configuration, JavaScript/Python code nodes, expression syntax, validation, MCP tools, credentials, administration, Docker deployment, backup/restore, internal API, and troubleshooting. Auto-triggers on any n8n task including workflow creation, node configuration, code nodes, expressions, validation errors, credential management, instance administration, n8n setup, n8n upgrade, n8n backup, and n8n API usage.
| name | Subagent-Driven Development |
| description | Guidance for assigning, coordinating, and reviewing focused subagent work. |
Fresh agents per task. Two-stage review. Status protocol. No context bleeding.
/sc:spawn produces a task hierarchy to executeEach subagent gets a fresh context with only what it needs:
Why: Context bleeding causes agents to make assumptions from unrelated tasks, producing subtle bugs.
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 |
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.
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.
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
/sc:spawntest-driven-development/review command patternsverification-before-completiongit-worktrees for isolation when agents modify overlapping files