Skip to content
AI & Agents
Skill

/fix-it-for-real

Fix bugs at the system level instead of patching symptoms, by reproducing each bug with a failing probe, finding who already solved the general problem, and committing small checked changes safely even when several agents share one checkout. Use when fixing a bug, especially one

From plugin
skills
18515 skills

Claude Code

$ npx -y skills add off-grid-ai/skills --skill fix-it-for-real --agent claude-code

SKILL.md

fix-it-for-real.SKILL.md
name: fix-it-for-real
description: Fix bugs at the system level instead of patching symptoms, by reproducing each bug with a failing probe, finding who already solved the general problem, and committing small checked changes safely even when several agents share one checkout. Use when fixing a bug, especially one that came back, or when the user says "no hack fixes", "fix it properly", "this keeps breaking", "fix the root cause" or "fix-it-for-real".

Fix the real problem

This works for any codebase. The examples come from games, where symptoms are easy to see and easy to patch badly, but the method is the same for apps, services and tools.

Before you start, find the project's own rules: the agent instructions file (CLAUDE.md, AGENTS.md, .cursorrules or similar), the contributing guide, the architecture doc, the linter and formatter config, and any rules-check script. Where this skill names a file such as "the architecture doc", use the project's equivalent.

If the user says "no test runs"

Sometimes the user wants the code finished with no time spent on side runs. When they say so, until they say otherwise:

  • Write code in the main tree and commit it. Find causes by reading the code and the logs, frames and reports that already exist.
  • Run nothing beyond compile and static checks: no probes, no autoplay, no test harness, no private copy of the services, no headless game.
  • The allowed checks only read files: the compiler or type checker on what you touched (for example `node --check`, `tsc --noEmit`, `godot --headless --check-only`, a C# or C++ build) and the project's rules-check script. A file that doesn't load is never left in the tree.
  • A probe the fix needs may be written but not run by you. Commit small and often, and name the probe in the commit so someone can run it later.
  • Testing is grouped and run by whoever owns it.

Change the real tree, never a copy

Make every edit in the project's own files, the ones that run. No working copy in a scratch folder to edit and copy back, and no "after" tree built beside it. A scratch copy is allowed only to run a probe's before-run against the untouched code at HEAD (read only, deleted after). Keep the tree working while you edit: make each edit whole, run its load or compile check at once, and land it. A file that doesn't load is never left in the tree.

No hack fixes: reproduce it, then fix the system

A bug seen on screen (a cart driving through a well, a horse spinning on the spot, a button that does nothing once) is a symptom. Before any code: 1. **Reproduce it with a probe first.** Prefer a headless one that needs no GPU: a small script or test that sets the situation up and asserts the rule (nobody spins on the spot, no path crosses a building, everyone arrives). It must fail now. 2. **Name the general problem and the block that solves it** (see the gate below). When a shared system changes, write 3 to 5 lines of design in the commit or the docs before code: which block, and what hand-written code it replaces. 3. **Fix the system, not the instance.** The probe passes. It stays as a guard and runs on every later change.

No fix lands without its probe. If you patch the same area twice, the first fix was a hack: stop and redesign.

Before any change: who already solved this?

Every change, even a one-line fix, passes this gate first. A fix that places, times or decides something by hand is a sign you are rebuilding a solved problem.

1. **Name the problem in general terms**: "a horse pulling a cart along a road", "characters choosing what to do next", "UI that fits any window size", "show the player where an event is", "retry a failed network call". Not "the horse is 0.16 off". 2. **Find how it is solved, and look wide.** You are rarely the first.

  • **Your engine or framework and its ecosystem:** its own built-in nodes, components and services, its asset or package store, and what users of other engines reach for (Godot, Unity, Unreal, Bevy, web frameworks), including free content and open-source ports of a technique.
  • **Open-source games and apps in your genre:** for strategy and sims, for example 0 A.D., OpenRA, Widelands, Freeciv, Mindustry, OpenTTD, OpenRCT2, Battle for Wesnoth. Read how their code solves it.
  • **Game AI and design craft:** GDC talks and postmortems, *Game AI Pro* (free online), utility AI, GOAP, behaviour trees, Celia Hodent's work on game UX, the Game Accessibility Guidelines.
  • **Asset commons:** Mixamo, Quaternius, KayKit, Kenney, Poly Haven, ambientCG, OpenGameArt, Freesound.
  • **Outside your field:** film and animation craft (Disney's twelve principles, cinematography), theme-park and crowd design, theatre staging, board-game design, platform interface guidelines (Apple, Material), and research papers.
  • **Shipped products' answers:** the well-known games or apps in your genre, and what their players, modders and users say worked.

3. **Use that.** Your code only configures and connects it. 4. **None exists?** Say so in the commit and in the project's review or decision log, and keep the hand-written part small. For anything big, the user decides first. 5. **Patching a hand-built part again?** Stop and replace it with the proven block.

Architecture: SSOT, SRP, DRY, SOLID

Every change follows these. A plan that breaks one isn't approved.

  • **SSOT: one owner per fact.**
  • Map each kind of state to exactly one owner (for example: the simulation owns units and terrain, the server owns accounts and saves, the view keeps one read-only mirror).
  • The view or client keeps one mirror, filled from one source. No other script parses that source or caches its own copy; they read the mirror.
  • Every plan names the owner of each new piece of state, and says nothing else holds a copy. Keep the owner list in the docs.
  • **SRP: one decider per behaviour.**
  • Each agent's or feature's "what next" runs in one place (a behaviour tree, a state machine, a reducer). Moveme
Read more
@wednesday-solutions
Ships withskills

These are the skills I use every day. I built Off Grid AI on my own with them, and it reached 250,000+ downloads on 7 platforms without spending a dollar on ads. Install them and your AI works the way mine does.

Stars on GitHub

Momentum

stars in total
185
Star history of wednesday-solutions/ai-agent-skills on GitHub, a chart by star-history.com

Other skills on skills.

audit-a-module

audit-a-module

Health check one module or service and recommend what to do with it: leave it, clean it up, refactor it with care, or don't touch…

blast-radius

blast-radius

Before editing a file or symbol, find everything that depends on it, score how risky the change is, and stop for approval when…

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw4w393k
@openclaw@openclawInstall Skill

Questions about fix-it-for-real.

Which coding agents can use fix-it-for-real?
fix-it-for-real installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.