agentleFS
BK202503BK202503/open-claude-all/skills/review-loop/SKILL.md

review-loop

Skill7 starsChanged 4 months agoMITView on GitHub

Iterative review-fix-recheck loop — runs the review skill, auto-fixes only deterministic findings (em dashes, AI footers, curly quotes, code-restating comments), re-runs review, repeats until clean or max 5 iterations. Stops and reports anything that needs human judgment. AUTO-INVOKE when the review skill reports must-fix findings. Triggers include "리뷰 루프 돌려", "review loop", "고치고 다시 확인", "자동 수정하고 재검토", "clean this up".

54 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use motion-design, polish and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • soilmassSkill

    motion-design

    Create animations and motion graphics using industry standards. Use when asked to animate UI elements, create video content, implement transitions, or build motion systems. Implements W3C Design Tokens, Material Design 3 baseline, and Lottie specification compliance.

    Also in 5 projects that use this

  • HK-hubSkill

    polish

    Performs a final quality pass fixing alignment, spacing, consistency, and micro-detail issues before shipping. Use when the user mentions polish, finishing touches, pre-launch review, something looks off, or wants to go from good to great.

    Also in 3 projects that use this

  • GoogleSkill

    to-spec

    Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.

    Also in 4 projects that use this

  • GoogleSkill

    improve-codebase-architecture

    Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

    Also in 5 projects that use this

  • AWSSkill

    ship

    Finalize dev work on an issue branch — update docs, push, and open a PR.

    Also in 4 projects that use this

  • MicrosoftSkill

    council

    Convene the persona panel — six orthogonal review lenses — on a target. Cold independent fan-out, debate-to-consensus, synthesized verdict with recorded dissent and a roster manifest.

    Also in 3 projects that use this

  • +4 more from google

The file

Files
SKILL.md

review-loop

리뷰에서 발견한 것 중 확실한 것들만 자동 수정하고, 다시 리뷰를 돌립니다. 판단이 필요한 항목은 사람에게 넘깁니다.

자동 수정 가능 목록 (auto-fixable)

아래 항목만 자동 수정합니다. 나머지는 전부 사람에게 넘깁니다.

카테고리패턴수정 방식
em-dash— in comments, strings, docs: 또는 - 로 교체
curly-quote" " in comments" " 로 교체
ellipsis-char… in comments... 으로 교체
ai-footer🤖 Generated with Claude Code줄 전체 삭제
ai-footerCo-Authored-By: Claude줄 전체 삭제
section-separator// ===...===, // ---...---, // ###...### 3줄 블록블록 전체 삭제
code-restating-comment바로 다음 줄과 1:1 대응되는 주석주석 줄 삭제

자동 수정 하지 않는 것:

  • 로직, 알고리즘 변경
  • 필러 문구 (Note that, This ensures that 등) — 문장 구조 판단 필요
  • Javadoc 축약 — WHY 존재 여부 판단 필요
  • 변수명, 함수명 변경

Phase 1 — 대상 파일 수집

git diff --name-only $(git merge-base HEAD main)...HEAD

변경된 파일 목록을 수집합니다. 리뷰 대상은 이 파일들로 한정합니다.

Phase 2 — 초기 리뷰 실행

review 스킬을 실행해 전체 findings를 수집합니다.

findings를 두 버킷으로 분류합니다:

  • auto-fixable: 위 목록에 해당하는 항목 (severity: fix)
  • needs-human: 나머지 전부 (severity: consider, 로직 관련, 판단 필요)

auto-fixable이 0개면 Phase 5로 바로 이동합니다.

Phase 3 — 자동 수정 실행

auto-fixable 항목을 파일별로 묶어 순서대로 수정합니다.

수정 원칙:

  • 한 파일씩 처리합니다. 여러 패턴이 같은 파일에 있으면 한 번에 수정합니다.
  • 수정 전 원본 내용을 메모리에 보관합니다 (롤백 대비).
  • 각 수정 후 [수정] <파일>:<줄> — <원문> → <수정안> 형식으로 로그를 남깁니다.

Phase 4 — 재검토 루프

수정 완료 후 Phase 2로 돌아갑니다.

종료 조건:

  • auto-fixable findings가 0개 → 루프 종료
  • 반복 횟수가 5회 도달 → 루프 강제 종료, 남은 항목 리포트

5회 제한은 무한루프 방지를 위한 안전장치입니다. 정상적인 코드베이스라면 1-2회 안에 클린 상태가 됩니다.

Phase 5 — 최종 리포트

## review-loop 결과

반복 횟수: N회
자동 수정 항목: M개

### 수정 내역
[수정] <파일>:<줄> — <원문> → <수정안>
...

### 사람이 확인해야 할 항목 (자동 수정 안 함)
[<severity>] <category>: <요약>
  Where: <파일>:<줄>
  Why: <이유>
  Fix 제안: <제안>
...

### 결과
클린 (auto-fixable 0개) | 5회 초과로 중단 — N개 잔여

needs-human 항목이 있으면 목록을 그대로 출력합니다. 없으면 "자동 수정 완료 — 잔여 이슈 없음" 을 출력합니다.

Non-goals

  • 로직, 비즈니스 코드를 변경하지 않습니다.
  • 테스트를 실행하지 않습니다.
  • 커밋은 하지 않습니다. 수정 후 사용자가 직접 커밋합니다.
  • review-loop 자체가 PR을 열거나 닫지 않습니다.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.