workflow-bug
Skill0 starsChanged 3 months agoMITView on GitHub
The workflow a dispatched session runs for a BUG — the same lifecycle as workflow-feature, entered in fix mode: the failing test comes before the fix. Auto-commits, opens a PR, never merges.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- workflow-featureSkill
- workflow-intakeSkill
- workflow-researchSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
If a bug ever needs a genuinely different lifecycle — a reproduction stage before contracting, say — this is the file that grows it, and no …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/workflow-bug — an alias for /workflow-feature, entered in fix mode
This skill is not a second workflow. It runs /workflow-feature end to end. It exists so that a
Bug label has a route of its own on the board, and so the run starts already knowing which mode it
is in.
What to do
- Post the start comment first — before anything else, exactly as
/workflow-featurestep 3 does. A dispatched run that posts nothing is declared dead by the poller and re-dispatched, and the alias must not be the reason that happens:
"${CLAUDE_PLUGIN_ROOT}/poller/lin" issue comment list <KEY> | grep -q 'workflow run started' \
|| "${CLAUDE_PLUGIN_ROOT}/poller/lin" issue comment add <KEY> --body "'bug' workflow run started in session \`${CLAUDE_CODE_SESSION_ID:0:8}\`."- READ
${CLAUDE_PLUGIN_ROOT}/skills/workflow-feature/SKILL.mdand follow it from step 1, with the same inputs you were given. Skip its step 3 — you have already posted the start comment. - Read
${CLAUDE_PLUGIN_ROOT}/harness/modes/fix.mdand work in that mode. The contract's acceptance check is a test that fails on the current code and passes after the fix. A fix whose regression test passes before the change has not been shown to fix anything.
Why an alias and not a workflow
The two would be the same file. Copying workflow-feature here to have a Bug route would mean
every later change to the lifecycle has to land in two places, and the copy that gets missed is the
one nobody runs interactively — it would drift silently and be found by a user. Routing is what
wanted to distinguish bugs, and routing is where the distinction lives: the label picks this skill,
this skill picks the mode.
If a bug ever needs a genuinely different lifecycle — a reproduction stage before contracting, say — this is the file that grows it, and no route has to be renamed for that to happen.
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
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.

