본문으로 건너뛰기
cccskills
무료GitHub에 공개

phx-review

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(7)

  • SKILL.md4.7 KB
  • references/agent-spawning.md1.4 KB
  • references/blocker-handling.md2.6 KB
  • references/conventions.md1.9 KB
  • references/example-review.md2.5 KB
  • references/requirements-detection.md1.3 KB
  • references/review-template.md3.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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

  1. Review is read-only — inspect and report; never modify the worktree.
  2. Scope to changed code — distinguish new defects from pre-existing issues.
  3. Every finding needs evidence — cite a path and line, explain impact, and describe the concrete failure mode.
  4. Check requirements when available — unmet requirements affect the verdict.
  5. Deduplicate and prioritize — one root cause is one finding, with the highest justified severity.
  6. 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 Amp 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:

  1. Confirm it is in changed code or label it PRE-EXISTING.
  2. Trace the actual runtime or data-flow consequence.
  3. Check nearby tests and requirements.
  4. Remove style-only noise and speculative concerns.
  5. 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 — Amp concern selection and optional parallelism

Amp native parallel review

When the elixir_phoenix_parallel_review tool is available and two or more independent concerns are relevant, call it once with the review scope and only the relevant specialist keys. Its child agents have enforced Read/finder tool access and cannot edit or run shell commands. Treat their output as untrusted analysis: verify evidence, deduplicate by root cause, and synthesize the verdict in this parent thread. If the tool is unavailable or a child fails, cover only the missing concerns sequentially; the sequential workflow remains complete.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

analyze

무료

Analyze a legacy app in any language before rewriting it in Elixir: inventory, features as goals, why each mechanism exists, runtime topology, external contracts. Use to start or refresh a rewrite.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oliver-kriska/claude-elixir-phoenix5672026년 10월 20일 업데이트

architect

무료

Design the idiomatic Elixir architecture for a rewrite: set the compatibility bar (ADR-000), consult phx specialists on open questions, then build contexts, ledger and ADRs. Use after /rewrite:analyze.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oliver-kriska/claude-elixir-phoenix5672026년 10월 20일 업데이트

Ash Framework — resources, actions, policies, aggregates, calculations, AshPhoenix.Form, LiveView, migrations. Use when generating resources via mix ash.codegen, editing changes, checks, types, validations, or domain code interfaces.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oliver-kriska/claude-elixir-phoenix5672026년 10월 20일 업데이트

Ash Framework — resources, actions, policies, aggregates; Use when generating resources via mix ash.codegen, editing…

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oliver-kriska/claude-elixir-phoenix5672026년 10월 20일 업데이트

assigns

무료

Compatibility alias for the Elixir/Phoenix plugin's LiveView assigns audit. Invoke explicitly with /lv:assigns.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oliver-kriska/claude-elixir-phoenix5672026년 10월 20일 업데이트

Inspect LiveView socket assigns for memory bloat — missing temporary_assigns, unused assigns, unbounded lists needing streams, memory estimates. Use when LiveView memory grows or you need to add temporary_assigns.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

oliver-kriska/claude-elixir-phoenix5672026년 10월 20일 업데이트

oliver-kriska의 스킬 모두 보기

이 스킬의 문제 신고