Skip to content

Structured template for documenting bug fixes with root cause, repro steps, fix options, and checklist.

CCM score
63 of 100
skills.sh installs
3.3K
GitHub stars
372
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full bug documentation flow: observed versus expected behavior, repro, cause, decision, fix, and notes
  • Generates numbered BFB-XXX documents in docs/bfb/ with kebab-case filenames and a shown preview before writing
  • Enforces sequential numbering, a cause limited to three lines, and at least two fix options with a rationale
  • Designed for developers who need consistent, verifiable records of each bug correction

Install

$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill bug-fix-brief -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Bug Fix Brief (BFB)

Overview

This skill generates a Bug Fix Brief (BFB): a structured document in docs/bfb/ that uniformly captures every bug fix with root cause, repro steps, fix options, and checklist.

When to Use

  • User asks to create a BFB
  • User wants to document a bug fix in a structured way
  • After identifying the root cause of a bug and before implementing the fix

Trigger: "create BFB", "document bug", "bug fix brief", "document fix"

Instructions

Phase 1: Gather Information

Check existing numbering:

ls docs/bfb/ 2>/dev/null || echo "Directory does not exist"

Ask the user for:

  • BFB number (or propose next sequential)
  • Concise title (3-5 words, kebab-case)
  • Issue link (e.g. #1287)
  • Environment (Prod/Stg/Dev) + version
  • Observed vs expected behavior
  • File/function/line of the cause

Phase 2: Generate Template

Complete the full BFB template:

## BFB-XXX: [Title]

**Reference:** [Issue link]
**Environment:** [Env] `vX.Y.Z`
**Date:** YYYY-MM-DD

---

### 1. Bug
- **Observed:** [wrong behavior]
- **Expected:** [correct behavior]

### 2. Repro
  1. ...
  2. ... → [error/output]

Details

Repository
github.com/giuseppe-trisciuoglio/developer-kit
Categories
Debugging, Technical Documentation
First seen
Jun 3, 2026

Questions

What does the bug-fix-brief skill do?

The bug-fix-brief skill generates a structured Bug Fix Brief (BFB) that documents an issue correction. Each brief covers the root cause, repro steps, fix options with a decision table, and a fix checklist, and it is written to docs/bfb/ after you approve it.

How do I install the bug-fix-brief skill?

Run npx -y skills add giuseppe-trisciuoglio/developer-kit --skill bug-fix-brief -y in your project. Once installed, the agent can create a BFB when you ask it to create a BFB, document a bug fix, or generate a bug correction document.

Where does bug-fix-brief rank among debugging skills?

On the Debugging category page on Claude Marketplaces, bug-fix-brief ranks in the top 100. Other skills in the category include diagnosing-bugs, systematic-debugging, safe-debug, and sentry-cli, while this one focuses on writing up the fix as a structured document.

More from giuseppe-trisciuoglio/developer-kit

All 95

Similar to Bug Fix Brief

More Debugging