In short.
Compound is an assistant skill for Elixir/Phoenix developers who want reusable debugging notes, but its required schema and template live outside the skill folder. It describes how to collect context from a development session, avoid duplicate records and connect related solutions. It requires verification before documenting a fix, although enforcement, generated output quality and any time savings have not been assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes both files in plugins/elixir-phoenix/skills/compound: SKILL.md and references/compound-workflow.md, plus the repository-root LICENSE notice, all at revision 4621ae486f3ef3270cc5871685c9b13735ad5e60. The companion compound-docs schema and template, other skills, plugin installation files and host implementation are outside this scope. No commands were executed. Runtime behavior, validation enforcement, generated output quality, compatibility and claimed productivity benefits were not tested.
The overview
What it is
Compound is the skill named compound in oliver-kriska/claude-elixir-phoenix, under plugins/elixir-phoenix/skills/compound. It provides instructions for an assistant through SKILL.md and a detailed workflow reference.
The documented entry point is /phx:compound with an optional description of the solved problem. Its output is a project solution document rather than a change to application behavior.
When it fits
The skill is a plausible fit for teams that repeatedly investigate related Elixir/Phoenix problems and already keep development context in .claude/. Its useful design choices are documenting the underlying cause, searching existing solutions and recording prevention advice.
Adopting this folder alone leaves gaps: the required schema and resolution template belong to the companion compound-docs skill. The documentation supports understanding the intended workflow, but does not establish how reliably an assistant follows it.
Who it is for
The examples target developers working with Elixir, Phoenix LiveView and Ecto queries. Teams maintaining scratchpads, plans and progress records can supply more of the context the skill expects.
Beginners get a structure for explaining symptoms and causes, but still need help distinguishing a confirmed root cause from a guess. Experienced developers may find the duplicate rules and cross-references useful for maintaining a growing troubleshooting collection.
What it describes
The workflow can start from a supplied description or gather context from scratchpad entries, recent Git changes and progress files. It filters out trivial changes, searches existing solutions, and chooses whether to create, update or skip a record.
Records describe the module, symptoms, investigation, root cause, solution and prevention. The detailed workflow also adds related-solution links and suggests promoting recurring or critical lessons into broader guidance.
An optional integration proposes documenting confirmed malicious-dependency findings from /phx:deps-audit, including the triggering rule, snippet and diff context. That integration explicitly requires user acceptance before writing the finding.
Using it
What it needs
The instructions assume an assistant environment that loads the skill, resolves CLAUDE_PLUGIN_ROOT and CLAUDE_SKILL_DIR, reads project files, searches text and can write solution documents. Context detection also uses Git and shell commands.
Required companion files are compound-docs/references/schema.md and compound-docs/references/resolution-template.md. Neither is included in this skill folder. The instructions require mix compile && mix test before documenting a fix, so the intended project must support those checks.
Supported assistant, Elixir, Phoenix and operating-system versions are not specified in the supplied files.
How it works
Compound turns session context into a structured Markdown record. It searches .claude/solutions/ by relevant terms and module information before writing to a category subdirectory.
The detailed duplicate rule updates an existing record for the same root cause in the same module. The same cause in another module gets a separate, cross-referenced record; a different cause gets a new record.
It directs the assistant to validate YAML metadata against the external schema. The workflow says severity is the only strict enumeration and allows descriptive labels elsewhere, but the complete validation requirements cannot be established without that schema.
Getting ready
The supplied files do not provide plugin installation instructions. In an existing compatible setup, confirm that the skill and its workflow reference load and that the companion schema and template resolve before relying on document validation.
The workflow creates .claude/solutions/ when needed. If writing is denied, it directs the assistant to present the complete document inline for copying and suggest /phx:permissions. Whether that recovery command is available is not established by this folder.
Example use
The detailed workflow gives this invocation: /phx:compound Fixed N+1 query in UserListLive — was missing preload on posts.
The intended process identifies UserListLive as the module and the missing preload as the stated cause, searches for related records, and prepares a solution document after verification. Its filename pattern is {sanitized-symptom}-{module}-{YYYYMMDD}.md inside a category directory.
This is a documented example. No application fix, command execution or generated solution document was tested.
Assessment & evidence
Limits and unknowns
These files describe assistant behavior; they do not demonstrate execution or enforcement. The instruction to verify fixes does not establish that an assistant will run the checks, interpret failures correctly or identify the true root cause.
Keyword and module searches may miss related notes written with different terminology. That is an inferred limitation of the documented retrieval method, not an observed failure.
The referenced schema, template and other plugin commands are outside the supplied scope. Standalone usability, integration compatibility and generated-document accuracy remain unassessed.
Why the approach may help
Recording a specific symptom alongside its cause, correction and prevention advice gives a future developer more context than a short statement that a bug was fixed. Searching first and linking related records could make that knowledge easier to reuse.
These are expected benefits of the design, not measured outcomes. The detailed workflow suggests proactive prevention becomes possible after 10–20 solutions, but supplies no benchmark or supporting study for that threshold.
Nearby alternatives
The workflow describes /phx:learn-from-fix as capturing quick patterns in common-mistakes.md, while /phx:compound records detailed solutions with context. That makes the former a documented option for shorter lessons, although its implementation is not supplied.
A manually maintained troubleshooting document is another possible approach when automation is unnecessary. The author would handle duplicate checks and related links. No comparative evidence establishes which approach saves more time.
Source evidence
The primary instructions are SKILL.md at [https://raw.githubusercontent.com/oliver-kriska/claude-elixir-phoenix/4621ae486f3ef3270cc5871685c9b13735ad5e60/plugins/elixir-phoenix/skills/compound/SKILL.md].
The detailed reference is compound-workflow.md at [https://raw.githubusercontent.com/oliver-kriska/claude-elixir-phoenix/4621ae486f3ef3270cc5871685c9b13735ad5e60/plugins/elixir-phoenix/skills/compound/references/compound-workflow.md].
The licence notice is at [https://raw.githubusercontent.com/oliver-kriska/claude-elixir-phoenix/4621ae486f3ef3270cc5871685c9b13735ad5e60/LICENSE]. These sources establish the documented instructions and permissions, not successful runtime behavior.
Access & freshness
Costs
The MIT licence grants permission to use the software and associated documentation without a licence charge. Assistant subscriptions, model or API usage, and total operating cost are not specified and remain unknown.
The skill declares effort: low in its metadata. This does not establish a price, token budget or measured runtime.
Use and redistribution
The repository licence is MIT, with copyright attributed to Oliver Kriska for 2025–2026. It permits use, copying, modification, publication, distribution, sublicensing and sale of the software and associated documentation.
Copies or substantial portions must retain the copyright and permission notices. The material is provided without warranty, and the licence disclaims liability.
Version and date
The sources were captured on 17 November 2026 at repository revision 4621ae486f3ef3270cc5871685c9b13735ad5e60. The findings apply to that snapshot.
The supplied files do not establish a release number or their last modification dates. Later changes and compatibility with current host versions are unknown; the licence's copyright years do not establish update history.
Suggested next steps
Confirm the host setup and obtain the referenced compound-docs schema and template. Read those files to establish the actual required metadata before treating this folder as ready to use.
For an initial use, choose one non-trivial fix with a known cause, complete the documented compile and test checks, then invoke /phx:compound with a specific description. Review the resulting symptoms, cause, solution and related links against the actual fix before retaining the note.
If the main need is brief pattern capture, consider the documented /phx:learn-from-fix alternative before adopting a detailed solution collection.
