Skip to main content

review-code

Review code against specs, designs, and decision compliance

소스 정보

저장소
asermax/claude-plugins
최근 소스 활동
2026년 2월 8일 18:28
감지된 SKILL.md 언어
영어
스타
1
포크
1

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
review-code
description
Review code against specs, designs, and decision compliance
argument-hint
[context]
disable-model-invocation
true
# Code Review Workflow Review code for spec compliance and pattern adherence. ## Input Context: $ARGUMENTS (optional - can be: branch, files, or description) ## Context **You must load the following skills and read the following files before proceeding.** ### Skills - `katachi:framework-core` - Workflow principles ### Decision indexes - `docs/architecture/README.md` - Architecture decisions (ADRs) - `docs/design/README.md` - Design patterns (DES) Read relevant docs/feature-specs/ and docs/feature-designs/ based on code being reviewed. ## Process ### 1. Determine Review Scope Based on input, determine what to review: **If branch specified:** ```bash git diff main...$BRANCH ``` **If files specified:** - Read the specified files - Identify related specs/designs from path or content **If description specified:** - Interpret what user wants reviewed - Ask for clarification if needed **If no input:** - Check for uncommitted changes - Ask: "What would you like me to review?" ### 2. Identify Related Documentation For the code being reviewed: - Which feature does it belong to? - What's the spec? Design? - What ADRs/DES apply? If documentation can't be identified: ``` "I see changes in [files]. Which feature is this for? Or should I do a general code review without spec reference?" ``` ### 3. Dispatch Code Reviewer ```python Task( subagent_type="katachi:code-reviewer", prompt=f""" Review this code. ## Code to Review {code_content} ## Feature Spec (if applicable) {spec_content or "No spec identified"} ## Feature Design (if applicable) {design_content or "No design identified"} ## Relevant ADRs {adr_content} ## Relevant DES Patterns {des_content} """ ) ``` ### 4. Present Findings Show review results organized by severity: ``` ## Code Review Results ### Critical Issues - [Issue]: [location] - [recommendation] ### Important Issues - [Issue]: [location] - [recommendation] ### Suggestions - [Suggestion] ### Pattern Compliance - ADR-007 (logging): Compliant - DES-003 (testing): Violation at tests/test_x.py:45 ### Strengths - [What's done well] ``` ### 5. Discuss Findings For each issue: - Explain why it's an issue - Reference the relevant spec/ADR/DES - Provide concrete fix recommendation Ask: "Would you like me to help fix any of these issues?" ### 6. Optionally Apply Fixes If user wants fixes: - Apply changes for agreed issues - Re-run review to verify - Show updated code ## Workflow **This is a review process:** - Determine what to review - Identify related documentation - Dispatch code-reviewer agent - Present findings - Discuss and optionally fix
GitHub에서 보기