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

review

Deep code review - Elixir idioms, Phoenix patterns, architecture, safety. Launches 3 parallel reviewers + plan-reviewer gate. Use when: review, review this, code review, check this code, review my changes, is this good, what do you think, code smells.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.7 KB

SKILL.md(원문)

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

Code Review — Parallel Agents + Plan-Reviewer Gate

Reviews current changes for correctness, idioms, architecture, and Phoenix/LiveView patterns. Three parallel code-reviewer agents with focused scopes, aggregated findings, and a plan-reviewer critique before presenting fixes.

Workflow

Phase 1: Diff

Get the full diff and diff stat against main:

git diff main...HEAD
git diff main...HEAD --stat

Phase 2: Parallel Review

Launch 3 code-reviewer agents in parallel (single message, 3 Agent tool calls). Each gets the full diff but a focused mandate.

CRITICAL: Launch all 3 agents in the same message so they run concurrently.

Agent 1: Correctness & Safety

Focus: logic bugs, Ecto changeset errors, LiveView callback correctness, edge cases (nil, empty, missing records), query correctness, transaction safety.

Agent 2: Idioms & Architecture

Focus: Elixir idioms (multi-clause over if/else, no unless, no nested case), Phoenix patterns (contexts as boundary, thin LiveView, streams), DDD boundaries (Blog/Import/Export), module size <200 lines.

Agent 3: Completeness & Contracts

Focus: test coverage for new public functions, CLAUDE.md sync with actual structure, comment quality (WHY not WHAT), proper validations in changesets.

Phase 3: Aggregate

After all 3 agents return, merge findings:

  1. Merge into unified tiers (Critical / Important / Minor / Positive)
  2. Deduplicate same file:line across agents
  3. Tag each finding with source: [safety], [idioms], [completeness]
  4. Cap: max 5 Critical, 7 Important, 3 Minor
  5. Verdict: any Critical or Important -> "Needs fixes"; only Minor/Positive -> "Clean with suggestions"

Phase 4: Plan + Critique

If Critical or Important findings exist:

  1. Build a numbered fix plan
  2. Launch a plan-reviewer agent to critique the fix plan
  3. Incorporate critique: drop over-engineered fixes, add missed gaps
  4. Present the critique-adjusted plan to the user

If only Minor findings: skip plan-reviewer, present review directly.

Phase 5: Present

Show the aggregated review to the user with verdict and fix plan if needed.

Phase 6: Implement

After user approves the plan:

  1. Implement fixes in plan order
  2. Run verification:
    mix test
    mix format --check-formatted
    mix compile --warnings-as-errors
    
  3. Report results

Pipeline

/dev <issue> -> /review -> /commit -> /pr

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

commit

무료

Create a git commit following project conventions. Use when: commit, commit this, make a commit, commit changes, git commit, save changes, commit my work, stage and commit, detailed commit.

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

leandronsp/curupira222026년 3월 21일 업데이트

dev

무료

Implementer - fetches a GitHub issue, builds an implementation plan, then implements using TDD. Use when: implement, build this, code this, add this feature, TDD, test first, red green refactor, pick a task, next task, dev.

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

leandronsp/curupira222026년 3월 21일 업데이트

po

무료

Product Owner - scans codebase and creates or amends GitHub issues with PRD. Use when: PRD, feature, issue, create issue, amend issue, what should we build, plan feature, design feature, scope, requirements.

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

leandronsp/curupira222026년 3월 21일 업데이트

pr

무료

Open or update a draft PR for the current branch. Use when: create PR, open PR, draft PR, pull request, prepare for review.

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

leandronsp/curupira222026년 3월 21일 업데이트

leandronsp의 스킬 모두 보기

이 스킬의 문제 신고