mcpbeat Sign in

Phx Review Skill for Claude

Review changed Elixir/Phoenix code read-only. Check requirements, cite evidence, deduplicate findings, and return a severity-based verdict.

4k tokens
context cost
the whole folder, loaded on every use
7
files
instructions only
0
copies elsewhere
how many repositories repackaged it
514
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/oliver-kriska/claude-elixir-phoenix --skill phx-review

What comes with it

13 511 bytes besides the instruction
references/agent-spawning.md
references/blocker-handling.md
references/conventions.md
references/example-review.md
references/requirements-detection.md
references/review-template.md

What it tells the agent to use

found in the instruction text
Task spawns other agents

The instruction itself

10 sections, as written by the author

Review Elixir/Phoenix Code

Perform an evidence-based, read-only review of changed code. Find and explain

issues; do not edit files, create tasks, or fix findings.

Usage

/phx-review
/phx-review test
/phx-review security
/phx-review .claude/plans/auth/plan.md
/phx-review --no-requirements

Treat the text after the skill name as a focus area, issue identifier, or path to

a plan/specification.

Iron Laws

  • Review is read-only — inspect and report; never modify the worktree.
  • Scope to changed code — distinguish new defects from pre-existing issues.
  • Every finding needs evidence — cite a path and line, explain impact, and

describe the concrete failure mode.

  • Check requirements when available — unmet requirements affect the verdict.
  • Deduplicate and prioritize — one root cause is one finding, with the

highest justified severity.

  • Do not require custom agents, hooks, MCP, or unavailable task APIs — use

optional runtime capabilities only when present.

Workflow

1. Establish Scope

Determine the merge base or user-specified base, then inspect:

git status --short
git diff --name-only <base>...HEAD
git diff --stat <base>...HEAD
git diff <base>...HEAD -- <changed-files>

Do not assume HEAD~5 is the correct base. Include uncommitted changes when the

user asks to review the current worktree. Record the chosen scope in the result.

2. Load Requirements

Unless --no-requirements is set, look for an explicit plan/spec path, current

conversation requirements, a branch or commit issue identifier, or the latest

relevant plan. Use available integrations or gh issue view when configured;

otherwise mark requirements NOT AVAILABLE and continue.

Read references/requirements-detection.md for detection order. Never let a

missing Linear, GitHub, hook, or MCP integration block code review.

3. Review by Concern

Select only concerns relevant to the diff:

  • Elixir/Phoenix correctness and idioms;
  • Ecto queries, changesets, transactions, migrations, and N+1 risks;
  • LiveView lifecycle, reconnect, forms, streams, and assigns;
  • authentication, authorization, secrets, and input handling;
  • Oban idempotency, retries, uniqueness, and transaction boundaries;
  • tests, regressions, and verification gaps;
  • deployment/runtime configuration when those files changed.

Native OpenCode subagents may run independent read-only concern tracks in parallel.

Use generic subagents with the complete diff scope and return findings to this

session; do not depend on separately installed named agents. If subagents are

unavailable or unnecessary, run every selected concern sequentially here. A

sequential review is fully valid.

4. Verify Findings

For each candidate:

  • Confirm it is in changed code or label it PRE-EXISTING.
  • Trace the actual runtime or data-flow consequence.
  • Check nearby tests and requirements.
  • Remove style-only noise and speculative concerns.
  • Merge duplicates under the clearest root cause.

Run targeted read-only verification when it materially changes confidence. Do

not alter files or suppress failures. If a check cannot run, report that clearly.

5. Report a Verdict

Return one verdict:

  • PASS
  • PASS WITH WARNINGS
  • REQUIRES CHANGES
  • BLOCKED

List findings in descending severity as BLOCKER, WARNING, or SUGGESTION.

Each finding must include path:line, evidence, impact, and the smallest

appropriate correction. Add requirements coverage before findings; any UNMET

requirement requires REQUIRES CHANGES.

If there are no findings, say so explicitly and list residual risks or checks not

run. Stop after presenting the review. Suggest /phx-triage, /phx-plan, or

/phx-compound as optional next steps without invoking them automatically.

References

  • references/requirements-detection.md — requirements source and coverage rules
  • references/agent-spawning.md — OpenCode concern selection and optional parallelism

Other skills for the same job

different authors, same section of the catalogue
MCP Builder
by anthropics
vendor ×13

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

30k tokens scripts
Changelog Generator
by frostant
×9

Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

774 tokens
Finishing A Development Branch
by ZhanlinCui
×7

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

1k tokens
MCP Builder
by JayZeeDesign
×7

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

37k tokens scripts
Vercel React Native Skills
by vercel-labs
vendor ×6

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

39k tokens
Vercel React Best Practices
by ratacat
×5

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

34k tokens
Next Best Practices
by vercel-labs
vendor ×4

Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

20k tokens
Using Git Worktrees
by ZhanlinCui
×4

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification

1k tokens

How to use it

Copy the folder

Take oliver-kriska/claude-elixir-phoenix-opencode-phx-review from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.