In short.
Document is an AI assistant skill for Elixir and Phoenix developers that guides documentation for tested features, but its shortcut can skip documentation needs in existing modules. It specifies module and function documentation, README updates, architectural decision records and a per-feature documentation report. The templates offer useful structure, while the instructions leave test verification unspecified. The skill was not run, so generated-document accuracy and host compatibility are not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete supplied plugins/elixir-phoenix/skills/document folder: SKILL.md and references/doc-best-practices.md, doc-templates.md, documentation-patterns.md and output-format.md, plus the root LICENSE as the related licence notice. All belong to source revision 4621ae486f3ef3270cc5871685c9b13735ad5e60. The broader plugin, other skills, installation implementation and repository history are outside this scope. The skill was not run; generated documentation, test verification, command registration and host compatibility remain unassessed.
The overview
Identity
Document is the skill at plugins/elixir-phoenix/skills/document in Oliver Kriska's claude-elixir-phoenix repository. Its documented entry point is /phx:document, accepting a feature name or plan-file path. It is assistant instruction material with supporting templates, rather than a standalone documentation generator.
The original resource location is [https://github.com/oliver-kriska/claude-elixir-phoenix/tree/main/plugins/elixir-phoenix/skills/document]. This report concerns commit 4621ae486f3ef3270cc5871685c9b13735ad5e60.
Assessment
The skill offers a concrete starting point for documenting a recently completed feature. Its strongest material is the combination of Elixir-specific templates, instructions to preserve existing documentation, and guidance to explain architectural decisions.
Its completeness is less convincing: the workflow explicitly skips a full documentation pass when only existing modules change. Such changes can introduce public functions or alter contracts, so this shortcut can miss useful work. Output quality, time savings and reliable enforcement of its rules remain unassessed.
Users
The intended users are Elixir and Phoenix developers documenting implemented features. Beginners get examples of module descriptions, function contracts and usage examples. Experienced developers get patterns for contexts, schemas, LiveViews, GenServers and Oban workers.
The skill assumes familiarity with the target code and its tests. It explicitly excludes documentation lookup and audits, so it is a poor fit for someone seeking framework reference answers or a comprehensive documentation inventory.
Capabilities
The instructions cover @moduledoc, Elixir's module-level documentation, and @doc for public functions. They call for parameters, return values, edge cases and examples, with @spec type declarations paired with function documentation.
Additional outputs include README sections for user-facing features and architectural decision records, or ADRs, explaining significant design choices. The reporting template lists documented modules and functions, README changes and ADRs. These are specified outputs; no completed output from an actual application is supplied.
Using it
Requirements
The instructions imply an assistant environment that can load the skill and its references, inspect project files and write documentation. The documented preliminary check uses Git, grep and head, and assumes the repository has a HEAD~5 revision.
The skill requires tested code before adding @doc, but it does not specify how passing tests are established. Supported assistant versions, minimum Elixir or Phoenix versions, model requirements and installation dependencies are unknown from these files.
Mechanism
The assistant is instructed to identify new modules from recent changes or a plan, inspect documentation coverage, draft missing material, add relevant README and ADR content, and write a report under .claude/plans/{slug}/reviews/{feature}-docs.md.
Its preliminary command is git diff --name-only HEAD~5 | grep '\.ex$' | head -20. This lists at most 20 changed Elixir file paths; it does not distinguish additions from modifications. The surrounding instruction nevertheless asks the assistant to decide whether new files were added, leaving that distinction unresolved by the command alone.
Setup
The supplied folder contains SKILL.md and four reference files. SKILL.md links to those references through ${CLAUDE_SKILL_DIR}, so preserving the relative references directory matters when loading the resource.
Once the host exposes its command, the documented invocation accepts a plan path or a feature name. With no argument, it says it will infer a recent plan. Plugin installation, command registration and verification of a working host setup are not documented within this folder.
Example
A documented invocation is /phx:document .claude/plans/magic-link-auth/plan.md. For an already tested authentication feature, the intended result could include documentation for an authentication context and token functions, a README section, and an ADR explaining the authentication approach.
The references illustrate function parameters, tagged success and error returns, and interactive Elixir examples. Their token lifetimes, security descriptions and return values are sample content, not verified properties of a user's implementation. This invocation was not executed.
Assessment & evidence
Limitations
The recent-change shortcut can miss documentation needs in modified modules, and its command truncates the file list to 20 entries. Although the rules prohibit adding @doc to untested code, the listed steps provide no concrete procedure for verifying test results or matching tests to documented behavior.
The templates contain implementation-specific assertions about authentication, defaults and retry safety that require checking against real code. One ADR template also starts with Accepted status, which should reflect an actual decision rather than be copied automatically. Generated accuracy, test enforcement and compatibility were not assessed.
Reasoning
The resource's practical value comes from making documentation expectations explicit: preserve existing explanations, describe public contracts, include examples and record why architectural choices were made. The specialized patterns can help an assistant avoid producing the same generic description for every module.
That structure supports a focused documentation pass, but it does not establish completeness. The no-new-modules shortcut is particularly weak because documentation needs depend on changed behavior and public APIs, not solely on whether a module was added.
Alternatives
For a small change, a developer could use the included templates manually to write module documentation, function documentation or an ADR without invoking the assistant workflow. This retains the resource's structure while making the developer responsible for identifying coverage.
Documentation lookup and comprehensive audits need a different approach because the skill explicitly excludes them. The supplied evidence contains no comparison with named competing tools, so relative accuracy, speed and cost are unknown.
Evidence
The source snapshot contains the skill entry point, documentation best practices, basic templates, detailed documentation patterns, an output-report template and the repository's MIT licence. The pinned entry point is [https://raw.githubusercontent.com/oliver-kriska/claude-elixir-phoenix/4621ae486f3ef3270cc5871685c9b13735ad5e60/plugins/elixir-phoenix/skills/document/SKILL.md].
These files establish the intended behavior and example structures. They do not include execution receipts, real generated documentation, measured outcomes or compatibility results. Template checkboxes describe the requested report format; they are not proof that documentation work has been completed.
Access & freshness
Costs
The MIT licence grants permission to use the supplied material free of charge. The files provide no assistant subscription price, API rate, token budget or measured execution cost. Total operating cost is unknown and cannot be inferred from the licence or the skill's low-effort metadata.
Rights
The repository's MIT notice names Oliver Kriska as copyright holder for 2025–2026. It permits use, modification, redistribution, sublicensing and sale, provided the copyright and permission notice accompany copies or substantial portions. It also disclaims warranties and liability.
The original notice is available at [https://raw.githubusercontent.com/oliver-kriska/claude-elixir-phoenix/4621ae486f3ef3270cc5871685c9b13735ad5e60/LICENSE]. This permission covers the supplied resource material; it does not establish rights in application code or other material later supplied to an assistant.
Freshness
The supplied snapshot was captured on 17 November 2026 at 11:43:31.528 UTC and identifies commit 4621ae486f3ef3270cc5871685c9b13735ad5e60. Findings apply to that revision; subsequent changes to the main branch are unknown.
The selected files give no release number or supported assistant, Elixir or Phoenix version range. Compatibility with a particular current installation remains unassessed.
Actions
For an initial use, choose one feature with established test results and pass its plan explicitly. Confirm the host's installation requirements separately, since this folder does not provide them.
Include changed public functions in existing modules rather than relying solely on the recent-change shortcut. Check proposed documentation against implementation and tests, replace sample-specific claims, and confirm an ADR's actual status before retaining it.
