Rpgmaker Consistencyのロゴ

Rpgmaker Consistency

コミュニティ
nightquill
rpgmaker-consistency

Use this skill when validating cross-file references, checking for orphaned database entries, or detecting switch collisions in an RPG Maker MV or MZ project. Triggers: running project-wide validation, checking if item/actor/skill references resolve, finding switch ID conflicts across maps, or when the user mentions consistency, validation, orphaned references, broken references, switch collisions, or cross-file checks in an RPG Maker context. Provides: cross-file reference rules, orphaned reference detection, switch collision detection, and a master validate_project.py runner.

概要

公開者nightquill
リポジトリrpgmaker-agent-skills
スキル名rpgmaker-consistency
スター
30
フォーク
3
同梱ファイル
2
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

RPG Maker MV/MZ Consistency Skill

This skill covers cross-file reference validation and consistency checking in RPG Maker MV and MZ projects. It teaches agents how database IDs are referenced across JSON data files, which reference types are checked, and how to detect orphaned references and switch collisions that would cause silent bugs or runtime crashes.

All consistency checks generated by this skill are drafts for developer review -- never authoritative final content.


When to Use This Skill

Load this skill when:

  • Validating a project's overall data integrity before shipping
  • Checking whether item, actor, skill, weapon, armor, enemy, or troop IDs referenced in events or database entries actually exist in the target file
  • Finding orphaned items, skills, or database entries that no longer have referencing events
  • Detecting switch IDs that are SET in multiple maps (possible copy-paste collision bugs)
  • Running validation after any bulk edit operation that touched IDs or restructured database files
  • The user mentions consistency, validation, orphaned references, broken references, switch collisions, or cross-file checks in an RPG Maker context

Critical Safety Rules

These rules prevent misuse of the validation scripts and ensure findings are interpreted correctly.

  1. Never auto-fix orphaned references. Removing or reassigning a reference may break a quest chain, conditional branch, or plugin behavior the validator cannot see. Flag the orphan and let the developer decide.

  2. Switch collisions are warnings, not errors. The developer may intentionally reuse a global switch across maps (e.g., a day/night toggle set by both an outdoor map and an overworld map). Always confirm intent before treating a collision as a bug.

  3. validate_project.py is read-only. It never modifies project files. No backup is needed before running it, but it is good practice anyway.

  4. Always re-validate after any bulk edit operation. Adding enemies, moving shop items, or renumbering actors can introduce new orphaned references that were not present in the last validation pass.


Cross-File Reference Rules

Every database ID stored in a JSON field is a cross-file reference. If the target entry does not exist at that array index, RPG Maker silently uses fallback values or crashes.

Reference TypeSource LocationTarget FileCheck Method
Item pickup (code 126)Event params[0]Items.jsonID in range and not null
Weapon change (code 127)Event params[0]Weapons.jsonID in range and not null
Armor change (code 128)Event params[0]Armors.jsonID in range and not null
Party member (code 129)Event params[0]Actors.jsonID in range and not null
Shop goods (code 302)goods[n][1]Items/Weapons/Armors.jsonID in range by type
Battle processing (code 301)Event params[0]Troops.jsonID in range and not null
Control switches (code 121)Event params[0]-params[1]System.json switchesID within array length
Control variables (code 122)Event params[0]-params[1]System.json variablesID within array length
Actor name text code\N[id] in dialogActors.jsonID in range and not null
Icon text code\I[id] in dialogItems.jsonID in range and not null
Enemy skill (database)Enemies.json actions[n].skillIdSkills.jsonID in range and not null
Troop member (database)Troops.json members[n].enemyIdEnemies.jsonID in range and not null
Class skill learn (database)Classes.json learnings[n].skillIdSkills.jsonID in range and not null
Actor class (database)Actors.json classIdClasses.jsonID in range and not null

For the complete reference map with field paths and parameter layouts, see references/cross-file-refs.md.


Validation Severity Levels

SeverityMeaningExit CodeExamples
ERROROrphaned reference that would cause a runtime crash or silent data lossexit 1Event references item ID 99 but Items.json only has IDs 1-3; enemy action references skill ID 50 which does not exist
WARNINGPotential issue that may be intentional; developer should reviewexit 0Switch ID 5 (unnamed) is SET in both Map001 and Map003 -- possible copy-paste collision

For full severity rules by checker, see references/validation-rules.md.


Helper Scripts

These scripts live in scripts/. Run from the repository root with PYTHONPATH=..

ScriptUsagePurpose
validate_project.py--project <path>Run all consistency checks; exit 0 = clean, exit 1 = errors
check_orphaned_refs.py--project <path>Check cross-file references; exit 0 = clean, exit 1 = errors
check_switch_collisions.py--project <path>Check for switch collision candidates; always exits 0 (warnings only)

All scripts are read-only -- they never modify project files.


Quick Usage

bash
# Run all consistency checks (recommended before shipping)
PYTHONPATH=. python scripts/validate_project.py --project path/to/project

# Check cross-file references only
PYTHONPATH=. python scripts/check_orphaned_refs.py --project path/to/project

# Check for switch collision candidates only
PYTHONPATH=. python scripts/check_switch_collisions.py --project path/to/project

Exit codes follow linting convention: 0 = no errors, 1 = one or more ERRORs. Warnings never cause a non-zero exit.


Navigation

DocumentContents
references/cross-file-refs.mdComplete cross-file reference map: every field that stores a database ID, which file it points to, and the field path
references/validation-rules.mdERROR vs WARNING severity rules for each checker, global-switch heuristic, and umbrella runner behavior
../rpgmaker-core/SKILL.mdProject structure, safety rules, MV/MZ detection
../rpgmaker-events/SKILL.mdEvent command codes, switch/variable usage, event patterns

All validation outputs from this skill are drafts for developer review. The developer makes the final decisions about whether flagged issues need fixing.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Rpgmaker Consistency」では何ができますか?

Use this skill when validating cross-file references, checking for orphaned database entries, or detecting switch collisions in an RPG Maker MV or MZ project. Triggers: running project-wide validation, checking if item/actor/skill references resolve, finding switch ID conflicts across maps, or when the user mentions consistency, validation, orphaned references, broken references, switch collisions, or cross-file checks in an RPG Maker context. Provides: cross-file reference rules, orphaned reference detection, switch collision detection, and a master validate_project.py runner.

TypingMindでRpgmaker Consistencyを使うメリットは何ですか?

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

TypingMindにRpgmaker Consistencyをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/nightquill/rpgmaker-agent-skills/tree/main/skills/rpgmaker-consistencyを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Rpgmaker Consistencyを使えるAIモデルはどれですか?

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

Rpgmaker Consistencyで使えるAIモデルの数に制限はありますか?

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

AIスキル「Rpgmaker Consistency」は無料ですか?

はい。nightquillがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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