ai-toolkit-rules
Mandatory engineering, security, testing, git, performance, quality, and response rules. Claude MUST load this skill for every…
Executes plans via fresh subagents per task with two-stage review (spec → quality). Triggers: subagent execution, execute plan, fresh agent per task, spec compliance review.
Claude Code
$ npx -y skills add softspark/ai-toolkit --skill subagent-development --agent claude-code
Codex
$ npx skills add softspark/ai-toolkit --skill subagent-development -a codex -y
Cursor
$ npx skills add softspark/ai-toolkit --skill subagent-development -a cursor -y
Gemini CLI
$ npx skills add softspark/ai-toolkit --skill subagent-development -a gemini-cli -y
GitHub Copilot
$ npx skills add softspark/ai-toolkit --skill subagent-development -a github-copilot -y
OpenCode
$ npx skills add softspark/ai-toolkit --skill subagent-development -a opencode -y
Windsurf
$ npx skills add softspark/ai-toolkit --skill subagent-development -a windsurf -y
name: subagent-development description: "Executes plans via fresh subagents per task with two-stage review (spec → quality). Triggers: subagent execution, execute plan, fresh agent per task, spec compliance review." user-invocable: true effort: high argument-hint: "[plan file or task description]" allowed-tools: Read, Write, Edit, Grep, Glob, Bash, Agent, TaskCreate, TaskList, TaskUpdate, TaskGet
$ARGUMENTS
Execute implementation plans by dispatching fresh subagents per task, then running a two-stage review gate: spec compliance first, code quality second. Fresh context per subagent prevents accumulated confusion. Two-stage review catches different failure modes: spec review catches wrong behavior, quality review catches bad structure.
/subagent-development [plan file or task description]
| Property | Benefit | |----------|---------| | Fresh subagent per task | No accumulated context drift or confusion | | Spec review first | Catches wrong behavior before quality review wastes time on wrong code | | Quality review second | Catches structural issues after behavior is confirmed correct | | Sequential tasks | No merge conflicts, each task builds on verified previous work |
Read plan
|
v
Extract ordered task list
|
v
For each task:
|
+---> [1] Dispatch IMPLEMENTER subagent
| |
| v
| Handle status (see Status Protocol)
| |
| v
+---> [2] Dispatch SPEC REVIEWER subagent
| |
| v
| APPROVED? --no--> fix issues, re-review
| |
| yes
| |
| v
+---> [3] Dispatch QUALITY REVIEWER subagent
| |
| v
| Critical issues? --yes--> fix, re-review
| |
| no
| v
| Mark task complete
|
v
Next task (or done)Read the plan file. Extract:
1. **Ordered task list** -- each task with description, acceptance criteria, file scope 2. **Global constraints** -- what must NOT change, architecture rules, shared conventions 3. **Dependencies** -- which tasks depend on which (execute in dependency order)
Present the task list to the user. Wait for approval before proceeding.
<!-- CLAUDE_CODE_ONLY_START --> Only in Claude Code, apply the `model-routing-patterns` skill when choosing executors or creating agent definitions. Delegate to `codex:codex-rescue` only when its plugin is installed, enabled and callable in this session. Otherwise use the installed native agents and their configured models. A context without the Agent tool returns the dispatch decision to its supervisor; it does not invent a tool or bypass the client. Preserve explicit user choices and verify actual completion before accepting a delegated result. <!-- CLAUDE_CODE_ONLY_END -->
For each task in order:
Before dispatching the implementer, gather:
Use the `Agent` tool with the [implementer prompt template](reference/implementer-prompt.md).
Keep the agent's configured model and effort by default. If the user has approved model routing, select an available, capability-compatible route using this workload guide; do not infer permission to change tier or spending from task size:
| Task Type | Model | Examples | |-----------|-------|---------| | Mechanical | Approved low-latency route | Rename, move, config change, 1-2 files with clear spec | | Integration | Approved balanced route | Wire up existing components, add endpoint using established patterns | | Design/Complex | Approved higher-capability route, if evals justify it | New architecture, complex algorithms, cross-cutting concerns |
The implementer reports one of four statuses:
| Status | Handling | |--------|----------| | **DONE** | Proceed to spec review | | **DONE_WITH_CONCERNS** | Read concerns. If they relate to correctness or scope violations, address them before review. If observational only (style preference, future improvement), note them and proceed to spec review | | **NEEDS_CONTEXT** | Provide the missing context the implementer identified. Re-dispatch with the same task plus the additional context | | **BLOCKED** | Assess the blocker. Context problem: re-dispatch with better context. Capability problem: use a compatible route only within an approved model/budget policy, otherwise ask. Plan is wrong or ambiguous: escalate to user for clarification |
Use the `Agent` tool with the [spec reviewer prompt template](reference/spec-reviewer-prompt.md).
The spec reviewer checks:
If **APPROVED**: proceed to quality review.
If **issues found**: fix the issues (re-dispatch implementer with specific fix instructions or fix inline if trivial), then re-run spec review. Do not proceed to quality review until spec review passes.
Use the `Agent` tool with the [quality reviewer prompt template](reference/code-quality-reviewer-prompt.md).
The quality reviewer categorizes findings:
| Category | Action | |----------|--------| | **Critical** | Must fix before proceeding. Re-dispatch implementer or fix inline | | **Important** | Should fix. Fix now unless time-boxed, then document for follow-up | | **Suggestions** | Nice to have. Note for future improvement, do not block progress |
After fixing any Critical issues, re-run quality review to confirm.
Record:
AI coding toolkit with machine-enforced safety, 116 skills, 44 agents, lifecycle hooks, persona presets, opt-in plugin packs, and benchmark tooling.
Mandatory engineering, security, testing, git, performance, quality, and response rules. Claude MUST load this skill for every…
Searches past coding sessions for observations, decisions, context. Triggers: mem-search, recall session, past work, prior…
Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. Triggers: a11y, accessibility, WCAG, EAA, ARIA, contrast, keyboard, screen…
Creates new specialized agents with frontmatter, tools, delegation. Triggers: new agent, create agent, agent scaffold,…
Analyzes code quality, complexity, patterns across codebase. Triggers: quality report, hotspot scan, code analysis, architecture…
API design: naming, versioning, pagination, idempotency, OpenAPI, error contracts and safe retries. Triggers: API design, REST,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.