compound

Capture bug-fix solutions and patterns into structured knowledge documents.

18|3|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/ondrej-svec/heart-of-gold-toolkit --skill compound-ondrej-svec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compound
Source: https://github.com/ondrej-svec/heart-of-gold-toolkit/tree/main/plugins/marvin/skills/compound
Command: npx skills add https://github.com/ondrej-svec/heart-of-gold-toolkit --skill compound-ondrej-svec

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Capture knowledge — solutions, context docs, learnings, and principles. Use after fixing non-trivial bugs, creating context for AI, or discovering patterns worth preserving.

Core Features & Use Cases

  • Capture and organize solutions, context docs, and learnings into structured documents.
  • Update CLAUDE.md or create knowledge files to surface the information in future sessions.
  • Phase-based guidance: detect what to capture, check for duplicates, extract knowledge, write outputs, and validate results.

Quick Start

Invoke the compound workflow after completing a meaningful fix to create a structured knowledge artifact.

Frequently Asked Questions about compound

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

FAQPage Schema
How do I capture knowledge after fixing a non-trivial bug?

To capture knowledge after fixing a bug, you should create structured solution docs and learning notes. This preserves context and prevents knowledge drift by documenting the specific patterns and solutions discovered during the debugging process.

What is the best way to prevent knowledge drift in development workflows?

Preventing knowledge drift requires capturing context records and learning notes in structured documents. Enforcing a frontmatter-driven structure and storing outputs under dedicated directories ensures information remains accessible and organized for future reference.

How do I create context records for AI to use in future sessions?

Creating context records for AI involves updating CLAUDE.md or generating dedicated knowledge files. This surfaces the preserved information and solutions in future sessions, maintaining continuity across interactions.

How do I structure learning notes to surface patterns and solutions?

Structuring learning notes requires applying a frontmatter-driven format and storing outputs under docs/solutions, knowledge, or memory directories. This enforces consistency and makes patterns easily discoverable.

When should I document solutions and context in my workflow?

You should document solutions and context after completing a meaningful fix, creating context for AI, or discovering patterns worth preserving. This phase-based approach ensures knowledge is captured exactly when it provides the most value.

Does this knowledge capture workflow check for duplicate documentation?

Yes, the knowledge capture workflow includes a phase to check for duplicates before extracting knowledge and writing outputs. This validation step prevents redundant documentation and maintains the integrity of your knowledge base.