원클릭으로
claudit
Perform a thorough code audit of the current branch vs main, writing findings to docs/claudit/.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Perform a thorough code audit of the current branch vs main, writing findings to docs/claudit/.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | claudit |
| description | Perform a thorough code audit of the current branch vs main, writing findings to docs/claudit/. |
| disable-model-invocation | true |
Perform a thorough code review of the current branch's changes against main.
No arguments required. The branch name and counter are determined automatically.
Branch check — Get the current branch name from git branch --show-current. If the branch is main, stop immediately and tell the user: "Claudit audits compare against main — running on main itself would produce an empty diff. Please switch to a feature branch first." Do not proceed.
Preparation — Read CLAUDE.md for project context. Read existing files in docs/claudit/ to understand prior audit history and resolved findings for this branch.
Gather the diff — Run git diff main and git diff main --stat. Note the approximate line count and files changed.
Read source files — Read all changed/new source files in full (not just the diff hunks). Understanding surrounding context is critical for finding issues the diff alone won't reveal.
Audit — Review for:
pub vs pub(crate) violationsFocus on new findings not covered in prior claudit rounds. Check whether prior open findings are still open or have been resolved.
Classify findings by priority:
Determine the output filename:
git branch --show-current.docs/claudit/ matching *-<branch>-*.md to find the highest counter. If none exist, the counter is 1. Otherwise increment the highest by 1.docs/claudit/<YYYY-MM-DD>-<branch>-<counter>.md.Use this exact structure:
# Branch Audit: <Branch Name> (Round N) — <YYYY-MM-DD>
<One-line scope description: branch name, diff size, file count, focus areas.>
## Summary
| Priority | Open | Resolved |
|----------|------|----------|
| High | X | Y |
| Medium | X | Y |
| Low | X | Y |
---
## High Priority
### 1. <Finding title>
**File:** `path/to/file.rs:line-range`
<Description of the issue. Be specific about what's wrong and why it matters.>
**Suggested fix:** <Concrete suggestion, not vague.>
### ~~2. <Resolved finding title>~~ — RESOLVED
**File:** `path/to/file.rs:line-range`
~~<Original description, struck through.>~~
**Resolution:** <What was done to fix it.>
---
## Medium Priority
<Same pattern as above.>
---
## Low Priority
<Same pattern as above.>
---
## Positive Observations
- **<Observation title>.** <Why it's good — be specific about the design decision or implementation quality.>
### N. Title. Resolved findings get ### ~~N. Title~~ — RESOLVED.