Help us improve
Share bugs, ideas, or general feedback.
From core
This skill should be used when a problem has been solved and needs to be captured as categorized documentation with YAML frontmatter for searchable institutional knowledge.
npx claudepluginhub rbozydar/rbw-claude-code --plugin coreHow this skill is triggered — by the user, by Claude, or both
Slash command
/core:compound-docsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Automatically document solved problems to build searchable institutional knowledge with category-based organization and enum-validated problem types.
Captures verified solutions to non-trivial problems as categorized markdown files with YAML frontmatter in symptom directories for grep-searchable knowledge base. Auto-triggers on phrases like 'that worked' or /doc-fix command.
Captures verified solutions to non-obvious coding problems as categorized Markdown files with YAML frontmatter in .agents/lessons for fast lookup. Auto-triggers on phrases like 'it's fixed'; manual /report-fix.
Coordinates subagents to document recently solved problems into searchable YAML-frontmatter Markdown files in docs/solutions/ while context is fresh.
Share bugs, ideas, or general feedback.
Automatically document solved problems to build searchable institutional knowledge with category-based organization and enum-validated problem types.
This skill captures problem solutions immediately after confirmation, creating structured documentation that serves as a searchable knowledge base for future sessions.
Organization: Single-file architecture -- each problem documented as one markdown file in its symptom category directory (e.g., docs/solutions/performance-issues/n-plus-one-briefs.md). Files use YAML frontmatter for metadata and searchability.
Auto-invoke after phrases like "that worked", "it's fixed", "working now", "problem solved", "that did it". Also invocable via /doc-fix command.
Non-trivial problems only -- document when multiple investigation attempts were needed, debugging was tricky, the solution was non-obvious, or future sessions would benefit. Skip simple typos, obvious syntax errors, and trivial fixes.
Extract from conversation history:
Blocking requirement: If critical context is missing (module name, exact error, stage, or resolution steps), request the missing details and wait for a response before proceeding.
Search docs/solutions/ for similar issues by error message keywords and symptom category.
If a similar issue is found: Present options -- create new doc with cross-reference (recommended), update existing doc (only if same root cause), or other. Wait for user response.
If no similar issue found: Proceed directly to Step 4.
Format: [sanitized-symptom]-[module]-[YYYYMMDD].md
Sanitization: lowercase, replace spaces with hyphens, remove special characters except hyphens, truncate to < 80 chars.
All docs require validated YAML frontmatter. Load references/schema.yaml and classify the problem against the enum values defined in yaml-schema.md. Ensure all required fields are present and match allowed values exactly.
Block if validation fails -- show specific errors, present retry with corrected values, do not proceed until valid.
Determine category from problem_type using the category mapping in yaml-schema.md.
Create the documentation file using the template from assets/resolution-template.md, populated with context from Step 2 and validated YAML frontmatter from Step 5.
mkdir -p "docs/solutions/${CATEGORY}"
# Write documentation to docs/solutions/${CATEGORY}/${FILENAME}
If similar issues were found in Step 3, add cross-references to both documents.
If this represents a common pattern (3+ similar issues), add an entry to docs/solutions/patterns/common-solutions.md.
Critical pattern detection: If the issue has severity critical, affects multiple modules or foundational stages, and has a non-obvious solution, suggest adding to Required Reading in the decision menu. Do not auto-promote -- the user decides.
When the user selects "Add to Required Reading", use the template from assets/critical-pattern-template.md to structure the pattern entry.
After successful documentation, present options and wait for user response:
/compound command, manual invocation, or auto-detection of confirmation phrasesdocs/solutions/[category]/[filename].md