dev-fix

dev-fix is a skill for Claude Code, Codex from calneymgp/solodev. It costs 124 tokens per session (1,173 once invoked), scanned A, original, MIT.

A structured debugging guide for fixing software bugs through a reproducible feedback loop. It first classifies the bug, tests likely causes, adds a regression test, and removes temporary diagnostic work.

In plain words
What is it for?
Use it to investigate unclear or intermittent bugs, apply a minimal fix, verify the failing command, run relevant tests, and record the cause.
Why use it?
It reduces guesswork by requiring evidence before changing code. It also separates simple bugs from problems that need broader architectural decisions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate unclear or intermittent bugs, apply a minimal fix, verify the failing command, run relevant tests, and record the cause.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/calneymgp/solodev/dev-fix
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add calneymgp/solodev --skill dev-fix
Clone the repo
git clone --depth 1 https://github.com/calneymgp/solodev

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dev-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/calneymgp/solodev/dev-fix/github.svg)](https://agentmods.dev/skills/calneymgp/solodev/dev-fix)
Your own site
<a href="https://agentmods.dev/skills/calneymgp/solodev/dev-fix"><img src="https://agentmods.dev/badge/skills/calneymgp/solodev/dev-fix/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dev-fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/calneymgp/solodev/dev-fix"><img src="https://agentmods.dev/badge/skills/calneymgp/solodev/dev-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,173 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00124 $0.01173
Opus 5.5 $0.00050 $0.00469
Sonnet 5.5 $0.00025 $0.00235
Haiku 4.5 $0.00012 $0.00117

Measured 1mo ago against content hash 345309f1f390, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dev-fix scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

O teste/script que reproduz o bug em **<10s** com pass/fail determinístico. **Isso é 90% do trabalho.** Se o seu único loop é "rodar o app e clicar", invista em melhorá-lo antes de qualquer hipótese: um teste, um curl, u
skills/dev-fix/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/dev-fix — Bug morre com método, não com tentativa

Bugfix não precisa de BRIEF nem PLAN. Precisa de disciplina de diagnóstico — a diferença entre 10 minutos e 3 horas é quase sempre a qualidade do feedback loop, não a dificuldade do bug.

Triagem (primeiro turn)

Classifique em 1 linha e siga o caminho:

Classe Heurística Caminho
Trivial Causa evidente no erro (typo, import, null óbvio), fix de 1-5 linhas Modo rápido ↓
Real Causa não evidente, comportamento intermitente, "funcionava ontem" Loop completo ↓
Arquitetural O fix exigiria redesenho, toca contrato público ou 3+ módulos Pare. Apresente diagnóstico + opções. Sugira /dev-brainstorm ou /dev-plan.

Modo rápido (bug trivial)

  1. Leia o arquivo inteiro em volta do erro (não só a linha)
  2. Aplique o fix mínimo
  3. Rode o comando que falhava → veja passar
  4. Se existir suite, rode os testes do módulo tocado
  5. Reporte em 2 linhas: causa → fix

Se o "trivial" não morrer no primeiro fix, ele não era trivial. Promova para o loop completo — não tente um segundo palpite.

Loop completo (6 fases)

Phase 1 — Construa o feedback loop

O teste/script que reproduz o bug em <10s com pass/fail determinístico. Isso é 90% do trabalho. Se o seu único loop é "rodar o app e clicar", invista em melhorá-lo antes de qualquer hipótese: um teste, um curl, um script de 5 linhas.

Phase 2 — Reproduza

Rode o loop, observe a falha, confirme que é a mesma que o usuário descreveu (não uma vizinha). Se não reproduz: colete mais contexto (env, dados, versão) antes de teorizar.

Phase 3 — Hipóteses ranqueadas

3-5 hipóteses, cada uma com predição falsificável ("se X é a causa, mexer em Y faz desaparecer"). Mostre a lista ao usuário antes de testar — ele ranqueia mais rápido com domain knowledge. Comece pela mais provável OU pela mais barata de descartar.

Phase 4 — Instrumente

Um probe por hipótese. Prefira debugger > log direcionado > log everything. Logs de debug com prefixo único ([DEBUG-a4f2]) para cleanup via grep no fim. Cada probe responde sim/não para UMA hipótese — probe que "olha geral" é ruído.

Read the full file on GitHub · 80 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 80 lines · 124 tokens per session scan A 345309f1f390

Subscribe to this mod's changes

dev-fix is a skill published in the GitHub repository calneymgp/solodev (2 stars, last pushed 1mo ago), licensed MIT. It adds 124 tokens to every session and 1,173 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

error-translator

A Chinese-language assistant that translates English programming errors and explains what they mean. It covers common errors from languages and frameworks including Python, JavaScript, TypeScript, Java, and others.

laolaoshiren/claude-code-skills-zh · 28 tokens

eslint-fix

A project-aware assistant for finding and fixing ESLint errors, warnings, and configuration compatibility problems. ESLint is a tool that checks JavaScript and TypeScript code for style and common mistakes.

laolaoshiren/claude-code-skills-zh · 79 tokens

perf-profiler

A performance investigation guide that uses repeatable measurements and profiling evidence to find where software spends time or resources. Profiling records runtime activity such as CPU use, memory use, database work, or network delays.

laolaoshiren/claude-code-skills-zh · 78 tokens

log-analyzer

A log-analysis helper that reads application and system logs to find unusual patterns and likely causes. Logs are records of events such as errors, requests, warnings, and service activity.

laolaoshiren/claude-code-skills-zh · 24 tokens

ast-grep

Searches and rewrites code by AST shape across 25 languages. Use when the target is a syntax pattern (every call/class/import shaped like X, a codemod, a YAML rule) rather than literal text; for plain strings, comments, or filenames, use rg.

code-yeongyu/oh-my-openagent · 61 tokens

debugging

Runs a hypothesis-driven debugging loop across any language or binary, escalating to orthogonal oracle angles and locking the fix with a failing test. Use for crashes, silent failures, hangs, wrong responses, memory leaks, async misbehavior, or reverse engineering.

code-yeongyu/oh-my-openagent · 53 tokens