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

cc-review

Run a structured code review — produces a Review Report with CRITICAL, WARNING, and SUGGESTION findings; CRITICAL findings block merge.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.4 KB

SKILL.md(원문)

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

Code Review Workflow

Review target: $ARGUMENTS

Specify what to review. Accepted formats:

  • A branch name: feature/my-branch
  • A file or set of files: src/api/UserController.kt
  • A pull request reference: PR #42
  • Empty — defaults to the current working diff (git diff)

Web interface scope

When the task concerns web layout, component states, feedback, motion, or a requested UI audit, apply skill web-design-engineering from the installed skill library. Use it during intake/discovery, design, test/implement, and review as applicable; keep this workflow’s gates and TDD order. Framework presence alone does not activate it; backend-only and native mobile work are excluded. Record required visual checks as pending when unavailable. Keep findings in the existing Review Report: contract failures in Spec Axis, technical issues in existing subchecks, and aesthetic preferences as suggestions; do not add an axis.

Android phone interface scope

When the task concerns concrete Jetpack Compose phone layout, component states, interaction, accessibility, visual behavior, or a requested UI audit, apply skill android-ui-design. Use it during design, test/implementation, and review as applicable while keeping this workflow's gates and TDD order. Kotlin, Compose, framework, or dependency presence alone does not activate it; non-UI Android work stays with the general android skill. Audit-only requests remain read-only, and unavailable visual or emulator checks remain pending rather than claimed complete.

Step 1 — Diff collection

Before invoking reviewer, collect the diff for the specified target.

If $ARGUMENTS is empty or not provided:

  • Use git diff HEAD as the review target

If $ARGUMENTS is a branch name:

  • Use git diff main...$ARGUMENTS (or develop if main is not the base)

If $ARGUMENTS is a PR reference:

  • Retrieve the PR diff and the PR description for context

If $ARGUMENTS is a file path:

  • Use git diff HEAD -- $ARGUMENTS

Show the diff summary (files changed, lines added/removed) before invoking reviewer.


Step 2 — Security and code review

Security review (security-reviewer)

Invoke security-reviewer before reviewer when the change touches:

  • Authentication or authorization logic
  • Payment or financial processing
  • Credentials, tokens, secrets, or API keys
  • SQL injection, XSS, or other injection vectors
  • Supply-chain dependencies (new packages, lockfile changes)
  • OWASP Top 10 categories

security-reviewer performs deep security analysis and can apply a security veto that overrides majority consensus:

  • When securityVeto: true and verdict is REJECTED, the veto forces the final status to REJECTED regardless of other reviewers' opinions
  • The veto agent ID is recorded in vetoByAgentId for traceability

If security-reviewer applies a veto, the review is BLOCKED — all CRITICAL findings must be resolved before proceeding.

Code review (reviewer)

Invoke reviewer with:

  • The full diff
  • The Task Card or PR description (if available)
  • The target specification from $ARGUMENTS
  • The security-reviewer report (if one was generated)

reviewer must evaluate the diff against the following checklist:

Correctness

  • Does the implementation match the stated intent?
  • Are there logic errors, off-by-one errors, or unhandled edge cases?

Architecture alignment

  • Does the change follow existing module boundaries?
  • Does it introduce unplanned coupling or layering violations?

Security

  • Are inputs validated before use?
  • Is there any credential, token, or secret in the diff?
  • Are there SQL injection, XSS, or injection risks?

Performance

  • Does the change introduce N+1 queries, blocking I/O, or O(n^2) loops?

Test coverage

  • Do tests exist for the new or changed behavior?
  • Are assertions meaningful (not just checking that no exception is thrown)?

Documentation

  • Are public interfaces documented?
  • Is CHANGELOG updated if behavior changed?

Step 3 — Review Report

reviewer produces a structured Review Report with findings in three categories:

## Review Report

### CRITICAL

[Findings that must be fixed before merge. Each finding includes:

- Location (file:line)
- Description of the problem
- Suggested resolution]

### WARNING

[Findings that should be resolved before merge but are not blockers in
exceptional cases with human approval. Same format as CRITICAL.]

### SUGGESTION

[Optional improvements — style, readability, future-proofing. These do not block
merge.]

### Summary

- Files reviewed: N
- Total findings: N (X critical, Y warnings, Z suggestions)
- Merge recommendation: APPROVED | BLOCKED

Step 4 — Merge decision

If any CRITICAL findings exist:

  • The Review Report status is BLOCKED
  • Report all CRITICAL findings to the human
  • Do not proceed until each CRITICAL finding is resolved
  • After resolution, invoke /cc:review again on the same target

If no CRITICAL findings exist:

  • The Review Report status is APPROVED
  • Report any WARNINGs and SUGGESTIONs for human awareness
  • The human makes the final merge decision

Completion

Deliver the complete Review Report. Never summarize or omit findings. Every finding must include a location and an actionable description.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Use when adding monitoring, metrics, logging, or tracing to Spring AI or LLM integration code. Covers token tracking, latency measurement, cost estimation, and prompt/response logging. Use when user mentions AI monitoring, token costs, or LLM observability.

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

lgzarturo/springboot-course32026년 10월 20일 업데이트

android

무료

Provides expert knowledge for building modern native Android apps using Kotlin, Jetpack Compose, Material Design 3, MVI architecture, Hilt dependency injection, and Media3/ExoPlayer.

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

lgzarturo/springboot-course32026년 10월 20일 업데이트

Design, implement, review, and audit Android Jetpack Compose UI/UX for phone interfaces. Use when a request concerns concrete Compose layout, components, interaction, accessibility, or visual behavior. Do not activate for framework or dependency presence alone; non-UI Android work is excluded.

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

lgzarturo/springboot-course32026년 10월 20일 업데이트

Provides expert knowledge for designing, implementing, and managing REST API versioning strategies with deprecation workflows.

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

lgzarturo/springboot-course32026년 10월 20일 업데이트

astro

무료

Provides expert knowledge for building Astro 5+ sites with Islands Architecture, Content Collections, TypeScript, and performance-first rendering strategies.

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

lgzarturo/springboot-course32026년 10월 20일 업데이트

Audits token storage mechanisms to prevent XSS-based JWT theft.

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

lgzarturo/springboot-course32026년 10월 20일 업데이트

lgzarturo의 스킬 모두 보기

이 스킬의 문제 신고