Agent skill

Dr Implement Fix

by AHepi in AHepi/DeepReason

Apply an approved FIX.md to DeepReason with regression tests and the full gate.

MITAuto-check passedTesting & QA

Install Dr Implement Fix

skills CLI
$ npx skills add AHepi/DeepReason --skill dr-implement-fix -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AHepi/DeepReason dr-implement-fix --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AHepi/DeepReason.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/dr-implement-fix .claude/skills/dr-implement-fix && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dr-implement-fix
GitHub stars
141
Token cost
~1.2k tokens
SKILL.md length
670 words
Files
1
Skills in repo
30
Repo updated
First seen
Licence
MIT

At a glance

Apply an approved FIX.md to DeepReason with regression tests and the full gate.

  • Works in 8 steps: Touch only FIX.md's change sites. If… → Write the regression test first,… → Apply the code change. Comments state… → …
  • Testing & QA work in your project
  • SKILL.md covers Procedure, Map obligations (docs/map/), Prohibitions and Exit criteria
  • Calls python and git

What it does

Dr Implement Fix is an agent skill from AHepi/DeepReason. Apply an approved FIX.md to DeepReason with regression tests and the full gate. The only skill allowed to modify production code. Use after FIX.md passes its approval gate.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA. It works with pytest. The licence is MIT.

When your agent uses it

  • Testing & QA work in your project

Example prompts

  • “/dr-implement-fix”

Requirements

  • Python 3

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Touch only FIX.md's change sites. If implementation reveals a
  2. Write the regression test first, converting the REPRO artifact
  3. Apply the code change. Comments state the constraint the code
  4. Run outward rings, stop at first failure
  5. A gate failure caused by your change is information: if a fixture
  6. If a live run root is needed for the next phase and the identity is
  7. Update the map in THIS commit — see "Map obligations" below.
  8. Before committing, run the mechanized budget gate against FIX.md's

What it can do on your machine

Read from SKILL.md and the folder at commit 9607fba. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dr Implement Fix loads about 1.2k tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 670 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from AHepi/DeepReason at commit 9607fba, republished under its MIT licence (© AHepi). 670 words, ~1,226 tokens.

Download SKILL.mdSave it as .claude/skills/dr-implement-fix/SKILL.md (or your agent's skills folder).
name
dr-implement-fix
description
Apply an approved FIX.md to DeepReason with regression tests and the full gate. The only skill allowed to modify production code. Use after FIX.md passes its approval gate.

Implement the fix

Input: an approved FIX.md. Output: one commit containing the fix, its regression test, and any fixture updates FIX.md authorized — nothing else.

Procedure

  1. Touch only FIX.md's change sites. If implementation reveals a needed site FIX.md missed, STOP: amend FIX.md first (one commit), then continue. Silent scope growth is the failure mode this workflow exists to prevent.

  2. Write the regression test first, converting the REPRO artifact: it fails before your change, passes after. Its docstring names the live run/record that motivated it (e.g. "Regression (selfstudy run-9175f0ec): ..."), so the next reader can find the evidence. Build it to dr-execute-step's "Durable tests, checks, and probes" rules — committed evidence only, meaning over form, mutation-proved, wall-clock scrubbed recursively, absence-tolerant — so it survives repo changes and fails only when the defect returns.

  3. Apply the code change. Comments state the constraint the code cannot show ("compare by handle index, not mapping order: canonical JSON sorts keys"), never the change's history or your reasoning.

  4. Run outward rings, stop at first failure:

     pytest <regression test> -x -q
     pytest <the changed subsystem's test files> -q
     pytest tests/ -q -n 4          # full gate, ~8 min

    The full gate must report 0 failed. A pre-existing failure you did not cause: stop, report, do not "fix it while you're there." If FIX.md's change sites touch the packaging surface (pyproject entry points, CLI commands, MCP tools/schema, wheel layout), one more ring the gate does not run: python scripts/wheel_smoke.py, with its pinned expectations updated in this same commit.

  5. A gate failure caused by your change is information: if a fixture depended on the defective behavior (FIX.md predicted it), update the fixture minimally so it exercises what the test actually guards; if the failure is NOT predicted by FIX.md, your fix is wrong — revert to the last green state and return to the orchestrator for re-diagnosis. Never weaken an assertion to green.

  6. If a live run root is needed for the next phase and the identity is occupied: retire it — procedure canonical in dr-drive-harness §3 (retire by rename, commit the rename FIRST as its own commit).

  7. Update the map in THIS commit — see "Map obligations" below.

  8. Before committing, run the mechanized budget gate against FIX.md's Estimated-diff ceiling — the same instrument dr-execute-step uses for Family-2 steps, so this check can no longer be an eyeballed git diff --stat compare:

     python tools/diff_budget.py <tranche-base> --ceiling <FIX.md's
       Estimated-diff ceiling> --paths <FIX.md's change sites>

    Read DIFF_BUDGET_RESULT_V1.verdict. WITHIN/NO_CEILING: continue. EXCEEDED is a STOP in the standard format (decision, priced options, recommendation), not a footnote — the by-eye version of this check missed an over-budget diff before this gate existed (V1 tranche 2026-08-05: 193 insertions landed against a <=150 ceiling with no stop). Then commit once, push with retry:

     git add <exact files> <map files> && git commit -m "<what and
       why, with the live evidence and 'Full gate: N passed, 0
       failed'>"
     git push -u origin <branch>   # retry x4, backoff 2s 4s 8s 16s
Show full SKILL.md (180 more words)Show less

Map obligations (docs/map/)

Same procedure dr-execute-step uses for Family-2 steps (same commit not a follow-up; SEAM before subsystem docs; new invariant needs a new check; advance Verified-at: only if re-run; docs_verify full + --audit must pass before commit) — canonical there, not restated here. One Family-1-specific addition: every fix earns a Traps entry in the SUB-/CON-/SEAM- document covering the changed code. A defect that reached the record is exactly the memory the map exists to keep. Name the run id or the tranche. Never delete an old Traps entry — rewrite it to say it was fixed and when.

Prohibitions

  • No drive-by refactors, renames, TODO cleanups, or formatting churn.
  • No new dependencies, no config default changes, unless FIX.md lists them as change sites.
  • Never edit committed run roots; never commit env files — both procedures canonical in dr-drive-harness §1/§3.

Exit criteria

  • One pushed commit (plus at most one root-retirement commit).
  • Full gate output pasted into the tranche log: N passed, 0 failed.
  • python tools/docs_verify.py passes, and the map documents covering the changed code carry a Traps entry for this defect.
  • Return to the orchestrator.

© AHepi, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/dr-implement-fix of AHepi/DeepReason.

Open the folder on GitHubat commit 9607fba

Compare with similar skills

Dr Implement Fix next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dr Implement Fix compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dr Implement Fix this skillAHepi/DeepReason141—~1.2kAutomated safety check: PassMIT
Adk Verify Snippetsgoogle/adk-python22k—~1.4kAutomated safety check: PassApache-2.0
Hermetic Python Unit TestsdimensionalOS/dimos4.6k—~1.4kAutomated safety check: PassCustom licence
Test GuardamElnagdy/guard-skills1.3k2 repos~2.1kAutomated safety check: PassMIT
Fla Optimization Loopfla-org/flash-linear-attention5.8k—~2.6kAutomated safety check: PassMIT
Pytest Runnersaleor/saleor23k—~251Automated safety check: PassBSD-3-Clause

Similar skills

  • Adk Verify Snippets

    google/adk-python

    Official

    Checks that every Python code block in a Markdown file actually compiles and runs, by extracting each block to a temporary file, executing it in an isolated subprocess, and writing a pass/fail…

    22k GitHub stars~1.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Hermetic Python Unit Tests

    dimensionalOS/dimos

    Rules for writing, fixing and reviewing pytest unit tests that are hermetic: behavior-focused, deterministic, isolated and cheap to run.

    4.6k GitHub stars~1.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Test Guard

    amElnagdy/guard-skills

    Reviews newly written or edited tests against nine rules that cut test bloat, such as mock-heavy checks and near-duplicate cases, before they are committed.

    1.3k GitHub starsUsed in 2 repos~2.1k tokens
    Testing & QAAuto-check passed
  • Fla Optimization Loop

    fla-org/flash-linear-attention

    Disciplined, reproducible loop for making an FLA kernel faster (Triton, Gluon, TileLang, CuTe) without ever breaking or gaming correctness.

    5.8k GitHub stars~2.6k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Pytest Runner

    saleor/saleor

    Run pytest tests with automatic virtual environment activation. Use this skill whenever running tests, executing pytest, or when asked to "run tests", "test…

    23k GitHub stars~251 tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Port Node Red Node

    oldrev/edgelinkd

    Port a Node-RED node into EdgeLinkd the way this repo does it: implement the node in Rust under crates/core/src/runtime/nodes, mirror Node-RED's mocha spec as pytest tests under tests/, register the…

    121 GitHub stars~3k tokensUpdated yesterday
    Testing & QAAuto-check passed

More from AHepi/DeepReason

All 30 skills in this repo
  • Pinker Clarity Workflow

    AHepi/DeepReason

    Orchestrate a Steven Pinker-grounded workflow for teaching, explanatory writing, or material that must do both.

    141 GitHub stars~1.5k tokensUpdated 27 days ago
    Auto-check passed
  • Design, deliver, or audit explanations and lessons with a Pinker-informed focus on phenomena, the curse of knowledge, concrete models, active reasoning, feedback, and revision.

    141 GitHub stars~1.8k tokensUpdated 27 days ago
    Auto-check passed
  • Pinker Write For Readers

    AHepi/DeepReason

    Draft, revise, teach, or audit expository prose using Pinker's cognitive approach to style: classic presentation, reader modeling, curse-of-knowledge repair, coherent information order, deliberate…

    141 GitHub stars~2.1k tokensUpdated 27 days ago
    Auto-check passed
  • Example Battery

    AHepi/DeepReason

    Build a battery of concrete instances BEFORE writing or evaluating any definition, pin, or semantic clause (Reed step 1).

    141 GitHub stars~811 tokensUpdated 27 days ago
    Auto-check passed
  • Authoring Skills

    AHepi/DeepReason

    Rules for writing, editing, and retiring skill and workflow files for LLM agents.

    141 GitHub stars~1.7k tokensUpdated 27 days ago
    Auto-check passed
  • Deepreason Orchestrator

    AHepi/DeepReason

    Entry point for any DeepReason problem. An agent skill from AHepi/DeepReason.

    141 GitHub stars~1.1k tokensUpdated 27 days ago
    Auto-check passed

Works with

Categories

Questions about Dr Implement Fix

What does Dr Implement Fix do?

Apply an approved FIX.md to DeepReason with regression tests and the full gate. Dr Implement Fix is an agent skill from AHepi/DeepReason.md to DeepReason with regression tests and the full gate.

When should I use Dr Implement Fix?

Dr Implement Fix fits situations like: testing & QA work in your project.

How do I install Dr Implement Fix in Claude Code?

Run `npx skills add AHepi/DeepReason --skill dr-implement-fix -a claude-code`. Or copy the skill folder (.claude/skills/dr-implement-fix in AHepi/DeepReason) into .claude/skills/dr-implement-fix in your project. Claude Code loads it when a task matches its description.

How do I install Dr Implement Fix in Codex?

Run `npx skills add AHepi/DeepReason --skill dr-implement-fix -a codex`. Or copy the skill folder (.claude/skills/dr-implement-fix in AHepi/DeepReason) into .agents/skills/dr-implement-fix in your project. Codex loads it when a task matches its description.

Can I use Dr Implement Fix in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AHepi/DeepReason --skill dr-implement-fix -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dr-implement-fix, .gemini/skills/dr-implement-fix, .github/skills/dr-implement-fix and .opencode/skills/dr-implement-fix in your project.

What does Dr Implement Fix need to run?

Going by SKILL.md and its folder, Dr Implement Fix needs the command-line tools its instructions call (python and git). Our summary lists: Python 3.

Does Dr Implement Fix access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Dr Implement Fix safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dr Implement Fix use?

Dr Implement Fix is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dr Implement Fix use?

About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dr Implement Fix?

Skills that share tags, products or a category with Dr Implement Fix: Adk Verify Snippets (google/adk-python, 22k stars), Hermetic Python Unit Tests (dimensionalOS/dimos, 4.6k stars), Test Guard (amElnagdy/guard-skills, 1.3k stars) and Fla Optimization Loop (fla-org/flash-linear-attention, 5.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dr Implement Fix?

AHepi (a GitHub user) maintains it in AHepi/DeepReason, which has 141 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on September 10, 2026.

Source: AHepi/DeepReason on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.