Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
iliaal avatar

Compound Docs

  • 82 installs
  • 31 repo stars
  • Updated August 4, 2026
  • iliaal/ai-skills

Document solved problems for team reuse: one markdown file per problem in a symptom-category directory with YAML frontmatter, built into searchable institutional knowledge.

About

The compound-docs skill captures resolved issues into a searchable knowledge base using a 7-step process and single-file-per-problem architecture. A developer uses it after debugging to write up lessons learned, post-mortems, and cross-referenced solution docs.

  • 7-step capture with frontmatter validation and cross-referencing
  • Detects critical patterns when 3+ similar issues accumulate

Compound Docs by the numbers

  • 82 all-time installs (skills.sh)
  • +7 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #683 of 1,879 Documentation skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/iliaal/ai-skills --skill compound-docs

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs82
repo stars31
Last updatedAugust 4, 2026
Repositoryiliaal/ai-skills

What it does

Document solved problems for team reuse: one markdown file per problem in a symptom-category directory with YAML frontmatter, built into searchable institutional knowledge.

Files

SKILL.mdMarkdownGitHub ↗

compound-docs

Process

Single-file architecture -- one markdown file per problem in its symptom category directory (e.g., docs/solutions/performance-issues/n-plus-one-briefs.md), with YAML frontmatter for metadata.

Follow the 7-step documentation capture process. For full details, see documentation-process.md.

1. Detect confirmation -- Auto-invoke after "that worked", "it's fixed", etc. Skip trivial fixes. 2. Gather context -- Extract module, symptom, investigation attempts, root cause, solution, prevention. BLOCK if critical context missing. 3. Check existing docs -- Search docs/solutions/ for similar issues. If found, offer: new doc with cross-reference, update existing, or other. 4. Generate filename -- Format: [sanitized-symptom]-[module]-[YYYYMMDD].md 5. Validate YAML -- Run validate-frontmatter.sh against the file. If invalid, fix the frontmatter and re-run until it passes. 6. Create documentation -- Write file to docs/solutions/[category]/[filename].md using resolution-template.md. 7. Cross-reference -- Link related issues. Detect critical patterns (3+ similar issues).

---

Decision Menu

After successful documentation, present and WAIT for user response:

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
3. Link related issues - Connect to similar problems
4. Add to existing skill - Add to a learning skill
5. Create new skill - Extract into new learning skill
6. View documentation - See what was captured
7. Other

For detailed response handling, see documentation-process.md.

---

Success Criteria

  • YAML frontmatter validated (all required fields, correct formats)
  • File created in docs/solutions/[category]/[filename].md
  • Enum values match schema exactly
  • Code examples included in solution section
  • Cross-references added if related issues found
  • User presented with decision menu and action confirmed

---

References

  • documentation-process.md - Full 7-step process with validation gates
  • yaml-schema.md - YAML frontmatter schema and enum values
  • quality-guidelines.md - Quality standards, execution rules, error handling
  • example-scenario.md - Complete walkthrough of documenting an N+1 query fix
  • resolution-template.md - Template for documentation files
  • critical-pattern-template.md - Template for critical pattern entries
  • validate-frontmatter.sh - Validate YAML frontmatter against schema

Integration

  • /ia-compound-refresh command -- reviews docs/solutions/ for stale learnings

Related skills

Documentationnotesworkflow

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.