compound

Write frontmatter-tagged markdown solution docs under docs/solutions/.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/lucasmccomb/ccgm --skill compound-lucasmccomb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compound
Source: https://github.com/lucasmccomb/ccgm/tree/main/modules/compound-knowledge/skills/compound
Command: npx skills add https://github.com/lucasmccomb/ccgm --skill compound-lucasmccomb

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Capture and formalize durable, repo-scoped learnings after non-trivial fixes or decisions so teammates and agents can discover and reuse prior knowledge without re-reading long conversations.

Core Features & Use Cases

  • Two operating modes: Full mode runs parallel research passes and overlap scoring; Lightweight mode writes directly from the current conversation for fast capture.
  • Structured output: Generates frontmatter-tagged markdown following a schema, selects category and slug, and writes or updates files under docs/solutions/.
  • Discoverability & integration: Checks or bootstraps docs/solutions/README.md and offers to add pointers to AGENTS.md or CLAUDE.md so learnings are re-injected into future planning and review runs.
  • Use Case: After shipping a tricky bug fix, run this to produce a concise solution doc that records the problem, root cause, fix, prevention steps, and related references.

Quick Start

Run /compound in Claude Code after finishing a non-trivial fix to write a solutions doc into docs/solutions/.

Frequently Asked Questions about compound

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture team learnings from a bug fix into markdown docs?

To capture team learnings from a bug fix, you can generate frontmatter-tagged markdown files within your repository's docs/solutions/ directory. This records the problem, root cause, and prevention steps for future discoverability without re-reading long conversations.

What is the best way to write a post-mortem doc that agents can discover?

Writing a post-mortem doc that agents can discover involves creating frontmatter-tagged markdown files in docs/solutions/ and adding pointers to AGENTS.md or CLAUDE.md. This re-injects codified lessons into future planning and agent-assisted review runs.

Can I write solution docs directly from my current coding conversation?

Yes, you can write solution docs directly from your current conversation using a lightweight capture mode. This allows you to quickly generate and update markdown files without running parallel research passes or overlap scoring.

Does generating solution docs check for overlapping existing knowledge?

Yes, generating solution docs in full mode performs overlap scoring against existing files in the docs/solutions/ directory. This ensures new learnings are categorized correctly and prevents duplicating previously captured knowledge.

How do I structure repository-scoped learnings for future retrospectives?

You structure repository-scoped learnings by applying a provided frontmatter schema to markdown files, selecting a category and slug, and writing them under docs/solutions/. This formalizes decisions and fixes into durable, structured knowledge.

Do I need external models to run discoverability checks on solution docs?

No, you do not need external models to run discoverability checks on solution docs. The process checks or bootstraps the docs/solutions/README.md and writes markdown files locally without invoking external models.