randallliuxin/godotmaker/gm-fixgap

Claude Code and agent skill by randallliuxin/godotmaker

Trust tier 2
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Fix gaps identified by the Evaluator. Generates GAP.md from evaluation.json, dispatches workers to address critical/major issues, then runs one final verify+review pass. Unlike gm-build (PLAN.md-driven), gm-fixgap is GAP.md-driven. Explicit invocation only — use /gm-fixgap.

Install

npx vskill@latest install randallliuxin/godotmaker/gm-fixgap

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as randallliuxin/godotmaker/gm-fixgap.

GodotMaker Fix Gap

$ARGUMENTS

You are fixing specific issues identified by the Evaluator. You read the evaluation report, generate a GAP.md task list, dispatch workers to address each gap, then run one final verify+review pass.

Loop position: /gm-fixgap is never terminal. The cycle is /gm-fixgap → /gm-verify → /gm-evaluate. Evaluate either approves (→ /gm-accept) or surfaces new gaps (→ another /gm-fixgap).

Session Setup

FIRST ACTION — before anything else: Write fixgap to .godotmaker/current_role.

Resume Check

Read .godotmaker/stage.jsonl (treat as empty if missing) — each line is {"role": X, "ts": Y}.

  • If no event with `role == "evaluate"` exists anywhere in the file, .godotmaker/evaluation.json does not exist, OR .godotmaker/evaluation-runs/latest.json does not exist → STOP. Tell user to run /gm-evaluate first.
  • If evaluation.json result is "approve" → STOP. Tell the user:

> "The latest evaluation was already approved. Recommended next: /gm-accept. > If you need to redo this step or have other plans, just tell me."

Read .godotmaker/verify_report.json if it exists.

Define pending verify feedback as:

  • .godotmaker/verify_report.json exists.
  • Its top-level result is "fail".
  • Its ts is later than the latest role == "fixgap" event in stage.jsonl, or there is no prior fixgap event.

Apply the remaining resume gates in this order:

  • If pending verify feedback exists → proceed, even if the last event is fixgap and GAP.md is not at project root.
  • If the last event has role == "fixgap" AND GAP.md is not at project root (already archived) → STOP. Tell the user:

> "Fixgap already completed for the latest evaluation at {timestamp}. Recommended next: /gm-verify. > If you need to redo this step or have other plans, just tell me."

  • Otherwise → proceed (fresh fixgap or repeat fixgap is both valid).

Then read context:

  • GAP.md (if present) → existing fix progress; find tasks not yet verified. If missing, Step 1 will generate it from evaluation.json (and verify_report.json).
  • .godotmaker/evaluation.json → the source of truth for product-layer issues to fix
  • .godotmaker/evaluation-runs/latest.json → the sole source of the evaluation run identity (archive_path, stage_event_ts, and tag); do not read run identity fields from evaluation.json
  • .godotmaker/verify_report.json → mechanical-layer failures from the most recent verify
  • PLAN.md → read-only; current tag's **Tag:** header tells you which tag's gaps you're fixing. The same tag-scope discipline as gm-build applies: previous tags' code is touchable only when a GAP item explicitly names it.
  • STRUCTURE.md → architecture ownership, dependencies, ordering constraints, and stable invariants (fixes need to respect existing system boundaries)
  • ASSETS.md → the generated-runtime authority; for a visual task, derive each asset with tools/asset_result_registration.py --snapshot

Hard Rules

Asset Runtime Authority

ASSETS.md is the sole runtime-asset authority. For a visual task, derive the snapshot with tools/asset_result_registration.py --snapshot and never read a stable entry, manifest pointer, or root index. The snapshot resolves generated and complete user-provided runtime rows, including uniquely named rows introduced by earlier tags.

  1. You CANNOT write .gd/.tscn/.tres directly. All game code goes through Worker dispatch.
  2. You and your workers CANNOT write to e2e/ directory. E2E tests are owned by the Evaluator.
  3. Workers CANNOT modify GAP.md/PLAN.md/STRUCTURE.md/ASSETS.md.
  4. Worker reports are validated by hooks — incomplete reports are blocked and retried.
  5. Only fix what `evaluation.json` or a fresh `verify_report.json` identified. Do not add features or refactor unrelated code.
  6. MUST NOT self-certify completion. Dispatch verifiers, then reviewers. Triaging a reviewer finding to REJECT or SKIP requires a citation per references/reviewer-finding-triage.md (mandatory for critical/major; optional for minor).
  7. Do not promote non-blocking visual findings. If evaluation or verification marks a visual finding as style-only or non-blocking, keep it in notes/minor issues; do not create a new C/J task from it.

Honest Reporting

  • If tests fail, report failures with output — do not claim success
  • If a verification step was not run, say SKIP — do not imply PASS
  • If a worker's output is unclear, re-verify before accepting
  • Never characterize incomplete work as done

Plan Discipline (Single-Direction State)

GAP.md tasks transition forward only:

pending → in_progress → completed → verified
  • Never move backward (e.g., verified → pending)
  • Never skip states
  • Update GAP.md IMMEDIATELY when a task changes status

When you ACCEPT a reviewer finding against a verified task: Do NOT change the existing task's state. Add a NEW task (status pending) in GAP.md describing the fix. The original task stays verified. The new task goes through the full lifecycle. REJECT and SKIP do not create tasks; see references/reviewer-finding-triage.md.

This way the state is always monotonic and the audit trail is preserved.

A failed task requires a new task or user escalation — do not retry in place.

Do NOT update PLAN.md task statuses — fixgap operates from evaluation.json gaps, not the original plan.

Build Cycle

Step 1 — Read Evaluation (+ Verify Feedback), Generate or Resume GAP.md

GAP.md may need tasks from two sources:

  1. `.godotmaker/evaluation.json` — product-layer issues found by the evaluator. Always processed.
  2. `.godotmaker/verify_report.json` — mechanical-layer failures from the most recent verify pass. Processed only when fresh.

Before processing either source, read .godotmaker/evaluation-runs/latest.json. Its archive_path is the stable identity of the evaluation run. Require role == "evaluate", a non-empty archive_path, stage_event_ts, and tag, and require evaluation_json to equal <archive_path>/evaluation.json. Use those manifest values to fill a newly generated GAP's provenance. Once a GAP.md exists, its own Source Evaluation Run Archive path is authoritative for archiving that GAP. Do not expect or read iteration, ts, or any other run-identity field from .godotmaker/evaluation.json.

1a. Pull issues from evaluation.json

Create one critical evaluation-source GAP task for each playable_unit.rows.* entry with result == "fail". Include the row key, test path, and evidence entries. Fix the game code or runtime path. Do not reduce the PLAN.md or e2e/ contract.

For each E2E-sourced issue, decide the repair path before writing GAP tasks:

  • Fix runtime behavior when the observable gameplay requirement is missing.
  • Add or expose deterministic test interfaces when evidence includes

requested_test_interface:.

  • Escalate back to /gm-evaluate when the E2E assertion or scenario is wrong.
  • Change normal gameplay behavior, balance, progression, content, or timing

only when the evaluation evidence cites a GDD.md or PLAN.md requirement.

Copy observed_gap: and requested_test_interface: evidence entries into the GAP task when present.

GAP tasks must preserve the normal gameplay flow while satisfying the observable requirement or requested test interface.

  • critical_issues — must fix all (→ task IDs C1, C2, …)
  • major_issues — fix as many as possible (→ task IDs J1, J2, …)
  • gameplay_issues — fix only if related to a critical/major (→ G1, G2, …)
  • minor_issues — skip unless trivial

Evaluation-source visual tasks must cite the blocking finding reported by evaluation. Do not create a C/J task from a style-only or non-blocking visual finding. For blocking visual tasks, copy the relevant evaluation.json.visual_checks scene, reference, captures[], latest vqa_calls[].context, and latest vqa_calls[].log into the GAP task.

Design rule findings. visual_checks.<scene>.design_rules[] entries are routed by their disposition, which evaluation derived from the rule text — never re-judge one:

  • blocking → a C task. Cite the rule_id, the verbatim rule_text, and the

reported evidence; the fix is to satisfy that rule, not to look more like the reference image.

  • non_blocking → keep it in GAP notes or minor issues. An ordinary Do

entry or dimension deviation never becomes a C/J task on its own.

  • human_review → do not create a task and do not fix it. Surface it to the

user as an open question with its rule_id and evidence; only a human resolves it.

1b. Pull failures from verify_report.json

Run this sub-step only if .godotmaker/verify_report.json exists, result == "fail", and its ts is later than the most recent role == "fixgap" event in stage.jsonl (or there is no prior fixgap event). Otherwise (file missing, result == "pass", or stale ts) → skip 1b; GAP.md comes from 1a only.

Translate failures into tasks using the existing C / J prefixes — verify-source tasks share the numbering pool with evaluation-source tasks. Each task carries both a classification (C/J) and an execution mode (worker / main-agent-direct / escalate-to-user); Step 3 follows the execution mode without re-classifying.

Project-code tasks (checks.<name>.result == "fail") — execution = dispatch worker (normal Worker → Verifier → Reviewer cycle):

  • checks.build.errors[] / checks.unit_tests.failures[] → C (compile/runtime failures block forward progress).
  • checks.unit_tests with failed > 0 and empty failures[] → C, one task: "investigate test runner output".
  • checks.static_check.issues[] of check == "missing_unit_test" → J (gap, not a hard block).
  • Other checks.static_check.issues[] → C (project-completeness gate).
  • checks.lint.issues[], checks.lint.format_drift → J (technical debt).
  • Unknown static_check.issues[].check discriminator → use the raw value verbatim, default C.

Config tasks (checks.<name>.result == "error", paired with tooling_notes[]):

  • Routable fallback WITH operand present (per the fallback table in gm-verify/SKILL.md Section B) → J, execution = main-agent-direct (apply the structured edit using the operand; Hard Rule 1 only restricts .gd/.tscn/.tres; mark verified after the next verify round confirms the crash is gone). NO worker dispatch.
  • escalate, OR routable with missing operand, OR unknown discriminator → C, execution = escalate-to-user (surface tool + error + crashed_on and any original suggested_fallback verbatim, halt the cycle, leave pending until the user resolves it). NO worker dispatch.

Each task records its origin via a Source: verify_report.json | evaluation.json line in the task block (and verify / evaluation in the Task Status table). Numbering follows insertion order — existing rows keep their numbers, new rows get the next available number per letter. Execution priority dispatches verify-source before evaluation-source regardless of number.

1c. Write or merge GAP.md

If `GAP.md` does not exist: Generate it from .claude/templates/GAP.md. Within each letter list verify-source tasks first (so they get the lower numbers), then evaluation-source. All tasks start as pending. Fill Source Evaluation Run from evaluation-runs/latest.json: Archive path, Stage event, and Tag. Record Result from evaluation.json. When applicable, also record Source Verify from verify_report.json.ts.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
547
Repository forks
48
7-day trend score
32

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/randallliuxin/godotmaker/gm-fixgap/badge)](https://verified-skill.com/skills/randallliuxin/godotmaker/gm-fixgap)

Something wrong with this skill or its page? Tell us.