phx:compound

Capture solved Elixir/Phoenix problems as searchable solution documentation from session context and git diffs.

517|35|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/oliver-kriska/claude-elixir-phoenix --skill phx-compound
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phx:compound
Source: https://github.com/oliver-kriska/claude-elixir-phoenix/tree/main/plugins/elixir-phoenix/skills/compound
Command: npx skills add https://github.com/oliver-kriska/claude-elixir-phoenix --skill phx-compound

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you capture and document solutions to Elixir/Phoenix problems, turning individual fixes into searchable institutional knowledge that speeds up future debugging and development.

Core Features & Use Cases

  • Solution Documentation: Automatically captures the context, root cause, and solution for bugs and issues.
  • Knowledge Base Creation: Builds a searchable repository of solutions to prevent recurring problems.
  • Use Case: After fixing a complex N+1 query, use this Skill to document the exact steps and code changes, making it easy for any team member to find and apply the same fix if a similar issue arises.

Quick Start

Use the phx:compound skill to document the fix for the recent LiveView timeout error.

Frequently Asked Questions about phx:compound

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

FAQPage Schema
How do I document Elixir and Phoenix debugging solutions for future reference?

You can document Elixir and Phoenix debugging solutions by capturing session context, git diffs, and scratchpad entries to automatically identify the root cause and generate searchable knowledge base files.

What is the best way to build a searchable knowledge base for recurring Elixir Phoenix bugs?

Building a searchable knowledge base for recurring Elixir Phoenix bugs involves capturing solved problems as structured documentation files, validating frontmatter against a schema to ensure consistent compound knowledge creation.

Can I automatically capture context from a git diff to document a Phoenix LiveView fix?

Yes, you can automatically capture context from git diffs and session state to document Phoenix LiveView fixes, transforming code changes and scratchpad entries into validated, structured knowledge base entries.

Does this solution capture process require any specific Elixir dependencies?

No specific Elixir dependencies are required for the solution capture process, as the tool operates by analyzing existing session context, git diffs, and scratchpad data to produce structured documentation.

How do I create structured documentation from scratchpad entries after resolving an issue?

You create structured documentation from scratchpad entries by analyzing the session context and git diffs to identify the problem and solution, then validating the extracted frontmatter against a predefined schema.

When should I use automated solution documentation for Elixir debugging?

You should use automated solution documentation for Elixir debugging when you need to turn individual complex fixes, such as resolving an N+1 query, into searchable institutional knowledge to prevent recurring problems.