一键导入
review-current-diff
Use when the user asks to review the current git diff, PR changes, code changes, or wants risk and bug analysis before committing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user asks to review the current git diff, PR changes, code changes, or wants risk and bug analysis before committing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when the user asks to fix failing tests, CI failures, pytest/Jest errors, broken test suites, or red builds.
Use when the user asks to fix lint, formatting, typecheck, mypy, tsc, ruff, eslint, or static analysis errors.
Use when the user repeatedly asks to generate release notes from commits, diffs, PRs, or git changes (10 similar examples).
Use when the user asks to analyze a GitHub repository and create a concise 16:9 infographic brief or image-generation prompt.
Use when the user asks to update README, docs, API documentation, usage guides, or changelog-like documentation.
| name | review-current-diff |
| description | Use when the user asks to review the current git diff, PR changes, code changes, or wants risk and bug analysis before committing. |
Review the current changes for correctness, risk, maintainability, and missing tests.
A good prompt for this skill should include:
reviewtarget (required): 작업 대상 파일, diff, 로그, URL, 문서, 이슈 또는 저장소 범위 → [작업 대상]constraints: 수정 범위, 금지사항, 스타일, 호환성 조건, 제외 범위 → [제약사항]verification (required): 테스트, lint, 빌드, 수동 확인 등 완료 여부를 판단할 기준 → [검증 기준]output_format (required): 결과 응답에 포함해야 할 섹션과 형식 → [출력 형식]Review the current changes for correctness, risk, maintainability, and missing tests. 대상은 [작업 대상]입니다. 완료 후 diff 근거로만 리뷰한다. 기준으로 확인하고 Findings, Evidence, Risk level, Suggested fixes, Missing tests 형식으로 요약해줘.
Review the current changes for correctness, risk, maintainability, and missing tests.
대상:
- [작업 대상]
제약:
- [수정 범위와 금지사항]
- 확인하지 않은 사실은 단정하지 않기
절차:
1. 먼저 목표, 입력, 현재 상태를 확인해줘.
2. 필요한 최소 범위로 작업해줘.
3. diff 근거로만 리뷰한다. 기준으로 검증해줘.
4. 실패나 불확실성이 있으면 원인과 후속 조치를 적어줘.
출력:
- Findings, Evidence, Risk level, Suggested fixes, Missing tests
이 요청은 `review` 유형으로 보입니다. 작업 전에 대상, 제약, 검증 기준, 출력 형식이 불명확하면 먼저 질문해줘.