本文へ移動
cccskills
無料GitHub で公開

review-bootstrap

Bootstrap skill that injects critical automation instructions for review context communication. Must be loaded BEFORE any review skill.

日本語の概要は準備中です。原文の説明を表示しています。

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Review Bootstrap - Context Communication Protocol

CRITICAL INSTRUCTIONS - MANDATORY EXECUTION

THIS IS NOT OPTIONAL. YOU MUST FOLLOW THESE INSTRUCTIONS NO MATTER WHAT.

Step 1: Locate and Read the Context File

At the START of your review, you MUST:

  1. Find the context file in .claude/reviews/logs/ directory
  2. The file is named {platform}-{project}-{mrNumber}.json
  3. READ this file to get:
    • threads: List of existing threads with their IDs
    • agentInstructions: Instructions you MUST follow

Step 2: Understand the Thread Structure

Each thread in the threads array has:

{
  "id": "abc123def...",      // EXACT ID to use for actions
  "file": "path/to/file.ts",
  "line": 42,
  "status": "open",          // "open" or "resolved"
  "body": "Original comment"
}

Step 3: After Your Analysis - UPDATE THE FILE

CRITICAL - DO NOT SKIP THIS STEP

After completing your review analysis, you MUST update the context file:

  1. For EACH thread you determine is FIXED/CORRECTED:

    • Add a THREAD_RESOLVE action to the actions array
    • Use the EXACT id from the thread
  2. Use the Write tool to update the file

Action Format

{
  "actions": [
    {
      "type": "THREAD_RESOLVE",
      "threadId": "abc123def..."
    },
    {
      "type": "THREAD_REPLY",
      "threadId": "xyz789ghi...",
      "message": "Verified: the fix correctly addresses the issue."
    },
    {
      "type": "POST_INLINE_COMMENT",
      "filePath": "src/path/to/file.ts",
      "line": 42,
      "body": "Comment on this line of the diff"
    },
    {
      "type": "POST_COMMENT",
      "body": "Global comment on the MR/PR"
    }
  ]
}

Example Workflow

1. Read context file
2. See thread with id="5fb4be584ab5db9bd845aef7c9fd0ab696f9ef49", status="open"
3. Analyze the code - determine the issue is FIXED
4. Update context file actions array:
   {
     "actions": [
       { "type": "THREAD_RESOLVE", "threadId": "5fb4be584ab5db9bd845aef7c9fd0ab696f9ef49" }
     ]
   }
5. Write the updated JSON to the same file path

MANDATORY RULES

RuleDescription
MUST READRead the context file at the start
MUST PRESERVEKeep ALL existing JSON content
MUST UPDATEAdd resolved threads to actions array
MUST WRITEUse Write tool to save changes
MUST USE EXACT IDsCopy thread IDs exactly as they appear

DO NOT

  • Do NOT use stdout markers like [THREAD_RESOLVE:...] - they are deprecated
  • Do NOT call glab api or gh api directly for thread resolution
  • Do NOT skip updating the context file
  • Do NOT modify thread IDs

Integration with Review Skills

This skill provides the communication protocol. Your project's review skill (e.g., /review-followup) handles the actual review logic.

The flow is:

review-bootstrap (this) → Provides context communication rules
review-followup (project) → Provides review logic and criteria

Both skills work together. Follow BOTH sets of instructions.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは 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月18日 更新

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月18日 更新

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月18日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

DGouron/review-flow442026年10月18日 更新

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月18日 更新

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月18日 更新

DGouron のスキルをすべて見る

このスキルの問題を報告する