.github_gpt/skills/compound-docs/SKILL.md
Capture solved problems as categorized documentation with YAML frontmatter for fast lookup
npx skillsauth add the-rabak/compound-engineering-plugin compound-docsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Capture non-trivial solved problems as categorized documentation in docs/solutions/ with validated YAML frontmatter so future sessions can find and reuse the solution.
/doc-fix.schema.yaml and references/yaml-schema.md.Auto-invoke after these phrases:
Manual trigger: /doc-fix
Collect:
If critical context is missing, ask and wait:
I need a few details to document this properly:
1. Which module had this issue? [ModuleName]
2. What was the exact error message or symptom?
3. What stage were you in? (0-6 or post-implementation)
[Continue after user provides details]
grep -r "exact error phrase" docs/solutions/
ls docs/solutions/[category]/
If a similar issue exists, present:
Found similar issue: docs/solutions/[path]
What's next?
1. Create new doc with cross-reference (recommended)
2. Update existing doc (only if same root cause)
3. Other
Choose (1-3): _
Format:
[sanitized-symptom]-[module]-[YYYYMMDD].md
Sanitization rules:
Examples:
missing-include-BriefSystem-20251110.mdparameter-not-saving-state-EmailProcessing-20251110.mdwebview-crash-on-resize-Assistant-20251110.mdValidate against schema.yaml and references/yaml-schema.md.
Required shape:
module: [string]
date: YYYY-MM-DD
problem_type: [from enum]
component: [from enum]
symptoms: [array, 1-5 items]
root_cause: [from enum]
severity: [critical|high|medium|low]
tags: [array]
If validation fails, block and show specific errors.
Determine the category from problem_type, then write:
PROBLEM_TYPE="[from validated YAML]"
CATEGORY="[mapped from problem_type]"
FILENAME="[generated-filename].md"
DOC_PATH="docs/solutions/${CATEGORY}/${FILENAME}"
mkdir -p "docs/solutions/${CATEGORY}"
Populate the document from assets/resolution-template.md.
If related docs exist, add links both ways.
Example cross-reference append:
echo "- See also: [$FILENAME]($REAL_FILE)" >> [similar-doc.md]
If the issue represents a common pattern with 3 or more similar cases, propose updating docs/solutions/patterns/common-solutions.md.
[OK] Solution documented
File created:
- docs/solutions/[category]/[filename].md
What's next?
1. Continue workflow (recommended)
2. Add to Required Reading - Promote to critical patterns (critical-patterns.md)
3. Link related issues - Connect to similar problems
4. Add to existing skill - Add to a learning skill (e.g., compound-docs)
5. Create new skill - Extract into new learning skill
6. View documentation - See what was captured
7. Other
schema.yamltools
Package one plan execution packet into a compact ticket-local execution packet with parent refs, scope fences, feature-home ownership, and evidence commands. Use when converting plans into local tickets or when execution needs one ticket-sized context pack without the full plan.
tools
Package one plan execution packet into a compact ticket-local execution packet with parent refs, scope fences, feature-home ownership, and evidence commands. Use when converting plans into local tickets or when execution needs one ticket-sized context pack without the full plan.
testing
Run a deep adversarial review of plans and architecture before implementation. Use when validating strategy docs, contracts, roadmaps, and competitive positioning with scored findings and prioritized recommendations.
testing
Run a deep adversarial review of plans and architecture before implementation. Use when validating strategy docs, contracts, roadmaps, and competitive positioning with scored findings and prioritized recommendations.