Review logo

Review

Community
jh941213
review

현재 브랜치의 변경사항 코드 리뷰. Codex + Claude 듀얼 리뷰. 트리거: "리뷰", "review", "검토", "코드 리뷰", "PR 리뷰", "변경사항 확인" 안티-트리거: "구현", "코드 작성", "빌드"

Overview

Publisherjh941213
Repositorymy-cc-harness
Skill namereview
Stars
125
Forks
35
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by jh941213 on GitHub. Read the source before you install it.

Installation

Install the Review AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jh941213/my-cc-harness.git /tmp/my-cc-harness
mkdir -p .claude/skills
cp -r /tmp/my-cc-harness/skills/review .claude/skills/review
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Review in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Review on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Review is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

코드 리뷰 (Codex + Claude 듀얼 리뷰)

현재 브랜치의 변경사항을 Codex(설치된 최신 모델)와 Claude 두 관점에서 리뷰합니다.

Step 0: Codex 리뷰 (1차)

Codex 플러그인으로 1차 리뷰를 실행한다:

/codex:review

Codex 리뷰 결과를 수신한 후, Step 1로 진행하여 Claude 관점에서 2차 리뷰를 수행한다. 두 리뷰 결과를 종합하여 최종 보고서에 병합한다.

폴백: codex 플러그인이 설치되어 있지 않으면 Step 0을 건너뛰고 Step 1로 진행한다. 없는 Codex 결과를 지어내지 말 것 — 이 경우 최종 보고서의 Codex 섹션에 "미실행(플러그인 미설치)"으로 명시한다.

Step 1: 변경사항 수집

bash
# 기본 브랜치 자동 감지
BASE=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo "main")
git diff ${BASE}...HEAD --stat
git log ${BASE}...HEAD --oneline

# 구조적 diff (포매팅 변경 무시, 로직 변경만 표시)
GIT_EXTERNAL_DIFF=difft git diff ${BASE}...HEAD 2>/dev/null || git diff ${BASE}...HEAD

Step 2: 파일별 심층 리뷰 (Claude 2차)

각 변경 파일에 대해 아래 체크리스트 적용:

기능 (필수)

  • 요구사항을 충족하는가?
  • 엣지 케이스 처리 (null, 빈 값, 경계값)
  • 에러 핸들링이 적절한가?

버그 (필수)

  • 오프바이원 에러
  • 비동기 race condition
  • 타입 안전성 (any 사용, 타입 단언 남용)

보안 (필수)

  • 하드코딩된 시크릿/API 키 — gitleaks detect --source . --no-git -v 로 자동 스캔
  • SQL/XSS/명령어 인젝션
  • 사용자 입력 검증
  • 보안 이슈 발견 시 → security-reviewer 에이전트 에스컬레이션

성능

  • N+1 쿼리, 불필요한 루프
  • 번들 크기 영향 (큰 라이브러리 추가)
  • 메모리 누수 가능성

코드 품질

  • 함수 50줄 / 파일 800줄 이내
  • 중첩 4단계 이하
  • 네이밍이 의도를 설명
  • 불필요한 추상화 없음

테스트

  • 새 기능에 새 테스트 있는가?
  • 버그 수정에 회귀 테스트 있는가?
  • 기존 테스트가 깨지지 않는가?

심각도 분류

레벨의미예시
CRITICAL머지 차단. 보안/데이터 손실/크래시SQL 인젝션, 인증 우회, null 참조
WARNING수정 권장. 향후 문제 될 수 있음N+1 쿼리, any 타입, 누락된 에러 핸들링
INFO참고. 선택적 개선네이밍 개선, 약간의 중복

지적하지 않을 것 (False Positive 방지)

  • 코드 스타일/포매팅 (린터/포매터 역할)
  • 변경되지 않은 기존 코드의 문제 (diff 범위 밖)
  • 주관적 네이밍 선호 ("나라면 이렇게 이름 짓겠다")
  • import 순서
  • 줄바꿈/공백 스타일

Step 3: 출력 형식

각 발견 사항은 구조화된 형식으로:

[CRITICAL] [보안] (src/api/auth.ts:42): 사용자 입력이 SQL 쿼리에 직접 삽입됨
→ 수정: parameterized query 사용

[WARNING] [성능] (src/hooks/useData.ts:15): useEffect 의존성 배열에 객체 리터럴
→ 수정: useMemo로 감싸거나 개별 프로퍼티를 의존성으로

전체 리뷰 보고서

markdown
# 코드 리뷰: [브랜치명]

## 요약
[1-2문장 전체 평가]
- CRITICAL: N건 / WARNING: N건 / INFO: N건

## 파일별 리뷰

### path/to/file.ts
- [CRITICAL] (라인 XX): [설명] → [수정 방법]
- [WARNING] (라인 XX): [설명] → [제안]

## 판정
- **승인** — CRITICAL 0건
- **수정 후 승인** — CRITICAL 0건, WARNING 있음
- **재작업** — CRITICAL 1건 이상

리뷰 결과를 전달받는 측의 대응 규칙은 ~/.claude/rules/code-review-reception.md 참조 (리뷰 수신 측 규칙).

Step 4: 듀얼 리뷰 종합

최종 보고서에 다음 섹션을 추가:

markdown
## Codex 리뷰 결과
[Codex가 발견한 이슈 요약]

## Claude 추가 발견
[Codex가 놓쳤지만 Claude가 발견한 이슈]

## 교차 검증
[두 리뷰어가 동시에 지적한 항목 — 높은 신뢰도]

Step 5: 구조 분석 (자동)

bash
# 셸 상태는 bash 호출 간 유지되지 않음 — BASE를 이 블록에서 재정의
BASE=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo "main")

# 순환참조 검사 (JS/TS)
npx madge --circular --extensions ts,tsx src/ 2>/dev/null

# AI 슬롭 패턴 (ast-grep)
sg --pattern 'console.log($$$)' --lang ts 2>/dev/null | head -10
sg --pattern '$A as any' --lang ts 2>/dev/null | head -10

# 시크릿 스캔 (gitleaks)
gitleaks detect --source . --no-git -v 2>&1 | head -20

# 코드 통계 (scc) — 변경 파일만
scc $(git diff ${BASE}...HEAD --name-only) 2>/dev/null

Step 6: 반복 패턴 기록

리뷰 중 발견한 반복 패턴이나 실수는 progress.txt에 기록합니다.

Frequently asked questions

What does the Review AI skill do?

현재 브랜치의 변경사항 코드 리뷰. Codex + Claude 듀얼 리뷰. 트리거: "리뷰", "review", "검토", "코드 리뷰", "PR 리뷰", "변경사항 확인" 안티-트리거: "구현", "코드 작성", "빌드"

Why use Review on TypingMind?

Because you install it once and use it with any model. Review is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Review in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jh941213/my-cc-harness/tree/main/skills/review. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Review?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Review?

As many as you like. As long as a model supports skills, you can use Review with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Review AI skill free?

It is published on GitHub by jh941213. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇