Skill Developer Workflow
Implement skill development issues through iterative planning, TDD-governed implementation, and review cycles.
When to Use
- Implementing a GitHub issue that creates or modifies skills, plugins, agents, or hooks
- Issue requires TDD-governed phases (baseline → implement → verify)
- Work involves SKILL.md frontmatter, workflow references, agent prompts, or hook scripts
When NOT to Use
- General code changes unrelated to skill/plugin authoring
- Quick validation or auditing — use
/plugin-dev instead
- Scaffolding a new plugin from scratch — use
/plugin-dev:create instead
Quick Reference
| Phase |
Action |
Exit Condition |
| 0. Setup |
MUST create feature branch |
On feature branch (NOT main/master) |
| 1. Context |
Read issue + detect skill files |
Requirements clear, skill files noted |
| 2. Plan |
Draft implementation plan |
Plan complete |
| 3-4. Validate |
Gemini review loop (max 5) |
APPROVED status |
| 4.5. Baseline (RED) |
TODO: #163 — capture baseline behavior |
Baseline captured (or skipped pending #163) |
| 5-7. Implement (GREEN) |
Write minimal skill addressing failures |
All tasks done + criteria met + tests passing + validation passing |
| 7.5. Verify (REFACTOR) |
TODO: #163 — compare against baseline |
Benchmark passes (or skipped pending #163) or escalated |
| 8-9. Review |
Council review (max 3) |
APPROVED status |
| 10. Finalize |
Commit + PR |
PR created |
| 11. Cleanup |
Clean temps, delete branch |
Branch deleted after merge |
Consultant Scaling
| Change Size |
Criteria |
Consultants |
| Trivial |
<10 lines, no logic changes |
Skip review → Phase 10 |
| Small |
1-2 files, simple logic |
council:gemini-consultant only |
| Medium |
3-5 files, moderate complexity |
council:gemini-consultant + council:codex-consultant |
| Large |
6+ files, architectural impact |
/council skill |
Skill File Detection
During Phase 1, detect and note these skill-related files for domain-specific handling:
SKILL.md — Skill activation definitions (YAML frontmatter + instructions)
references/*.md — Workflow reference files (e.g., references/WORKFLOW.md)
agents/*.md — Agent/subagent definitions
hooks/hooks.json — Hook config (declares hook types, matchers, and script references)
scripts/ — Hook scripts (executables referenced by hooks.json via ${CLAUDE_PLUGIN_ROOT}/scripts/...)
Triggers
Use this skill when the user says: "develop skill", "skill dev", "plugin develop", "develop issue", "skill workflow", "implement skill issue", "TDD skill development".
Workflow Reference
Read references/WORKFLOW.md now — it contains the detailed step-by-step procedures for every phase, including TDD extension points, loop limits, and escalation rules. Follow it exactly.
1---2name: develop3description: Use when implementing GitHub issues for skill or plugin development through TDD-governed phases with iterative planning, implementation, and review loops. Use this whenever the issue involves SKILL.md files, agent prompts, hook scripts, or plugin workflows.4---56# Skill Developer Workflow78Implement skill development issues through iterative planning, TDD-governed implementation, and review cycles.910## When to Use1112- Implementing a GitHub issue that creates or modifies skills, plugins, agents, or hooks13- Issue requires TDD-governed phases (baseline → implement → verify)14- Work involves SKILL.md frontmatter, workflow references, agent prompts, or hook scripts1516## When NOT to Use1718- General code changes unrelated to skill/plugin authoring19- Quick validation or auditing — use `/plugin-dev` instead20- Scaffolding a new plugin from scratch — use `/plugin-dev:create` instead2122## Quick Reference2324| Phase | Action | Exit Condition |25|-------|--------|----------------|26| 0. Setup | **MUST** create feature branch | On feature branch (NOT main/master) |27| 1. Context | Read issue + detect skill files | Requirements clear, skill files noted |28| 2. Plan | Draft implementation plan | Plan complete |29| 3-4. Validate | Gemini review loop (max 5) | `APPROVED` status |30| 4.5. Baseline (RED) | TODO: #163 — capture baseline behavior | Baseline captured (or skipped pending #163) |31| 5-7. Implement (GREEN) | Write minimal skill addressing failures | All tasks done + criteria met + tests passing + validation passing |32| 7.5. Verify (REFACTOR) | TODO: #163 — compare against baseline | Benchmark passes (or skipped pending #163) or escalated |33| 8-9. Review | Council review (max 3) | `APPROVED` status |34| 10. Finalize | Commit + PR | PR created |35| 11. Cleanup | Clean temps, delete branch | Branch deleted after merge |3637## Consultant Scaling3839| Change Size | Criteria | Consultants |40|-------------|----------|-------------|41| Trivial | <10 lines, no logic changes | Skip review → Phase 10 |42| Small | 1-2 files, simple logic | council:gemini-consultant only |43| Medium | 3-5 files, moderate complexity | council:gemini-consultant + council:codex-consultant |44| Large | 6+ files, architectural impact | `/council` skill |4546## Skill File Detection4748During Phase 1, detect and note these skill-related files for domain-specific handling:49- `SKILL.md` — Skill activation definitions (YAML frontmatter + instructions)50- `references/*.md` — Workflow reference files (e.g., `references/WORKFLOW.md`)51- `agents/*.md` — Agent/subagent definitions52- `hooks/hooks.json` — Hook config (declares hook types, matchers, and script references)53- `scripts/` — Hook scripts (executables referenced by `hooks.json` via `${CLAUDE_PLUGIN_ROOT}/scripts/...`)5455## Triggers5657Use this skill when the user says: "develop skill", "skill dev", "plugin develop", "develop issue", "skill workflow", "implement skill issue", "TDD skill development".5859## Workflow Reference6061**Read [references/WORKFLOW.md](references/WORKFLOW.md) now** — it contains the detailed step-by-step procedures for every phase, including TDD extension points, loop limits, and escalation rules. Follow it exactly.