From elixir-phoenix
Captures verified solutions to bugs and issues as searchable Markdown docs in .claude/solutions/. Triggers after fixes, 'that worked', or /phx:review; searches duplicates first.
How this skill is triggered — by the user, by Claude, or both
Slash command
/elixir-phoenix:compoundThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
After fixing a problem, capture the solution as searchable
After fixing a problem, capture the solution as searchable institutional documentation.
/phx:compound Fixed N+1 query in user listing
/phx:compound Resolved LiveView timeout in dashboard
/phx:compound # Auto-detects from recent session context
Each unit of engineering work should make subsequent units easier — not harder.
$ARGUMENTS provided, use as descriptiongit diff, .claude/plans/{slug}/progress.md for recent completionsOnly document non-trivial problems that required investigation.
Create .claude/solutions/ directory if it doesn't exist (run mkdir -p .claude/solutions).
Then search .claude/solutions/ for relevant keywords using Grep.
If found: Create new (different root cause), Update existing (same root cause, new symptom), or Skip.
Extract from session context: module, symptoms, investigation steps, root cause, solution code, and prevention advice.
Validate frontmatter against compound-docs/references/schema.md,
then create file using compound-docs/references/resolution-template.md.
When user says "that worked", "it's fixed", "problem solved",
"the fix was" — suggest /phx:compound.
mix compile && mix test first; unverified solutions poison the knowledge base/phx:review → Complete → /phx:compound ← YOU ARE HERE
│
.claude/solutions/{category}/{fix}.md
│
/phx:investigate and /phx:plan search here
${CLAUDE_SKILL_DIR}/references/compound-workflow.md — Detailed step-by-stepcompound-docs skill for schema and templatesnpx claudepluginhub oliver-kriska/claude-elixir-phoenix --plugin elixir-phoenixCaptures 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.
Coordinates subagents to document recently solved problems into searchable YAML-frontmatter Markdown files in docs/solutions/ while context is fresh.
Capture knowledge — solutions, context docs, learnings, and principles. Use after fixing non-trivial bugs, creating context for AI, or discovering patterns worth preserving. Triggers: compound, document solution, capture fix, save solution, knowledge compound, document this, save this fix, context, create context, update context, build context, learn, save learning, remember this.