Back to Skills

fix-decision-router

verified

Post-documentation decision menu for fix-reporter. Routes to critical patterns, skill updates, cross-references, or discovery enablement.

View on GitHub

Marketplace

majestic-marketplace

majesticlabs-dev/majestic-marketplace

Plugin

majestic-engineer

Repository

majesticlabs-dev/majestic-marketplace
19stars

plugins/majestic-engineer/skills/fix-decision-router/SKILL.md

Last Verified

January 24, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/majesticlabs-dev/majestic-marketplace/blob/main/plugins/majestic-engineer/skills/fix-decision-router/SKILL.md -a claude-code --skill fix-decision-router

Installation paths:

Claude
.claude/skills/fix-decision-router/
Powered by add-skill CLI

Instructions

# 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-os/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-os/lessons/patterns/critical-patterns.md
4. Add cross-reference back to source doc
5. Confirm: "Added to Critical Patterns"
```

**Template:**
```markdown
## N. [Pattern Name] (Required)

### WRONG ([Will cause X error])
```[language]
[code showing wrong approach]
```

### CORRECT
```[language]
[code showing correct approach]
```

**Why:** [Technical explanation]
**Context:** [When this applies]
**Source:** `.agents-os/lessons/[category]/[filename].md`
```

### Option 3: Link related issues

```
1. Prompt: "Which doc to link? (filename or describe)"
2. Search .agents-os/lessons/ for matching doc
3. Add cross-reference to both docs under "## Related Issues"
4. Confirm: "Cross-reference added to both files"
```

### Option 4: Add to existing skill

```
1. Prompt: "Which skill?"
2. Find skill in plugins/*/skills/
3. Determine target: resources.md, patterns.md, or examples.md
4. Add link and brief description
5. Confirm: "Added to [skill-name] in [file]"
```

### Option 5: Create new skill

```
1. Prompt: "Skill name?"
2. Create directory: plugins/majestic-engineer/skills/[name]/
3. Create SKILL.md with basic structure
4. Add solut

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
3119 chars