This skill should be used when implementing patterns as Claude Code components (skills, commands, hooks, agents), or when "codify", "capture workflow", "turn into a skill", or "make reusable" are...
Identified pattern ā component mapping ā implementation.
NOT for: one-off tasks, simple questions, well-documented existing patterns
| Type | Purpose | Example |
|---|---|---|
| Workflow | Multi-step sequences | Debug ā Test ā Fix ā Verify |
| Orchestration | Tool coordination | Git + Linear + PR automation |
| Heuristic | Decision rules | "When X, do Y because Z" |
Workflows: Step-by-step processes with defined stages and transitions. Orchestration: Tool combinations that work together for a goal. Heuristics: Conditional logic and decision trees for common situations.
Match pattern type to implementation:
Is it a multi-step process with stages?
āā Yes ā Does it need tool restrictions?
ā āā Yes ā Skill (with allowed_tools)
ā āā No ā Skill
āā No ā Is it a simple entry point?
āā Yes ā Command (thin wrapper ā Skill)
āā No ā Is it autonomous/long-running?
āā Yes ā Agent
āā No ā Is it reactive to events?
āā Yes ā Hook
āā No ā Probably doesn't need codifying
Composites:
Pattern spec format (YAML):
name: pattern-name
type: workflow | orchestration | heuristic
trigger: when to apply
stages: # workflow
- name: stage-name
actions: [...]
exit_criteria: condition
tools: # orchestration
- tool: name
role: purpose
sequence: order
rules: # heuristic
- condition: when
action: what
rationale: why
quality:
specific: true | false
repeatable: true | false
valuable: true | false
documented: true | false
scoped: true | false
All five quality checks must pass before codifying.
outfitter:codebase-recon skill and use outfitter:patterns techniquesTask stages:
- Identify { pattern description }
- Classify { pattern type }
- Map { component decision }
- Specify { pattern name }
- Implement { component type }
SRVDS criteria ā all must pass:
| Check | Question | Red Flag |
|---|---|---|
| Specific | Clear trigger + scope? | "Sometimes useful" |
| Repeatable | Works across contexts? | One-off solution |
| Valuable | Worth the overhead? | Saves < 5 minutes |
| Documented | Can others understand? | Tribal knowledge |
| Scoped | Single responsibility? | Kitchen sink |
Skip if: < 3 occurrences, context-dependent, simpler inline
ALWAYS:
NEVER:
Identification vs Implementation:
patterns skill identifies and documents patternscodify) implements patterns as Claude Code componentsUse patterns first to identify what's worth capturing. Use codify to turn identified patterns into skills, commands, hooks, or agents.
Component skills (loaded during implementation):
claude-skills ā skill authoringclaude-commands ā command authoringclaude-hooks ā hook authoringclaude-agents ā agent authoring