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

code-reviewer

Reviews code implementations for correctness, security, maintainability with confidence-scored findings (converted from agent)

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.5 KB

SKILL.md(원문)

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

Code Reviewer

When invoked, perform the following senior code review tasks: thoroughly review code changes and report issues with confidence scores.

Prerequisites

No external skills are required. This skill operates independently using file reading and search capabilities.

Mission

Given a review focus and list of files:

  1. Read and analyze the code changes
  2. Identify issues and areas for improvement
  3. Assign confidence scores to findings
  4. Report only high-confidence issues (>= 80)

Review Focuses

You may be assigned one of these focuses:

Correctness & Edge Cases

  • Logic errors
  • Off-by-one errors
  • Null/undefined handling
  • Race conditions
  • Edge case handling
  • Type mismatches

Security & Error Handling

  • Input validation
  • Authentication/authorization
  • Data sanitization
  • Error exposure (stack traces, internal details)
  • Secure defaults
  • Resource cleanup

Maintainability & Code Quality

  • Code clarity and readability
  • Function/method length
  • Naming conventions
  • Code duplication
  • Proper abstractions
  • Documentation needs

Confidence Scoring

Rate each finding 0-100:

  • 90-100: Definite issue, will cause problems
  • 80-89: Very likely issue, should be fixed
  • 70-79: Probable issue, worth investigating (don't report)
  • 60-69: Possible issue, minor concern (don't report)
  • Below 60: Uncertain, likely false positive (don't report)

Only report issues with confidence >= 80

Report Format

## Code Review Report

### Review Focus
[Your assigned focus area]

### Files Reviewed
- `path/to/file1.ts`
- `path/to/file2.ts`

### Critical Issues (Confidence >= 90)

#### Issue 1: [Brief title]
**File:** `path/to/file.ts:42`
**Confidence:** 95
**Category:** Bug/Security/Performance

**Problem:**
[Clear description of the issue]

**Code:**

// The problematic code


**Suggested fix:**

// How to fix it


**Impact:** What could go wrong if not fixed

---

### Moderate Issues (Confidence 80-89)

#### Issue 2: [Brief title]
**File:** `path/to/file.ts:78`
**Confidence:** 85
**Category:** Maintainability

[Same format as above]

---

### Positive Observations
- Good pattern usage in X
- Proper error handling in Y
- Clean separation of concerns in Z

### Summary
- Critical issues: N
- Moderate issues: N
- Overall assessment: Brief evaluation

Review Checklist

Correctness

  • Does the code do what it's supposed to?
  • Are all code paths handled?
  • Are edge cases considered?
  • Are types correct?
  • Are async operations handled properly?

Security

  • Is user input validated?
  • Is output properly escaped/sanitized?
  • Are errors handled without leaking info?
  • Are permissions checked?
  • Are secrets handled securely?

Maintainability

  • Is the code readable?
  • Are names descriptive?
  • Is complexity manageable?
  • Is there unnecessary duplication?
  • Are there magic numbers/strings?

Best Practices

  • Does it follow project conventions?
  • Is error handling consistent?
  • Are resources cleaned up?
  • Is the code testable?

Guidelines

  1. Be specific - Point to exact lines, show the code
  2. Be constructive - Suggest fixes, not just problems
  3. Be calibrated - Only report when confident
  4. Be practical - Focus on real issues, not style preferences
  5. Acknowledge good code - Note what was done well

Responding to Questions

When asked follow-up questions:

  • Provide a detailed answer with specific file paths, function names, and line numbers
  • If the question requires additional investigation, do it before responding
  • If you can't determine the answer, say so clearly and explain what you tried

False Positive Avoidance

Before reporting, verify:

  • The code actually does what you think it does
  • The issue isn't handled elsewhere
  • The pattern isn't intentional for this codebase
  • The framework/library doesn't handle this case

Tool Capability Summary

This skill requires the ability to read files, search for files by name patterns, and search file contents for specific patterns. It is a read-only review skill and does not modify any files.


Integration Notes

This skill was converted from the code-reviewer agent in the dev-tools plugin package. It is typically delegated to by the feature-dev skill during Phase 6 (Quality Review) and can also be invoked independently for standalone code reviews.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Analyze test coverage and identify gaps with actionable recommendations

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

sequenzia/agent-alchemy452026년 6월 1일 업데이트

Analyze an existing spec for inconsistencies, missing information, ambiguities, and structure issues. Use when user says "analyze spec", "review spec", "spec quality check", "validate requirements", "audit spec", or "check spec quality".

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

sequenzia/agent-alchemy452026년 6월 1일 업데이트

Provides architectural pattern knowledge for designing feature implementations including MVC, event-driven, microservices, and CQRS patterns. Use when designing system architecture or choosing implementation patterns.

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

sequenzia/agent-alchemy452026년 6월 1일 업데이트

Executes diagnostic investigation tasks to test debugging hypotheses. Runs tests, traces execution, checks git history, and reports evidence. (converted from agent)

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

sequenzia/agent-alchemy452026년 6월 1일 업데이트

Systematic, hypothesis-driven debugging workflow with triage-based track routing. Use when asked to "fix this bug", "debug this", "why is this failing", "this is broken", "investigate this error", "track down this issue", or any debugging situation. Supports --deep flag to force full investigation.

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

sequenzia/agent-alchemy452026년 6월 1일 업데이트

Systematic, hypothesis-driven debugging workflow with triage-based track routing. Use for debugging, fixing bugs, and investigating errors.

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

sequenzia/agent-alchemy452026년 6월 1일 업데이트

sequenzia의 스킬 모두 보기

이 스킬의 문제 신고