agentleFS
yicheng47yicheng47/runner/.agents/skills/bug/SKILL.md

bug

Skill490 starsChanged 6 days agoMITView on GitHub

Report, list, or manage bug reports as GitHub issues

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use init.

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

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 6 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask the user to describe the bug: what happened, what was expected, and steps to reproduce (if known).

    line 19
  2. Very specific:

    Create a GitHub Issue with labels bug, the chosen P0/P1/P2/P3, the readiness label, if any, and backlog when it has no milestone:

    line 24
  3. Very specific:

    If the user asks for closed bugs too, repeat with --state all and add a State column.

    line 55
  4. Very specific:

    Remove any existing P-label on the issue, then add the new one: gh issue edit <number> --remove-label P0 --remove-label P1 --remove-label …

    line 66
  5. Very specific:

    Remove both readiness labels, then add the new one unless it is none: gh issue edit <number> --remove-label agent-ready --remove-label …

    line 74
  6. Distinctive:

    Put an existing bug on a milestone or in the backlog.

    line 79
  7. Very specific:

    Update the label as the issue moves: remove needs-design once the design is signed off or the questions are settled, and add agent-ready if …

    line 109
  8. Distinctive:

    Every bug gets exactly one priority label.

    line 113
  9. Distinctive:

    When in doubt between two levels, pick the lower-urgency one and say why.

    line 120
  10. Distinctive:

    Do not commit or push unless the user explicitly asks.

    line 124
  11. Distinctive:

    When creating issues, investigate the codebase first to include relevant file paths — this makes bugs actionable.

    line 125
  12. Very specific:

    Read the app version from crates/runner-app/Cargo.toml when populating the Environment section.

    line 126

“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

Bug Reporting

Report and manage bugs for Runners via GitHub Issues with the bug label.

Usage

/bug <action> [args]

Actions

new

Report a new bug.

  1. Ask the user to describe the bug: what happened, what was expected, and steps to reproduce (if known).
  2. Investigate the codebase to confirm the area of code involved. Note relevant file paths.
  3. Pick a priority (see Priority below). If the user didn't state one, propose one based on the bug's severity and the rubric, and confirm before filing. Don't file unlabeled.
  4. Pick a readiness label (see Readiness below) when the investigation makes it clear, and propose it together with the priority. Leave it off when unsure.
  5. Schedule it (see Scheduling below): set a milestone only when the user names one; otherwise add backlog.
  6. Create a GitHub Issue with labels bug, the chosen P0/P1/P2/P3, the readiness label, if any, and backlog when it has no milestone:
    • Title: bug: <short description>
    • Body using this template:

      ## Description
      <what's wrong>
      
      ## Expected behavior
      <what should happen>
      
      ## Steps to reproduce
      <if known>
      
      ## Relevant code
      <file paths and brief pointers to the affected area>
      
      ## Environment
      - OS: <if relevant>
      - Version: <app version from `crates/runner-app/Cargo.toml`>
    • Command shape: gh issue create --label bug --label P1 [--label agent-ready] --title "…" --body "…" (--milestone 0.19 | --label backlog)
  7. Report the issue URL, the assigned priority, the readiness label and the milestone or backlog.

list

Show all bugs, sorted by priority.

  1. Fetch open bugs with priority + metadata as JSON so they can be sorted: gh issue list --label bug --state open --limit 50 --json number,title,labels,milestone,createdAt,assignees
  2. Sort the rows by priority (P0 first, then P1, P2, P3, then unlabeled-by-priority last). Within a priority bucket, sort by createdAt ascending (oldest first — they've been waiting longest).
  3. Present a table with columns: Priority, Readiness (agent-ready, needs-design or —), #, Title, Milestone (backlog for a backlog issue), Created, Assignee (if any). Use the priority label as the leading column so the ranking is visually obvious. Issues without a P-label show — in the priority column, and issues with neither a milestone nor backlog show — in Milestone; add a callout asking the user to triage either.
  4. If the user asks for closed bugs too, repeat with --state all and add a State column.

close <issue-number>

Mark a bug as fixed.

  1. Close the GitHub Issue: gh issue close <number>
  2. Confirm closure to the user.

prioritize <issue-number> <P0|P1|P2|P3>

Set or change the priority of an existing bug.

  1. Remove any existing P-label on the issue, then add the new one: gh issue edit <number> --remove-label P0 --remove-label P1 --remove-label P2 --remove-label P3 --add-label <priority> (Removing all four is safe — gh ignores remove-label for labels not present.)
  2. Confirm the new priority.

ready <issue-number> <agent-ready|needs-design|none>

Set or change an existing bug's readiness.

  1. Remove both readiness labels, then add the new one unless it is none: gh issue edit <number> --remove-label agent-ready --remove-label needs-design [--add-label <readiness>]
  2. Confirm the new readiness.

schedule <issue-number> <milestone|backlog>

Put an existing bug on a milestone or in the backlog.

  1. For a milestone: gh issue edit <number> --milestone <milestone> --remove-label backlog. For the backlog: gh issue edit <number> --remove-milestone --add-label backlog.
  2. Confirm the new milestone or backlog. docs/roadmap.md mirrors the split at its next refresh.

view <issue-number>

Show details of a specific bug report.

  1. Fetch the issue: gh issue view <number>
  2. Display the full issue body, current priority, comments count, and state.

Labels

  • bug — all bug issues use this label.
  • P0 / P1 / P2 / P3 — priority, exactly one per issue.
  • agent-ready / needs-design — readiness, at most one per issue (see Readiness below).
  • backlog — no release commitment; see Scheduling below.

Scheduling

Every open issue has exactly one of a milestone or the backlog label. A milestone is a release commitment; backlog means the issue is triaged but has none. Setting a milestone removes backlog, and taking an issue off its milestone without closing it adds backlog. Priority and scheduling are separate: a P2 bug can sit in the backlog until a milestone takes it.

Readiness

A readiness label says what has to happen before the fix can start. Many bugs get neither.

  • agent-ready — small and fully specified: the cause and the fix are known, nothing is left to decide, and an agent can make and verify the fix in one pass. A fix that can only be verified on a Windows host, or that needs a reproduction first, is not agent-ready. Fix it inline, not as a crew mission.
  • needs-design — the fix cannot start yet: it changes UI that has no signed-off Pencil frame, it has open questions the user must decide, or it spans several surfaces and needs a plan first.
  • Neither — a known but substantial fix for a crew mission, or a bug whose cause still needs investigating.

Update the label as the issue moves: remove needs-design once the design is signed off or the questions are settled, and add agent-ready if what is left is small.

Priority

Every bug gets exactly one priority label. Rubric:

  • P0 — Ship-blocker, data-loss risk, security issue, or recent regression breaking a load-bearing flow. Drop other work.
  • P1 — Real user friction in a common path; broken affordance the user sees daily. Fix this cycle.
  • P2 — Annoying but workaround exists; rare path; cosmetic issue in a prominent surface. Fix when convenient.
  • P3 — Edge case, theoretical, or "would be nice." No fixed timeline.

When in doubt between two levels, pick the lower-urgency one and say why; over-labeling P0/P1 dilutes the signal.

Notes

  • Do not commit or push unless the user explicitly asks.
  • When creating issues, investigate the codebase first to include relevant file paths — this makes bugs actionable.
  • Read the app version from crates/runner-app/Cargo.toml when populating the Environment section.

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.