/compound-engineering-no-mcp:workflows:workflows:compound [optional: brief context about the fix]from compound-engineering-no-mcp
Document a recently solved problem to compound your team's knowledge
Ships in compound-engineering-no-mcp. Installing the plugin adds it to Claude Code.
Coordinate multiple subagents working in parallel to document a recently solved problem.
Captures problem solutions while context is fresh, creating structured documentation in docs/solutions/ with YAML frontmatter for searchability and future reference. Uses parallel subagents for maximum efficiency.
Why "compound"? Each documented solution compounds your team's knowledge. The first time you solve a problem takes research. Document it, and the next occurrence takes minutes. Knowledge compounds.
/workflows:compound # Document the most recent fix
/workflows:compound [brief context] # Provide additional context hint
<critical_requirement> Only ONE file gets written - the final documentation.
Phase 1 subagents return TEXT DATA to the orchestrator. They must NOT use Write, Edit, or create any files. Only the orchestrator (Phase 2) writes the final documentation file. </critical_requirement>
<parallel_tasks>
Launch these subagents IN PARALLEL. Each returns text data to the orchestrator.
docs/solutions/ for related documentationdocs/solutions/ category</parallel_tasks>
<sequential_tasks>
WAIT for all Phase 1 subagents to complete before proceeding.
The orchestrating agent (main conversation) performs these steps:
mkdir -p docs/solutions/[category]/docs/solutions/[category]/[filename].md</sequential_tasks>
WAIT for Phase 2 to complete before proceeding.
<parallel_tasks>
Optionally invoke available research or design agents to review the documentation:
</parallel_tasks>
Organized documentation:
docs/solutions/[category]/[filename].mdCategories auto-detected from problem:
| ❌ Wrong | ✅ Correct |
|---|---|
Subagents write files like context-analysis.md, solution-draft.md | Subagents return text data; orchestrator writes one final file |
| Research and assembly run in parallel | Research completes → then assembly runs |
| Multiple files created during workflow | Single file: docs/solutions/[category]/[filename].md |
✓ Documentation complete
Subagent Results:
✓ Context Analyzer: Identified performance_issue in brief_system
✓ Solution Extractor: 3 code fixes
✓ Related Docs Finder: 2 related issues
✓ Prevention Strategist: Prevention strategies, test suggestions
✓ Category Classifier: `performance-issues`
Specialized Agent Reviews (Auto-Triggered):
✓ best-practices-researcher: Enriched with industry best practices
✓ framework-docs-researcher: Linked to Rails documentation references
File created:
- docs/solutions/performance-issues/n-plus-one-brief-generation.md
This documentation will be searchable for future reference when similar
issues occur in the Email Processing or Brief System modules.
What's next?
1. Continue workflow (recommended)
2. Link related documentation
3. Update other references
4. View documentation
5. Other
This creates a compounding knowledge system:
The feedback loop:
Build → Test → Find Issue → Research → Improve → Document → Validate → Deploy
↑ ↓
└──────────────────────────────────────────────────────────────────────┘
Each unit of engineering work should make subsequent units of work easier—not harder.
<auto_invoke> <trigger_phrases> - "that worked" - "it's fixed" - "working now" - "problem solved" </trigger_phrases>
<manual_override> Use /workflows:compound [context] to document immediately without waiting for auto-detection. </manual_override> </auto_invoke>
compound-docs skill
Based on problem type, these agents can enhance documentation:
/research [topic] - Deep investigation (searches docs/solutions/ for patterns)/workflows:plan - Planning workflow (references documented solutions)What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
10 commands in this plugin
/changelogCreate engaging changelogs for recent merges to main branch/deepen-planEnhance a plan with parallel research agents for each section to add depth, best practices, and implementation details/reproduce-bugReproduce and investigate a bug using logs and console inspection/resolve_parallelResolve all TODO comments using parallel processing/resolve_todo_parallelResolve all pending CLI todos using parallel processing/triageTriage and categorize findings for the CLI todo systemnpx claudepluginhub merlyn-huntress/compound-engineering-plugin-no-mcp --plugin compound-engineering-no-mcpOther plugins' commands for the same job