cc-changelog
CONTRIBUTOR TOOL - Track CC changelog, extract new versions since last check, analyze impact on plugin (breaking changes, opportunities, deprecations). Run…
Review code with parallel agents — tests, security, Ecto, LiveView, Oban. Use after implementation to catch bugs and anti-patterns before committing.
$ npx -y skills add oliver-kriska/claude-elixir-phoenix --skill review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Review code with parallel agents — tests, security, Ecto, LiveView, Oban. Use after implementation to catch bugs and anti-patterns before committing.
name: review description: Review code with parallel agents — tests, security, Ecto, LiveView, Oban. Use after implementation to catch bugs and anti-patterns before committing. effort: high argument-hint: "[test|security|oban|deploy|iron-laws|all]"
Review code by spawning parallel specialist agents. Find and explain issues — do NOT create tasks or fix anything.
/phx:review # Auto-detects task ID from branch/commits /phx:review test # Review test files only /phx:review security # Run security audit only /phx:review oban # Review Oban workers only /phx:review deploy # Validate deployment config /phx:review iron-laws # Check Iron Law violations only /phx:review ENA-8931 # Force Linear issue /phx:review #42 # Force GitHub issue /phx:review .claude/plans/auth/plan.md # Force plan / spec file /phx:review --no-requirements # Skip requirements coverage check /phx:review --codex # Add Codex CLI as cross-model reviewer
`$ARGUMENTS` = Focus area, task ID, or path to plan/spec file.
When no requirements argument is passed, the skill auto-detects a task ID from the branch and recent commits (see `${CLAUDE_SKILL_DIR}/references/requirements-detection.md`).
**CRITICAL**: Create output dirs BEFORE spawning agents — agents cannot create directories and writes will fail.
1. Determine SLUG via Glob on `.claude/plans/*/` (default: `"review"`) 2. Run `mkdir -p ".claude/plans/${SLUG}/reviews" ".claude/plans/${SLUG}/summaries" .claude/reviews` 3. Run `git diff --name-only HEAD~5` and `git diff --name-only main` 4. Save the diff base for pre-existing detection in Step 3b
consolidated summary as "PRIOR FINDINGS" with: "Focus on NEW issues. Mark still-present issues as PERSISTENT."
Find a task/spec whose requirements should be cross-checked against the diff. Priority order (stop at first match): explicit arg → conversation context → branch regex → commit subjects → latest plan → none. Full table, regexes, and fetch mapping in `${CLAUDE_SKILL_DIR}/references/requirements-detection.md`.
Fetch the detected source into `.claude/plans/${SLUG}/reviews/.requirements-input.md` (Linear via `mcp__linear__get_issue`, GitHub via `gh issue view`, file via Read). Record `REQ_SOURCE` label (e.g. `"Linear ENA-8931"`) for the verifier heading. On fetch failure, set `SOURCE_STATUS=FETCH_FAILED` and continue — verifier will emit `NOT AVAILABLE` rather than block the review.
**NEVER** spawn the same agent role twice per review. One pass per role. **NEVER** analyze code yourself — use the Agent tool only. Zero agents = failure.
1. Create a Claude Code task per agent via `TaskCreate` and `TaskUpdate` to `in_progress` 2. For `/phx:review` or `/phx:review all`: select agents dynamically per the selection table in `${CLAUDE_SKILL_DIR}/references/agent-spawning.md` 3. For focused reviews (`test|security|oban|deploy|iron-laws`): spawn only the matching specialist from the focused mode table in the same reference 4. **If Step 1c succeeded** (REQ_SOURCE non-empty and `--no-requirements` not passed): add `phx:requirements-verifier` to the same parallel batch. Pass these prompt inputs: `REQUIREMENTS_TEXT` (content of `.requirements-input.md`), `REQUIREMENTS_SOURCE` (REQ_SOURCE label), `DIFF_FILES` (git diff --name-only output), `SOURCE_STATUS` (only if FETCH_FAILED), `output_file: .claude/plans/{slug}/reviews/requirements.md` 5. Spawn in ONE message with `run_in_background: true`. Do not pass the deprecated Agent `mode` parameter; Claude Code 2.1.212+ ignores it and subagents inherit the parent session's permission mode 6. **MANDATORY**: pass explicit `output_file` per-agent (mapping in the reference) 7. Include the CRITICAL prompt block: write by turn ~12, chat body ≤300 words 8. Scope every agent to the diff: pass `git diff --name-only` output with "Focus on NEW code. Pre-existing: one-line `{file}:{line} — {brief}`. Do NOT deep-analyze unchanged files." 9. **With `--codex`**: add `phx:codex-reviewer` to the same batch (prompt template in agent-spawning.md). Missing CLI degrades to SKIPPED.
Wait for ALL agents to complete. **Do NOT report status until every agent completes.** Mark each task `completed` via `TaskUpdate` as it finishes.
**Missing file fallback** — after each agent finishes, verify its expected `output_file` exists. If missing (turn exhaustion, error):
1. Append to `.claude/plans/{slug}/scratchpad.md`: `[HH:MM] WARN: {agent} did not write {expected_path} — extracting from message` 2. Parse findings from the agent's return message as fallback 3. Mark the section in the final review with `⚠️ EXTRACTED FROM AGENT MESSAGE (see scratchpad)` — never silent
**Verification-runner fallback** — if it times out, run directly: `mix compile --warnings-as-errors && mix format --check-formatted $(git diff --name-only HEAD~5 | grep '\.exs\?$' | tr '\n' ' ') && mix credo --strict && mix test`
**Context supervision** — for 4+ agents, spawn `phx:context-supervisor`:
Prompt: "Compress review agent output.
input_dir: .claude/plans/{slug}/reviews
output_dir: .claude/plans/{slug}/summaries
output_file: review-consolidated.md
priority_instructions: BLOCKERs and WARNINGs: KEEP ALL.
SUGGESTIONs: COMPRESS similar onDocs: phxagents.dev -- install guides per runtime, the runtime compatibility matrix, all 26 Iron Laws, and a browsable skill and agent catalog. Claude Code is great.
Repo: oliver-kriska/claude-elixir-phoenix
CONTRIBUTOR TOOL - Track CC changelog, extract new versions since last check, analyze impact on plugin (breaking changes, opportunities, deprecations). Run…
Run an A/B codex review experiment — holistic codex review vs 3 focused dimension passes (security, ecto, liveview) on the branch diff, classify findings,…
CONTRIBUTOR TOOL - Validate plugin against latest Claude Code documentation. Catches breaking changes, deprecations, discovers new features. Run before…
Guide plugin development workflow — editing skills, agents, hooks, or eval framework in this repo. Use when modifying files in plugins/elixir-phoenix/,…
Generate X/Twitter release promotion posts with ASCII tables and CodeSnap rendering. Use when writing release posts, promotion tweets, plugin announcements, or…
CONTRIBUTOR TOOL - Cut a plugin release: bump plugin.json version, finalize CHANGELOG, update README if needed, gate on make ci, commit, tag vX.Y.Z, and create…