phx-document
'Use when asked to document Elixir code: add or fill in @moduledoc and
Install / Use
npx skills add oliver-kriska/claude-elixir-phoenix --skill phx-documentInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Content & MediaSupported Platforms
Our assessment of phx-document
phx-document scores 82/100 on our quality scale, 953rd of 1,143 Content & Media skills we index.
Its SKILL.md is 2.9 KB long, well organised into 9 sections with 2 code examples: a solid amount of guidance for an agent.
It has 574 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated 13 days ago, so phx-document is actively maintained.
- Our last check on 2026-10-16 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit โ read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-06. Automated pattern scan on 2026-10-06. It catches known dangerous patterns, not every risk โ read a skill before letting an agent act on it.
phx-document compared with similar skills
All 4 of these similar skills score higher than phx-document; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| phx-document (this skill)by oliver-kriska | 82 | 574 | 13d ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 118.9k | 11d ago | CLAUDE.md |
| Claude-Code-Game-Studiosby Donchitos | 100 | 40.2k | 10d ago | CLAUDE.md |
| siyuanby siyuan-note | 100 | 47.3k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 58d ago | SKILL.md |
Frequently asked questions
- How do I install phx-document?
- Run
npx skills add oliver-kriska/claude-elixir-phoenix --skill phx-document. The install tabs above show the steps for each supported agent. - Which AI agents does phx-document work with?
- It is written for Claude Code, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is phx-document safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is phx-document still maintained?
- The repository was last updated 13 days ago, so phx-document is actively maintained.
Skill content
View source on GitHubname: phx-document description: 'Use when asked to document Elixir code: add or fill in @moduledoc and @doc for modules and functions. Documents tested code only; may add a README section or ADR. Not for docs lookup or audits.'
Document
Generate documentation for newly implemented features.
Usage
phx-document .claude/plans/magic-link-auth/plan.md
phx-document magic link authentication
phx-document # Auto-detect from recent plan
Iron Laws
- Never remove existing documentation โ Existing docs may reflect design intent that isn't obvious from code alone; update rather than replace
- @moduledoc on every public module โ Undocumented modules accumulate quickly and create onboarding friction for new team members
- ADRs capture the "why", not the "what" โ Code shows what was built; ADRs explain why this approach was chosen over alternatives
- Match @doc to function's public API โ Document parameters, return values, and edge cases; callers shouldn't need to read the implementation
- DO NOT add @doc to untested code โ documentation implies a stable contract; document only after tests confirm the function behaves as described
What Gets Documented
| Output | Description |
|--------|-------------|
| @moduledoc | For new modules missing documentation |
| @doc | For public functions without docs |
| README section | For user-facing features |
| ADR | For significant architectural decisions |
Workflow
Step 0: Pre-check (avoid no-op runs)
Run git diff --name-only HEAD~5 | grep '\.ex$' | head -20 to check for new .ex files.
If no new .ex files were added (only modifications), skip the full
audit and report: "No new modules โ documentation coverage unchanged."
A full audit of unchanged coverage produces nothing to add.
- Identify new modules from recent commits or plan file
- Check documentation coverage (
@moduledoc,@doc) - Generate missing docs using templates
- Add README section if user-facing feature
- Create ADR if architectural decision was made
- Write report to
.claude/plans/{slug}/reviews/{feature}-docs.md
When to Generate ADRs
| Trigger | Create ADR | |---------|-----------| | New external dependency | Yes | | New database table | Maybe (if schema non-obvious) | | New OTP process | Yes (explain why process needed) | | New context | Maybe (if boundaries non-obvious) | | New auth mechanism | Yes | | Performance optimization | Yes |
Integration with Workflow
phx-plan โ phx-work โ phx-review
โ
phx-document โ YOU ARE HERE (optional, suggested after review passes)
References
references/doc-templates.mdโ @moduledoc, @doc, README, ADR templatesreferences/output-format.mdโ Documentation report formatreferences/doc-best-practices.mdโ Elixir documentation best practicesreferences/documentation-patterns.mdโ Detailed documentation patterns
Related Skills
taste-skill
118.9kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Claude-Code-Game-Studios
40.2kTurn Claude Code into a full game dev studio โ 49 AI agents, 75 workflow skills, and a complete coordination system mirroring real studio hierarchy.
siyuan
47.3kAn open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together ๅผๆบใ้็งไผๅ ใ่ชๆ็ฎก็็ฅ่ฏๅทฅไฝ็ฉบ้ด๏ผ่ฎฉไบบไธๆบ่ฝไฝๅจๆญคๅไฝ
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit โ see the Safety scan above for what the skill file itself contains.
