Story Review Test Fixのロゴ

Story Review Test Fix

コミュニティ
MinhLN1234
story-review-test-fix

Verify that a finished story's implementation actually satisfies its acceptance criteria and GDD/epic spec, run or check its tests, and propose fixes for failures, without silently changing the spec to match the code. Use this as a deeper check alongside or before ccgs-story-done, such as when a story is marked ready for completion review, when tests are failing and need patching, or when the user asks "does this match the spec", "is this story actually done", or "why is this test failing." Distinct from unity-bug-root-cause (which traces unexplained bugs) — this skill specifically checks implementation against a written spec.

Add to TypingMind

概要

公開者MinhLN1234
リポジトリClaude-Cowork-Game-Studio
スキル名story-review-test-fix
スター
79
フォーク
31
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    MinhLN1234がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Story Review Test Fix」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/MinhLN1234/Claude-Cowork-Game-Studio/tree/master/story-review-test-fix
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MinhLN1234/Claude-Cowork-Game-Studio.git /tmp/Claude-Cowork-Game-Studio
mkdir -p .claude/skills
cp -r /tmp/Claude-Cowork-Game-Studio/story-review-test-fix .claude/skills/story-review-test-fix
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでStory Review Test Fixを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にStory Review Test Fixを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Story Review Test Fixは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Story Review + Test Fix

ccgs-story-done handles the completion ritual (status updates, surfacing the next story). This skill is the verification work underneath it: actually proving the code does what the story and GDD say it should, and fixing test failures in a way that respects the spec rather than bending the spec to whatever the code currently does.

Step 1: Read the spec before the code

Pull the story file and trace its acceptance criteria back to the governing GDD section, epic, and any ADRs it cites. Write down each acceptance criterion as a separate, checkable statement before looking at the implementation — this avoids the common failure mode of skimming the code, deciding it "looks right," and retrofitting justification. If the project doesn't use formal story files, use whatever written spec exists (ticket, design doc, user's description) as the source of truth.

Step 2: Map criteria to code, one at a time

For each acceptance criterion, find the specific code that's supposed to satisfy it. If you can't find code that addresses a criterion, that's a gap — don't assume it's handled elsewhere without checking. If a criterion is ambiguous enough that two different implementations would both seem to satisfy it, flag the ambiguity rather than picking an interpretation silently.

Step 3: Run the tests, read the failures literally

When a test fails, read what it's actually asserting before deciding the test is "just out of date." Three possibilities, in order of how often each turns out to be true:

  1. The implementation is wrong — it doesn't match the documented rule (check the GDD/design-doc value directly, not what the developer probably intended).
  2. The test is wrong — it encodes an outdated or incorrect expectation. Verify against the spec before changing it; don't change a test just to make it pass.
  3. The spec itself is ambiguous or has changed — in this case, don't unilaterally resolve it. Surface the discrepancy to the user explicitly; deviations from the GDD/ADRs should be flagged, not quietly absorbed into the code.

Step 4: Fix at the right layer

If the fix touches a numeric rule or threshold (health, timing/cooldown, transition type, spawn/wave activation), check whether that value is referenced anywhere else — other scripts, other docs — and keep them in sync rather than fixing one occurrence. Fixing one place and missing a duplicate is a common way the same bug returns later.

Step 5: Independent re-check from a fresh context (review mode full only)

The context that wrote or fixed the code shares its blind spots: it knows what the code was meant to do and reads that intent into what it actually does. In full review mode, get a second verdict from a context that has never seen this conversation. (Pattern adapted from ECC's santa-method and fresh-context code-reviewer, github.com/affaan-m/ECC, MIT.)

Resolve the review mode: --review [full|lean|solo] argument if given, else production/review-mode.txt, else lean. In lean or solo, skip this step and write "Independent re-check: skipped ([mode] mode)" in the report. The user can always ask for it explicitly in any mode.

In full mode:

  1. Launch one general-purpose subagent via the Agent tool. Give it only:
    • the story file path and the governing GDD section and ADR paths from Step 1,
    • the list of files changed for this story (paths only; it reads them itself),
    • the test files for this story. Do not pass your criteria list, your Step 2 mapping, your Step 3 conclusions, or any summary of this conversation. Its value comes from not knowing them.
  2. Brief it: "Read the story and its GDD/ADR references. Write down each acceptance criterion yourself. For each one, find the code and test that satisfy it and give PASS / FAIL / UNCLEAR with file:line evidence. Check every numeric value against the GDD, not against comments in the code. Do not edit any file."
  3. Compare its verdicts with yours, criterion by criterion:
    • Both PASS: done.
    • Any disagreement, or any UNCLEAR: re-read the evidence yourself. If the subagent is right, treat it as a FAIL and go back to Step 3 or 4. If you are confident it is wrong, keep your verdict but list the disagreement in the report with both pieces of evidence, so the user decides.
    • A criterion the subagent found that you did not list in Step 1: you misread the story. Add it and check it.
  4. Run at most two rounds (initial re-check, then one re-check after fixes). If they still disagree after that, stop and escalate to the user rather than looping.

Step 6: Report, don't just "mark done"

Before handing off to ccgs-story-done for the completion ritual, give a clear pass/fail per acceptance criterion:

## Acceptance criteria check
- [criterion 1]: PASS / FAIL — [evidence: file/test/line]
- [criterion 2]: PASS / FAIL — [evidence]

## Test results
[which tests ran, which failed, root cause of each failure per Step 3's three categories]

## Spec deviations found
[anything where code and GDD/ADR disagree — flagged, not silently resolved]

## Fixes applied
[what was changed and why, including any other code/doc locations updated for consistency]

## Independent re-check
[full mode: agreed on N/M criteria; each disagreement with both verdicts and evidence, and how it was resolved. Otherwise: "skipped ([mode] mode)"]

Only treat a story as genuinely ready for ccgs-story-done once every criterion is a clear PASS or the user has explicitly accepted a documented deviation, and, in full mode, every re-check disagreement has been resolved or accepted by the user.

よくある質問

AIスキル「Story Review Test Fix」では何ができますか?

Verify that a finished story's implementation actually satisfies its acceptance criteria and GDD/epic spec, run or check its tests, and propose fixes for failures, without silently changing the spec to match the code. Use this as a deeper check alongside or before ccgs-story-done, such as when a story is marked ready for completion review, when tests are failing and need patching, or when the user asks "does this match the spec", "is this story actually done", or "why is this test failing." Distinct from unity-bug-root-cause (which traces unexplained bugs) — this skill specifically checks i...

TypingMindでStory Review Test Fixを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Story Review Test Fixはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにStory Review Test Fixをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/MinhLN1234/Claude-Cowork-Game-Studio/tree/master/story-review-test-fixを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Story Review Test Fixを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Story Review Test Fixで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもStory Review Test Fixを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Story Review Test Fix」は無料ですか?

MinhLN1234がGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇