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. <!-- Use installed tool names. Discover callable tools before batching independent calls in codemode; model-only UI/orchestration tools must be called directly. -->

How to use this skill

Skill file

<!-- Pi platform guidance -->

<!-- Use installed tool names. Discover callable tools before batching independent calls in codemode; model-only UI/orchestration tools must be called directly. -->

<!-- Read required skill/instruction files through direct read when exposed or through Code Mode. If an optional pruning extension is installed, verify its output protection semantics; do not assume nested-path protection. Code Mode composes calls; subagents or controllers own durable workflows. Async subagents notify natively: yield rather than poll. -->

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.