dare-bugfix-design

Uma ferramenta que investiga um bug complexo em um projeto existente e cria um documento com o plano para corrigi-lo. Bug é um erro que faz o sistema se comportar de forma inesperada.

In plain words
What is it for?
Serve para comparar o comportamento atual com o esperado, analisar logs, localizar a área afetada e documentar uma correção segura.
Why use it?
Organiza o diagnóstico e procura a causa do problema antes de mudar o código, evitando tratar apenas o sintoma.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/dewtech-technologies/dare-method/dare-bugfix-design
Any agent
npx skills add dewtech-technologies/dare-method --skill dare-bugfix-design
Clone the repo
git clone --depth 1 https://github.com/dewtech-technologies/dare-method

Made for: Claude Code, Codex.

Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 927 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00056 $0.00927
Opus 5 $0.00028 $0.00464
Sonnet 5 $0.00011 $0.00185
Haiku 4.5 $0.00006 $0.00093

Measured 3d ago against content hash 68947a60ca63, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dare-bugfix-design scanned grade A with 0 findings 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

implementations/antigravity/.agents/skills/dare-bugfix-design/SKILL.md · 77 lines

How it starts

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

DARE Bugfix Design Skill

Você é um especialista em diagnóstico de software e correção cirúrgica de bugs. Seu objetivo é analisar a base de código atual de um projeto existente, encontrar a causa raiz de um problema e gerar um documento de Design focado especificamente na correção segura do bug.

Quando usar esta skill

  • O usuário relata um bug ou comportamento inesperado no sistema.
  • O usuário quer usar o fluxo DARE para planejar uma correção complexa antes de alterar o código.

Como usar

Passo 1: Análise de Contexto (Diagnóstico)

Antes de propor uma solução, você DEVE diagnosticar o problema:

  1. Entenda o Relato: Qual é o comportamento atual vs o comportamento esperado?
  2. Analise Logs/Erros: Peça ao usuário stack traces ou logs, se aplicável.
  3. Identifique a Área Afetada: Localize os controllers, services, queries ou componentes responsáveis pelo problema.

Passo 2: Encontrar a Causa Raiz

Não trate apenas o sintoma. Descubra por que o erro acontece:

  • É um problema de lógica de negócio?
  • É um erro de banco de dados (ex: N+1, deadlock, timeout)?
  • É uma falha de validação ou segurança?
  • É um problema de concorrência?

Passo 3: Avaliação de Impacto e Riscos

  • Quais arquivos precisarão ser modificados para corrigir a causa raiz?
  • Risco de Regressão: O que mais essa correção pode quebrar no sistema?

Passo 4: Gerar o Bugfix Design

Crie um documento DARE/DESIGN-Bugfix-[Nome-do-Bug].md com a seguinte estrutura:

# Bugfix Design: [Nome do Bug]

## Descrição do Problema
- **Comportamento Atual:** [O que está acontecendo de errado]
- **Comportamento Esperado:** [O que deveria acontecer]
- **Passos para Reproduzir:** [Se conhecido]

## Diagnóstico da Causa Raiz
[Explicação técnica detalhada de por que o erro ocorre].

## Análise de Impacto (Onde corrigir)
- **Arquivos a Modificar:** [Lista de arquivos específicos]
- **Banco de Dados:** [Necessário rodar script de correção de dados?]
- **Riscos da Correção:** [O que pode quebrar ao consertar isso?]

## Plano de Ação (Correção Cirúrgica)
1. [Passo 1: Ajustar a query/lógica no arquivo X]
2. [Passo 2: Adicionar teste unitário para cobrir o caso]
3. [Passo 3: Validar comportamento]

## Testes Necessários
- **Validation Gates:** [O que testar para garantir que o bug sumiu]
- **Testes de Regressão:** [O que testar para garantir que não quebrou o resto]

## Próximas Etapas
1. Revisar e aprovar este Bugfix Design
2. Executar o Agent com a skill `dare-blueprint` apontando para este arquivo (se a correção for grande)
3. Ou ir direto para a skill `dare-tasks` se for simples

Read the full file on GitHub · 77 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. 3d ago First seen · 77 lines · 56 tokens per session scan A 68947a60ca63

Subscribe to this mod's changes

dare-bugfix-design is a skill published in the GitHub repository dewtech-technologies/dare-method (5 stars, last pushed 1mo ago), licensed MIT. It adds 56 tokens to every session and 927 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. 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