SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/gestrich/claude-tools-skills --skill gestrich-claude-tools-review명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | gestrich-claude-tools-review |
| description | Review Bill Command |
| invoke | Create structured code review documents for changes |
When the user invokes this command, help them review code changes by creating a structured review document.
If context is clear (user just mentioned changes, or obvious recent work):
If context is unclear:
git statusgit log -5 --onelineWhat would you like to review?
1) Unstaged changes (X files modified)
2) Last commit: <commit message>
3) Last 3 commits: <range>
4) Other (specify)
Create a markdown document in docs/reviews/<descriptive-name>-YYYY-MM-DD.md (e.g., timer-fix-2025-12-28.md).
The review document should follow this structure:
# Code Review: [Descriptive Title]
**Date**: YYYY-MM-DD
**Scope**: [What was reviewed - e.g., "Last commit", "Unstaged changes", "Commits abc123..def456"]
## Summary
[2-3 sentence overview of what changed and why]
## Changes by Category
### 🏗️ Architecture / Structure
[If architectural changes were made]
**Files**: `path/to/file.py:123-145`
\`\`\`diff
- old code
+ new code
\`\`\`
**Rationale**: [Why this architectural change was made]
**Impact**: [What this affects]
---
### 🐛 Bug Fixes
[If bugs were fixed]
**Files**: `path/to/file.py:67`
\`\`\`diff
- old buggy code
+ fixed code
\`\`\`
**Issue**: [What was broken]
**Fix**: [How it was resolved]
---
### ✨ New Features
[If new features were added]
**Files**: `path/to/file.py:200-250`
\`\`\`python
# Show relevant new code snippets
def new_feature():
pass
\`\`\`
**Purpose**: [What this feature does]
**Implementation**: [Key technical decisions]
---
### 🔧 Refactoring
[If code was refactored]
**Files**: `path/to/file.py`
**Changes**: [What was refactored and why]
**Benefit**: [Improvement gained]
---
### 📝 Documentation / Comments
[If docs or comments were updated]
**Files**: `README.md`, `docs/guide.md`
**Updates**: [What documentation changed]
---
### 🧪 Tests
[If tests were added/modified]
**Files**: `tests/test_feature.py`
**Coverage**: [What's now tested]
## Review Notes
### ✅ Strengths
- [What was done well]
- [Good patterns used]
### ⚠️ Considerations
- [Potential edge cases to watch]
- [Areas that might need follow-up]
- [Performance implications if any]
### 🔍 Suggested Next Steps
- [Optional improvements]
- [Follow-up tasks if any]
## Example Review Document
Here's a concrete example of what a review looks like:
---
# Code Review: Timer Scroll Region Fix
**Date**: 2025-12-28
**Scope**: Commit e2f069f "Fix timer scrolling by reserving bottom line"
## Summary
Fixed the live timer display in phased-implementation.py that was scrolling off the bottom of the terminal. The solution uses ANSI escape codes to reserve the bottom line exclusively for the timer while constraining normal output to scroll only in the upper region.
## Changes by Category
### 🐛 Bug Fixes
**Files**: `phased-implementation.py:77-113`
\`\`\`diff
def start(self):
- self.phase_start_time = time.time()
- self.running = True
+ self.phase_start_time = time.time()
+ self.running = True
+
+ # Set scroll region to exclude bottom line
+ sys.stdout.write(f"\033[1;{term_height-1}r")
+ sys.stdout.write(f"\033[{term_height-1};1H")
\`\`\`
**Issue**: Normal terminal output was scrolling the timer line up, making it part of the scrollback instead of staying anchored at bottom
**Fix**: Set terminal scroll region using `\033[1;{h-1}r` to constrain scrolling to upper lines, reserving bottom line for timer
---
### 🔧 Refactoring
**Files**: `phased-implementation.py:115-158`
**Changes**:
- Replaced cursor save/restore (`\033[s` / `\033[u`) with absolute positioning
- Changed update interval from 1s to 0.5s for smoother display
- Removed unused `safe_print()` helper method since scroll region handles coordination
**Benefit**: More reliable positioning across different terminal emulators; scroll region is standard VT100
## Review Notes
### ✅ Strengths
- Proper use of ANSI scroll regions prevents race conditions
- Falls back gracefully if terminal size unavailable
- Cleans up scroll region on exit (restores normal scrolling)
### ⚠️ Considerations
- Assumes VT100-compatible terminal (standard on modern systems)
- Scroll region not supported in all environments (hence the try/except)
- Timer thread is daemon, so won't block program exit
### 🔍 Suggested Next Steps
- Consider testing on different terminal emulators (iTerm2, Terminal.app, etc.)
- Could add a `--no-timer` flag for non-compatible terminals
git diff, git show, or git log -pdocs/reviews/ with descriptive nameopen -a Typora docs/reviews/<filename>.mdThis approach creates focused, actionable code reviews that help understand what changed and why.