agentleFS
LeeYudokLeeYudok/agents-scaffold/skills/core/review/SKILL.md

review

Skill40 starsChanged 15 days agoMITView on GitHub

코드 변경사항 전체 리뷰. code-reviewer 에이전트 + security-audit 에이전트를 순차 실행하는 래퍼 스킬. PR/MR 생성 전 또는 리뷰 요청 시 사용.

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use close-spec, design-with-images and 10 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.
  • dzhngSkill

    close-spec

    When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).

    Also in 5 projects that use this

  • dzhngSkill

    design-with-images

    Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.

    Also in 5 projects that use this

  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • +3 more from dzhng
  • +5 more from Lambenthan

The file

Files
SKILL.md

코드 리뷰 (래퍼)

code-reviewer + security-audit 에이전트를 순차로 실행해 완전한 리뷰를 수행한다.

실행 순서

Step 1 — 변경 범위 파악

base=$(for r in origin/HEAD origin/main origin/master main master; do git merge-base HEAD "$r" 2>/dev/null && break; done)  # 기본 브랜치 분기점
[ -n "$base" ] || base=$(git rev-parse --verify -q HEAD~1)  # 그래도 비면 범위를 사용자에게 묻고 중단
git diff --stat "$base"       # 커밋 + 미커밋 변경 전부
git diff --name-only "$base"

변경이 없으면 종료.

Step 2 — 코드 리뷰 (code-reviewer 에이전트)

Agent(subagent_type: "code-reviewer") 호출:

  • 보안: 하드코딩 키/토큰, 입력 검증 누락
  • 성능: N+1 쿼리, 불필요한 동기 I/O
  • 품질: any 타입, 50줄 초과 함수, 중복, 죽은 코드
  • 컨벤션: .claude/rules/ 규약 위반

Step 3 — 보안 감사 (security-audit 에이전트)

Agent(subagent_type: "security-audit") 호출:

  • P0 보안 12개 항목 grep 스캔
  • 취약한 암호화, SQL Injection, CORS 와일드카드

Step 4 — 종합 보고

## 코드 리뷰 종합 — {{PROJECT_NAME}}

### 코드 리뷰
CRITICAL N건 / WARNING M건 / SUGGESTION K건

### 보안 감사
P0 위반 N건 / P1 위반 M건

### 머지 권고
✅ 머지 가능 / ❌ CRITICAL 또는 P0 위반으로 머지 보류

CRITICAL 또는 P0 위반이 하나라도 있으면 머지 보류 권고.

빠른 리뷰 (인자 있으면)

/review quick — security-audit 생략, code-reviewer만 실행.

Learned warnings

(실행 중 발견한 주의사항이 여기에 누적됩니다)

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.