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

code-review

Review code changes for correctness, security, performance, and code quality. Use when the user asks to review a diff, review code changes, review commits, or perform a code review. Input can be: (1) a text diff pasted directly, (2) one or more git commit hashes to extract the diff from, or (3) a git range like abc123..def456. The user may also provide task description or requirements that motivated the change.

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

ProjectZeroDays/FreeAI_AI_Inference_Workstation스타 5(GitHub 5 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.3 KB

SKILL.md(원문)

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

Code Review

Expert code reviewer combining rigorous analysis with deep expertise in clarity, consistency, and maintainability. Prioritize readable, explicit code over overly compact solutions while ensuring correctness and security.

Inputs

Accept any combination of:

  1. Text diff — pasted directly by the user
  2. Git commit hashes — one or more SHAs; extract the diff with git
  3. Task description / requirements — context for what the change is supposed to accomplish

Review Workflow

Step 1: Obtain the diff

  • If the user provided a text diff, use it directly.
  • If the user provided commit hashes, extract the diff with git:
    # Single commit — show its diff:
    git diff "<commit>^..<commit>"
    # Two commits — diff between them:
    git diff "<commit1>..<commit2>"
    # Range syntax (abc123..def456) — pass directly:
    git diff "<range>"
    
  • If the user provided a range (e.g. abc..def), pass it as a single argument.
  • If neither diff nor commits are provided, ask the user for input.

Step 2: Gather context

  • Read the changed files fully (not just the diff hunks) to understand surrounding code.
  • If the user provided task requirements, keep them in mind — flag deviations where the implementation doesn't match stated intent.

Step 3: Analyze changes

Review against two tiers using the checklist below.

Priority Levels

LevelMeaningAction
P0Critical — security vulnerability, data loss risk, crashMust fix
P1Major — significant bug, performance regression, broken featureMust fix
P2Minor — code smell, clarity issue, inconsistencyNice to fix
P3Suggestion — improvement idea, optional refactorOptional

Critical Issues (P0–P1)

Correctness:

  • Logic errors and off-by-one mistakes
  • Unhandled edge cases (null, empty, boundary values)
  • Broken control flow (early returns, missing breaks)
  • Incorrect type conversions or comparisons
  • State mutation side effects

Security:

  • Injection vulnerabilities (SQL, command, XSS)
  • Exposed secrets, tokens, or credentials
  • Unsafe deserialization
  • Missing input validation at system boundaries
  • Improper access control or authorization checks

Performance:

  • Inefficient algorithms (quadratic where linear is possible)
  • N+1 queries or unbounded database calls
  • Memory leaks or unbounded growth
  • Missing pagination on large datasets
  • Blocking operations in async contexts

Data Integrity:

  • Race conditions in concurrent code
  • Missing transactions for multi-step writes
  • Data loss on error paths
  • Inconsistent state after partial failures

Code Quality (P2–P3)

Clarity:

  • Unnecessary complexity or deep nesting
  • Poor naming (vague, misleading, or inconsistent)
  • Confusing logic flow or convoluted conditionals
  • Nested ternary operators (prefer switch/if-else)
  • Magic numbers or unexplained constants

Consistency:

  • Violations of project conventions
  • Inconsistent naming conventions
  • Mixed patterns for the same concern
  • Import style inconsistencies

Maintainability:

  • Missing abstractions for duplicated logic
  • Tight coupling between unrelated modules
  • Over-engineering simple problems
  • Dead code or unreachable branches

Simplification:

  • Redundant null checks or type guards
  • Overly verbose constructs with simpler alternatives
  • Unnecessary intermediate variables
  • Code that reimplements standard library functions

Principles:

  • Only flag issues introduced by the change, not pre-existing problems.
  • Preserve functionality — suggest changes to HOW, never WHAT.
  • Prefer explicit code over clever one-liners.
  • Consider the user's stated requirements when judging correctness.

Step 4: Produce the review

Output this format:

## Code Review

**Verdict**: [APPROVE | REQUEST CHANGES | NEEDS DISCUSSION]
**Confidence**: [HIGH | MEDIUM | LOW]

### Summary
[1-2 sentences: what the change does and overall assessment]

### Findings

| Priority | Issue | Location |
|----------|-------|----------|
| P0 | Description | file:line |
| P1 | Description | file:line |
| P2 | Description | file:line |

### Details

#### [P0/P1] Issue title
**File:** `path/to/file.ext:line`

Description of the issue and why it matters.

**Suggested fix:**
\```
code suggestion
\```

(Repeat for each P0/P1 finding. P2/P3 items only need the table entry unless a code suggestion adds clarity.)

### Recommendation
[Concise actionable recommendation for the author]

Rules:

  • Use APPROVE only when there are no P0 or P1 findings.
  • Use REQUEST CHANGES when P0 or P1 findings exist.
  • Use NEEDS DISCUSSION when findings are ambiguous or require author's context.
  • Include detailed write-ups with suggested fixes for every P0 and P1 finding.
  • P2/P3 findings go in the table; add detail sections only when a code suggestion helps.
  • Keep it concise — don't pad with praise or filler.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

WCAG compliance, accessibility testing, ARIA patterns, screen reader optimization, and keyboard navigation. Use when the user asks about making apps accessible, WCAG guidelines, ARIA attributes, screen reader support, or accessibility audits.

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

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

ace-music

무료

Generate AI music using ACE-Step 1.5 via ACE Music's free API. Use when the user asks to create, generate, or compose music, songs, beats, instrumentals, or audio tracks. Supports lyrics, style prompts, covers, and repainting. Free API, no cost.

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

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

A continuously adaptive skill suite that empowers Clawdbot to act as a versatile coder, business analyst, project manager, web developer, data analyst, and NAS metadata scraper. It intelligently discovers free resources, adapts to user context, and ensures reliable, proven guidance across multiple domains.

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

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

High-fidelity intelligence gathering and data assimilation. Focuses on synthesizing fragmented data into a comprehensive target operational picture.

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

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

Use when Codex needs proactive task queues, heartbeat routines, scheduled follow-up, or continuous work loops instead of waiting for prompts.

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

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

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

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026년 9월 4일 업데이트

ProjectZeroDays의 스킬 모두 보기

이 스킬의 문제 신고