agentleFS
mikhailkogan17mikhailkogan17/cycler/skills/workflow-bug/SKILL.md

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.

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
  1. Distinctive:

    If a bug ever needs a genuinely different lifecycle — a reproduction stage before contracting, say — this is the file that grows it, and no …

    line 37

≈ “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.

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

/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

  1. Post the start comment first — before anything else, exactly as /workflow-feature step 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}\`."
  1. READ ${CLAUDE_PLUGIN_ROOT}/skills/workflow-feature/SKILL.md and follow it from step 1, with the same inputs you were given. Skip its step 3 — you have already posted the start comment.
  2. Read ${CLAUDE_PLUGIN_ROOT}/harness/modes/fix.md and 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.

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.