Borrowing it
Nothing to install: this file belongs to CIrcui-try/Circuit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/CIrcui-try/Circuit/main/.agents/skills/review-and-fix/SKILL.mdgit clone --depth 1 https://github.com/CIrcui-try/CircuitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/circui-try/circuit/review-and-fix)<a href="https://agentmods.dev/skills/circui-try/circuit/review-and-fix"><img src="https://agentmods.dev/badge/skills/circui-try/circuit/review-and-fix/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/circui-try/circuit/review-and-fix"><img src="https://agentmods.dev/badge/skills/circui-try/circuit/review-and-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00023 | $0.01504 |
| Opus 5.5 | $0.00009 | $0.00602 |
| Sonnet 5.5 | $0.00005 | $0.00301 |
| Haiku 4.5 | $0.00002 | $0.00150 |
Grade A, and why
review-and-fix scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
현재 브랜치의 로컬 변경사항을 직접 읽고 코드 리뷰를 수행한 뒤, 발견된 문제를 수정·커밋·푸시하는 커맨드.
$ARGUMENTS로 처리할 최소 심각도를 받는다. 예: /review-and-fix minor
critical→ 🔴 Critical만 처리major(기본값, 미지정 포함) → 🔴 Critical + 🟠 Major 처리minor→ 🔴 Critical + 🟠 Major + 🟡 Minor 전체 처리
절차
1단계: 로컬 변경 범위 확인
- 현재 브랜치 확인:
git branch --show-current로 브랜치 이름을 가져온다. develop/main경고: 현재 브랜치가develop또는main이면 경고하고 중단한다.- 작업트리 상태 확인:
git status --short로 staged/unstaged/untracked 변경을 확인한다. - 비교 기준 확인:
origin/develop이 있으면 기본 기준으로 사용하고, 없으면develop을 사용한다. - 공통 조상 확인:
git merge-base HEAD <기준브랜치>로 현재 브랜치의 로컬 변경 기준점을 찾는다.
2단계: diff 수집
- 브랜치 diff 수집:
git diff <merge-base>...HEAD로 기준 브랜치 이후의 커밋 변경사항을 수집한다. - 작업트리 diff 수집: staged 변경은
git diff --cached, unstaged 변경은git diff로 수집한다. - 변경 파일 목록 파악:
git diff --name-only <merge-base>...HEAD,git diff --cached --name-only,git diff --name-only,git status --short의??파일을 합쳐 중복 없이 확인한다. - untracked 파일 확인:
??파일은 diff가 없더라도 파일 전체를 Read로 읽어 리뷰 대상에 포함한다. - 변경 없음 처리: 수집된 diff와 변경 파일이 모두 없으면 사용자에게 알리고 종료한다.
3단계: 코드 리뷰
변경된 각 파일을 Read로 읽어 diff뿐 아니라 파일 전체 컨텍스트를 파악한 뒤 문제점을 찾는다.
리뷰 관점
- 보안: 인젝션, XSS, 인증/인가 누락, 민감 정보 노출
- 정합성: 로직 오류, 엣지 케이스 미처리, 누락된 에러 처리
- 성능: 불필요한 쿼리, N+1, 무한 루프 가능성
- 아키텍처: AGENTS.md에 명시된 레이어드 아키텍처 원칙 위반 여부
- 백엔드: Router → Service → Repository 분리
- 프런트엔드: Presentation → Domain → Data 분리
- 코드 품질: 네이밍, 중복 코드, 불필요한 복잡도, console.log 잔존
심각도 분류
- 🔴 Critical: 보안 취약점, 데이터 손실/훼손, 크래시/무한 루프 유발
- 🟠 Major: 로직 오류, 누락된 에러 처리, 성능 문제, 아키텍처 원칙 위반
- 🟡 Minor: 코드 스타일, 네이밍 개선, 불필요한 코드, 타입 미비
4단계: 리뷰 결과 정리 & 사용자 확인
$ARGUMENTS (미지정 시 major) 기준으로 필터링한 뒤 아래 형식으로 출력한다:
[1] 🔴 Critical — API/app/services/auth.py:194
JWT 시크릿이 하드코딩되어 있음...
[2] 🟠 Major — Web/src/pages/login.tsx:28
returnTo를 검증 없이 리디렉션에 사용...
- 발견된 항목이 없으면 사용자에게 알리고 종료한다.
- 출력 후 사용자에게 수정 진행 여부를 확인받는다.
5단계: 코드 수정
각 항목을 순서대로 처리한다:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 103 lines · 0 tokens per session scan A a4e635e3f08a
review-and-fix is a skill published in the GitHub repository CIrcui-try/Circuit (5 stars, last pushed 5mo ago), licensed MIT. It adds 23 tokens to every session and 1,504 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
comet-github-pr-review
A read-only review process for pull requests in Comet's GitHub repositories. A pull request is a proposed code change; the review checks its current code, related issue, comments, merge status, and automated checks.
issue-work-loop
Run Herdr loops for one open GitHub issue (resolve→review→fix) or an existing PR (review→lazy fixer) until CLEAN. Don't use for plain resolution without review, review-only/no-fix requests, backlog automation, or merging.
pr-comment
Post friendly review comments to a GitHub PR — prepare locally, preview, then submit as atomic review. Use when: posting code review comments, giving PR feedback, sending inline suggestions. Not for: reading existing reviews (use load-pr-review), creating PRs (use create-pr), PR status (use pr-summary).
pr-review
PR self-review — review changes, produce checklist, update rules.
gh-address-comments
Address review and issue comments on the open GitHub PR for the current branch using gh CLI. Use when user says "address PR comments", "fix review feedback", "respond to PR review", or "handle PR comments". Verifies gh auth first and prompts to authenticate if not logged in. Do NOT use for creating PRs, CI debugging…
doris-repo-review
Review an Apache Doris PR from a local clone with the same multi-agent, shared-ledger convergence workflow as the CI Code Review Runner. Use when the user supplies a PR to /doris-repo-review, asks to review a Doris PR locally, or asks for the CI-style review flow. Safely align only the current worktree to the exact PR…