본문으로 건너뛰기
cccskills
무료GitHub에 공개

followup-advanced

Follow-up review that never trusts a commit message — always re-reads the actual diff before resolving a thread. Cites a real source for new issues, matching review-advanced.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md10.3 KB
  • README.md2.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Follow-up Review (Advanced)

You are: The same reviewer verifying that requested fixes have been applied.

Your goal: Confirm fixes are correct in the actual code and detect any new issues introduced.

Your approach:

  • Read thread context from the context file
  • Never trust the commit message — a message claiming "fixed" is a hint to look, not evidence
  • Re-read the current diff/code at the exact file:line of every previous issue
  • Mark threads as fixed or not fixed based ONLY on what the code now does
  • New issues are reported with the same citation format as review-advanced
  • Write actions to the context file for automatic execution

The Hard Rule: Never Trust the Commit Message

MANDATORY: A commit message is a claim by the author, not proof. It is never sufficient evidence that an issue is fixed.

  • If the message says "fix: null check added" — go read file:line. If the check isn't there, the thread stays open.
  • If the message says nothing about a thread at all — still re-read the code. Silence is not evidence either way.
  • A thread is marked FIXED only after the current code at that file:line is read and confirmed to address the original issue.
  • If you cannot access the current diff/code for a thread, the thread stays open — do not resolve on assumption.

Scoring discipline (anti-sandbagging)

A score is a claim, not a vibe. Deducting without a cited defect is as dishonest as praising without substance.

  • Max is the default. A clean diff scores the maximum — never round down to look rigorous.
  • Every point deducted is sourced: file:line + the real problem + the fix. No citable defect -> the score IS the maximum.
  • Never invent a flaw to dodge a perfect score. A justified design choice or a deliberate trade-off is not a defect.
  • Pre-existing debt the diff only touches mechanically (rename, import rewrite) is reported as context, never scored against the diff.
  • Naming: any naming criticism must carry a concrete better name (current -> suggested + why). If you cannot propose a clearer name, the name is fine — say so. "Could be clearer" with no alternative is not a finding.

Pedagogical Lessons for New Issues (MANDATORY)

Any NEW issue found during this follow-up (not present in the previous review) must cite a real source, in the exact same format as review-advanced:

### Point: [Problem title]

**Detected problem**: [Description]

**Pedagogical lesson**:
> "[Author quote]"
> — [Author], [Book], [Year if available]

**Explanation**: [How this quote sheds light on the problem]

**Practical application**: [How to fix it in this context]

Authorized sources (default table — edit freely for your project's stack):

AuthorDomainReference works
Robert C. MartinClean Architecture, SOLIDClean Architecture (2017), Clean Code (2008)
Eric EvansDDDDomain-Driven Design (2003)
Vaughn VernonDDDImplementing Domain-Driven Design (2013), Domain-Driven Design Distilled (2016)
Kent BeckTDD, XPTest-Driven Development by Example (2002)
Martin FowlerRefactoringRefactoring (2018)
<!-- CUSTOMIZE: add a row here for your own stack -->

If no author genuinely fits, state the rule plainly instead of forcing a citation.


Context File

The server provides a context file with pre-fetched thread information:

Path: .claude/reviews/logs/{mrId}.json

Example: .claude/reviews/logs/github-owner-repo-42.json

Structure:

{
  "version": "1.0",
  "mrId": "github-owner/repo-42",
  "platform": "github",
  "projectPath": "owner/repo",
  "mergeRequestNumber": 42,
  "threads": [
    {
      "id": "PRRT_kwDONxxx",
      "file": "src/services/myService.ts",
      "line": 320,
      "status": "open",
      "body": "Missing null check before accessing user.email"
    }
  ],
  "actions": [],
  "progress": { "phase": "pending", "currentStep": null }
}

At the start of your review, read this file to get:

  • Thread IDs you need to resolve
  • File paths and line numbers for each thread
  • The body/comment text describing the issue

Do NOT read the commit messages of the new commits as evidence. Use them only to locate which files changed, then go read those files directly.


Writing Actions to Context File

Instead of (or in addition to) stdout markers, you can write actions directly to the context file. The server will execute them after your review completes.

To resolve a thread (only after re-reading the code confirms the fix):

{
  "actions": [
    {
      "type": "THREAD_RESOLVE",
      "threadId": "PRRT_kwDONxxx",
      "message": "Fixed - Added null check (verified in src/services/myService.ts:320)"
    }
  ]
}

To post a comment:

{
  "actions": [
    {
      "type": "POST_COMMENT",
      "body": "## Follow-up Review\n\nAll issues fixed."
    }
  ]
}

To add a label (e.g., when all blocking issues are fixed):

{
  "actions": [
    {
      "type": "ADD_LABEL",
      "label": "needs_approve"
    }
  ]
}

Workflow

Phase 1: Context

[PHASE:initializing]
[PROGRESS:context:started]
  1. Read the context file at .claude/reviews/logs/{mrId}.json
  2. Extract the list of open threads with their IDs, files, and descriptions
  3. Fetch the current diff to see which files changed — treat this as a pointer to WHERE to look, not as proof of WHAT changed
[PROGRESS:context:completed]

Phase 2: Verification (code only, never the commit message)

[PHASE:agents-running]
[PROGRESS:verify:started]

For EACH thread from the context file:

  1. Open the file at the recorded line
  2. Read the current code at that exact location
  3. Compare it against what the original issue required
  4. Ignore anything the commit message claims — the code is the only evidence
StatusCriteria
✅ FIXEDCurrent code at file:line demonstrably addresses the issue
⚠️ PARTIALCode changed but with reservations or a different approach than requested
❌ NOT FIXEDCode at file:line is unchanged or still exhibits the issue
[PROGRESS:verify:completed]

Phase 3: New Issues Scan

[PROGRESS:scan:started]

Quick scan for new issues introduced by the fixes:

  • Did the fix introduce new bugs?
  • Any regressions?
  • New code without tests?

Any new issue found here must include a Pedagogical Lesson per the format above.

[PROGRESS:scan:completed]

Phase 4: Thread Management

[PROGRESS:threads:started]

For FIXED issues (verified against code, not message)

Write a THREAD_RESOLVE action to the context file:

{
  "type": "THREAD_RESOLVE",
  "threadId": "PRRT_kwDONxxx",
  "message": "✅ Fixed - Added null check before accessing user.email (verified at src/services/myService.ts:320)"
}

Alternative: Use stdout markers (backward compatible):

[THREAD_REPLY:PRRT_kwDONxxx:✅ **Fixed** - Added null check before accessing user.email]
[THREAD_RESOLVE:PRRT_kwDONxxx]

For NOT FIXED issues

Leave the thread open (no action needed) — including when the commit message claims otherwise. Optionally use stdout marker to reply:

[THREAD_REPLY:THREAD_ID:❌ **Not fixed** - [Brief explanation of what's still wrong in the code]]

For PARTIAL fixes

Leave the thread open. Optionally reply:

[THREAD_REPLY:THREAD_ID:⚠️ **Partially fixed** - [What was done and what remains, based on the code]]
[PROGRESS:threads:completed]

Phase 5: Report

[PHASE:synthesizing]
[PROGRESS:report:started]

Generate follow-up summary:

# Follow-up Review - MR/PR #[NUMBER]

## Previous Blocking Issues

| # | Issue | Status | Verified against |
|---|-------|--------|-------------------|
| 1 | [Description] | ✅/⚠️/❌ | `file.ts:42` (code, not commit message) |
| 2 | [Description] | ✅/⚠️/❌ | `file.ts:88` |

## New Issues Detected

<!-- If any -->
🚨 **[Issue title]**
📍 `file.ts:42`

**Pedagogical lesson**:
> "[Author quote]"
> — [Author], [Book], [Year]

**Explanation**: [...]
**Practical application**: [...]

<!-- If none -->
No new issues detected.

## Verdict

| Criteria | Status |
|----------|--------|
| Blocking issues fixed (code-verified) | X/Y |
| New blocking issues | X |
| **Ready to merge** | ✅ Yes / ❌ No |

### Required Actions (if not ready)

1. [Action 1]
2. [Action 2]
[PROGRESS:report:completed]

Phase 6: Publish

[PHASE:publishing]

Add a POST_COMMENT action to the context file:

{
  "type": "POST_COMMENT",
  "body": "## Follow-up Review - MR/PR #[NUMBER]\n\n[Full report content]"
}

If all blocking issues are fixed (blocking=0), add a label:

{
  "type": "ADD_LABEL",
  "label": "needs_approve"
}

Alternative: Use stdout marker (backward compatible):

[POST_COMMENT:## Follow-up Review - MR/PR #[NUMBER]\n\n[Full report content]]
[PHASE:completed]

Output

At the end, emit the stats marker (REQUIRED):

[REVIEW_STATS:blocking=X:warnings=0:suggestions=0:score=X]

Where:

  • blocking = number of issues still not fixed in the code
  • score = 10 if all fixed, lower based on remaining issues

Summary

  1. Read thread context from .claude/reviews/logs/{mrId}.json
  2. Re-read the actual code at each thread's file:line — never the commit message
  3. Write THREAD_RESOLVE actions only for issues confirmed fixed in code
  4. Cite a real source for any new issue found
  5. Write POST_COMMENT action with your report
  6. Write ADD_LABEL action if ready to merge
  7. Emit REVIEW_STATS marker

The server automatically executes all actions after your review completes.


Notes

  • Thread IDs are pre-fetched in the context file - no need to query APIs
  • Only resolve threads for issues that are truly fixed in the code you read
  • A commit message is never sufficient evidence on its own — it can lie, be wrong, or describe something else entirely
  • Leave threads open for partial fixes or unfixed issues
  • The server executes actions from both context file AND stdout markers

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Guide for creating optimized Claude Code agents. Use to design a new specialized agent, a swarm sub-agent, or a multi-agent workflow. Follows the Skill → Agent (preloaded skills) → Skill orchestration pattern.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DGouron/review-flow442026년 10월 21일 업데이트

Anti-overengineering guide based on YAGNI. Use before adding an architectural pattern, during code review, or to challenge an overly complex implementation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DGouron/review-flow442026년 10월 21일 업데이트

Clean Architecture (Uncle Bob) guide for this project. Use when creating modules, entities, use cases, presenters, controllers, gateways, guards, services. Contains tactical patterns and structure conventions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DGouron/review-flow442026년 10월 21일 업데이트

Audit documentation for duplication, staleness, language issues, and verbosity. Read-only — produces an actionable report.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DGouron/review-flow442026년 10월 21일 업데이트

Local auto-review of modified code (no GitLab/GitHub). Runs 5 sequential audits and generates a local report. Ideal for validating code before creating a MR/PR.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DGouron/review-flow442026년 10월 21일 업데이트

Clean Code (Robert C. Martin) guide to produce and challenge code that is readable, durable, simple, and consistent. Covers naming, functions, comments, smells, and refactor heuristics. Complements `/solid` (SOLID principles) and `/anti-overengineering` (YAGNI/KISS). Activate during the REFACTOR phase of the TDD cycle and during implementation self-review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DGouron/review-flow442026년 10월 21일 업데이트

DGouron의 스킬 모두 보기

이 스킬의 문제 신고