Fixing code

From alexei-led/cc-thingz · View interactive version

Fixing code is an AI agent skill from the GitHub repository alexei-led/cc-thingz. Fix code defects with a reproducible feedback loop, root-cause diagnosis, minimal patch, regression test, and clean verification. Use when debugging, diagnosing, or resolving lint/test/build failures. NOT for test-suite cleanup without a production bug (use improving-tests), or code review findings

How to use this skill

Skill file

Fix and Diagnose Code

Fix the requested defect or failing gate, one verified root cause at a time.

Use the matching writing-<lang> skill for toolchain commands. The optional

coding-posture plugin owns general debugging and fix procedure; this skill owns

the defect evidence and regression contract. Do not load both just to repeat

process steps.

Without write access, return proposed changes (file, change, reason) instead of

applying them.

Hard rules

Outcome

Done when the original repro passes, or its absence is reported with the

contract evidence and a passing regression test. Report a missing test seam;

without a repro, stop rather than patch when regression coverage is unavailable.

Relevant build/test/lint checks must pass, or each check that did not run must

be named with its reason.

Report

Root cause with evidence, changes (path:line — fix), and each check with

pass, fail, or skipped and why. If blocked, name the missing artifact, access,

or approval.

Platform additions

No target-specific additions.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.