From majestic-engineer
Presents post-documentation decision menu after fix-reporter. Routes to adding critical patterns, linking issues, updating or creating skills, viewing docs, or enabling discovery.
npx claudepluginhub majesticlabs-dev/majestic-marketplace --plugin majestic-engineerThis skill is limited to using the following tools:
**Purpose:** Present post-capture options and execute user's choice after fix-reporter creates documentation.
Captures verified solutions to non-obvious coding problems as categorized Markdown files with YAML frontmatter in .agents/lessons for fast lookup. Auto-triggers on phrases like 'it's fixed'; manual /report-fix.
Captures verified solutions to non-trivial problems as categorized markdown files with YAML frontmatter in symptom directories for grep-searchable knowledge base. Auto-triggers on phrases like 'that worked' or /doc-fix command.
Coordinates parallel subagents to document recently solved problems into searchable YAML-frontmatter Markdown files in docs/solutions/. Offers full research/cross-reference mode or lightweight single-pass.
Share bugs, ideas, or general feedback.
Purpose: Present post-capture options and execute user's choice after fix-reporter creates documentation.
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
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:
## N. [Pattern Name] (Required)
### WRONG ([Will cause X error])
```[language]
[code showing wrong approach]
[code showing correct approach]
Why: [Technical explanation]
Context: [When this applies]
Source: .agents/lessons/[category]/[filename].md
### Option 3: Link related issues
### Option 4: Add to existing skill
### Option 5: Create new skill
### Option 6: View documentation
### Option 7: Enable discovery
Make lesson discoverable by lessons-discoverer agent:
**Impact mapping:**
- critical → blocks_work
- high → major_time_sink
- medium/low → minor_inconvenience
### Option 8: Other
Prompt for custom action and execute.
## Integration
**Invoked by:** fix-reporter (after Step 7)
**Invokes:** None (terminal options)
## Input Schema
```yaml
doc_path: string # Path to created documentation
category: string # Problem category from fix-reporter