| name | fix-decision-router |
| description | Post-documentation decision menu for fix-reporter. Routes to critical patterns, skill updates, cross-references, or discovery enablement. |
| allowed-tools | Read Write Edit Bash Grep AskUserQuestion |
| preconditions | ["fix-reporter has created documentation","File path known from fix-reporter output"] |
fix-decision-router Skill
Purpose: Present post-capture options and execute user's choice after fix-reporter creates documentation.
Decision Menu
Present after successful documentation:
Solution documented
File created:
- .agents/lessons/[category]/[filename].md
What's next?
1. Continue workflow (recommended)
2. Add to Critical Patterns
3. Link related issues
4. Add to existing skill
5. Create new skill
6. View documentation
7. Enable discovery
8. Other
Option Handlers
Option 1: Continue workflow
- Return to calling skill/workflow
- Documentation complete, no further action
Option 2: Add to Critical Patterns
When user selects: Pattern is non-obvious but must be followed every time.
1. Extract pattern from the documentation
2. Format as WRONG vs CORRECT (use template below)
3. Append to .agents/lessons/patterns/critical-patterns.md
4. Add cross-reference back to source doc
5. Confirm: "Added to Critical Patterns"
Template: