Memory

Compound docs

Try it

Capture solved problems for team reuse.

What it does

Single-file architecture -- one markdown file per problem in its symptom category directory (e.g., ), with YAML frontmatter for metadata.

The skill document

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

  • Stale-learning review (/ia-compound-refresh in Claude Code) -- reviews docs/solutions/ for entries that have aged out

Related skills

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván1 installs

Read and write Excel workbooks, worksheets, ranges, tables, and charts in OneDrive through Microsoft Graph with managed OAuth.

by byungkyu800 installs42 stars

Run Git operations — commits, branches, merges, rebases, conflict resolution, and recovery — with safety rules enforced.

by Iván532 installs31 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván1 installs

More from iliaal

Browse all skills

Laravel and PHP 8.4 framework-level guidance covering architecture, Eloquent, migrations, queues, and testing, grounded in real failure modes.

by iliaal40 installs

Diagnoses software bugs through a 7-step process anchored to a failing reproduction before any fix.

by iliaal36 installs

Run spec-first code reviews with severity-ranked findings and an optional multi-agent deep mode.

by iliaal35 installs

Get an approved design document before writing a single line of code.

by iliaal33 installs

Write tests that verify real behavior—not mocks—with named scenarios, edge cases, and silent-failure coverage.

by iliaal33 installs

Tailwind CSS v4 patterns: CSS-first config, @theme tokens, component variants, and v3 migration fixes.

by iliaal31 installs