elixir-phoenix-document
Write `@moduledoc` and `@doc` only when the user explicitly asks.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Write `@moduledoc` and `@doc` only when the user explicitly asks.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Recommend the right `$elixir-phoenix-*` skill for the current task.
Elixir/Phoenix: Review lifecycle, state-machine, Oban, persistence, pause/resume, retry, and restart-sensitive changes before commit, push, or PR. Use for concurrency-sensitive runtime work to produce explicit blocking vs optional findings, require durability checks, and verify smoke plus restart resilience when applicable.
Capture a solved Phoenix problem as a reusable solution doc.
Audit LiveView assigns for memory bloat, dead assigns, and stream candidates.
Audit project health across architecture, security, performance, tests, and deps.
Analyze Phoenix context boundaries and coupling with `mix xref`.
| name | elixir-phoenix-document |
| description | Write `@moduledoc` and `@doc` only when the user explicitly asks. |
| metadata | {"short-description":"Generate Elixir docs on request"} |
Generate documentation for newly implemented features.
`elixir-phoenix-document` .codex/plans/magic-link-auth/plan.md
`elixir-phoenix-document` magic link authentication
`elixir-phoenix-document` # Auto-detect from recent plan
| 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 |
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."
This prevents 35-message analysis sessions that conclude "PASS" with
zero output (confirmed: session bb0a0454 wasted ~2K tokens on no-op).
@moduledoc, @doc).codex/plans/{slug}/reviews/{feature}-docs.md| 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 |
`elixir-phoenix-plan` → `elixir-phoenix-work` → `elixir-phoenix-review`
↓
`elixir-phoenix-document` ← YOU ARE HERE (optional, suggested after review passes)
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