agentleFS
phuthuycodingphuthuycoding/kanban-flow/skills/bug/SKILL.md

bug

Skill2 starsChanged 5 days agoMITView on GitHub

Kanban bug workflow — triage and document a defect with reproduction, expected/actual result, severity, root cause and regression coverage before handing off to kf:plan. Use when a work item has kind: bug.

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use init and release.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    init

    Also in 3 projects that use this

  • MicrosoftSkill

    release

    Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Only use this skill when the metadata says kind: bug and the work item is in brainstorm.

    line 19
  2. Very specific:

    Read and fill phase-1-spec-requirement.md using the bug template (kf instruct spec-requirement --change {bug_name}):

    line 25
  3. Distinctive:

    Do not guess a root cause to make the report look finished.

    line 37
  4. Distinctive:

    Write the reproduction so someone else can run it and watch it fail.

    line 39

“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Kanban Bug — Triage and fix a defect

Argument: <bug_name>.

A bug goes through the same state machine and approval gate as a feature, but Phase 1 must record enough to reproduce it and to stop it coming back.

1. Verify

kf status --change {bug_name}
kf show {bug_name}

Only use this skill when the metadata says kind: bug and the work item is in brainstorm. If the bug is already in planning, backlog, implementation, testing or review, resume the matching skill; do not recreate artifacts.

2. Triage contract

Ground the names first. Before writing the report, check every file, function, command, field, endpoint and config key it names against its definition, not a call site. A name you cannot find is a question for the user, not an assumption. A bug runs no scout and no spec-reviewer, so this is the only grounding its contract gets.

Read and fill phase-1-spec-requirement.md using the bug template (kf instruct spec-requirement --change {bug_name}):

  • Severity and the affected environments.
  • Reproduction steps that are deterministic enough to follow.
  • Actual result and expected result.
  • What the fix covers and what it does not, plus acceptance criteria for the behaviour a regression must protect.
  • Suspected root cause when there is evidence for one; when there is not, say it is undetermined.
  • Regression test strategy and acceptance criteria that can be checked.
  • The related feature when you can identify it, and the docs impact: which file needs changing and why, or that no docs change is needed.
  • Sibling entry points: list what else reaches the broken code, under the report's ## Scope — ### In Scope for those the fix covers, ### Out of Scope for the rest. Review will ask which of them the fix covers, so naming them here is cheaper than discovering them later.

Do not guess a root cause to make the report look finished. If you cannot reproduce it, report the blocker plainly and never assume the bug is PASS.

Write the reproduction so someone else can run it and watch it fail. Review re-runs it rather than trusting the report, so steps that only work on your machine come back as a finding.

3. Human confirmation

Summarise the bug, its severity, the reproduction, the impact, the expected fix and the regression test for the user. Only once the user confirms do you set the frontmatter to status: confirmed and run:

kf stage {bug_name} planning

Then load kf:plan on its bug branch. The bug report is the execution contract: do not create an implementation plan, a use-case index, narratives, a diagram, a test plan or a feature report. Planning still needs human approval; the reply to it starts the fix (kf approve) or defers it (kf approve --backlog).

4. Handoff

Bug report confirmed. Load kf:plan on the bug branch to approve the triage contract (the approval starts the fix, or --backlog defers it); keep the reproduction and the regression test inside the approved scope.

A FAIL or a REJECT, in testing or in review, sends the item back to implementation. REQUIREMENT_BUG still stops for the user to decide; do not use it in place of a bug report.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.