agentleFS
swt-labsswt-labs/vibe-better-with-claude-code-vbw/.agents/skills/vbw-fix-issue/SKILL.md

vbw-fix-issue

Skill81 starsChanged 6 months agoMITView on GitHub

End-to-end VBW issue fix workflow using Codex planner, QA agents, worktrees, tests, and PR/CI gates. Explicit invocation only.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user explicitly asks to fix a VBW issue, implement a tracked GitHub issue, or run the repo issue-fix workflow.

    line 8
  2. Distinctive:

    Do not use this skill for casual code review, one-off explanations, or untracked refactors.

    line 10
  3. Distinctive:

    Run these phases in order.

    line 14
  4. Distinctive:

    Treat the user prompt, linked issue, selected worktree, and saved plan as the sole source of truth.

    line 27
  5. Very specific:

    Use existing repo primitives before inventing new ones: scripts/ensure-worktree.sh, scripts/adopt-contributor-pr.sh, …

    line 29
  6. Very specific:

    Use jq for JSON. Do not parse JSON with grep or sed.

    line 30
  7. Very specific:

    Do not wrap bash testing/run-all.sh in tail, tee, background execution, or log redirection that hides the real exit status.

    line 31
  8. Distinctive:

    When finished, report the issue number, branch/worktree, PR URL if created, QA rounds, test command, Codex remote review request status, …

    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

VBW Fix Issue

Use this skill when the user explicitly asks to fix a VBW issue, implement a tracked GitHub issue, or run the repo issue-fix workflow.

Do not use this skill for casual code review, one-off explanations, or untracked refactors.

Workflow

Run these phases in order. Keep every shell command rooted in the selected worktree once a worktree exists.

  1. Issue intake: read issue-intake.md.
  2. Planning: spawn vbw-fix-planner with the issue body, observed reproduction data, and any user-supplied plan. The planner produces or audits the execution plan before implementation.
  3. Worktree and branch setup: follow worktree-and-branch.md.
  4. Implementation and local verification: follow implementation-and-tests.md.
  5. QA loop: follow qa-loop.md.
  6. PR and CI gate: follow pr-ci-gate.md.
  7. Recovery: if any gate blocks progress, follow recovery.md.

Invariants

  • The linked issue is the contract. Do not narrow scope to a recent commit or a subset of files unless the user explicitly says the review is delta-only.
  • Treat the user prompt, linked issue, selected worktree, and saved plan as the sole source of truth. Do not follow ambient terminal context, prior branch history, or unrelated open PRs.
  • Fix root causes, not symptoms. If a mitigation is necessary, include the root-cause fix in the same work item.
  • Use existing repo primitives before inventing new ones: scripts/ensure-worktree.sh, scripts/adopt-contributor-pr.sh, .github/scripts/fix-issue-record-state.sh, .github/scripts/wait-github.py, and bash testing/run-all.sh.
  • Use jq for JSON. Do not parse JSON with grep or sed.
  • Do not wrap bash testing/run-all.sh in tail, tee, background execution, or log redirection that hides the real exit status.
  • QA findings are either fixed or explicitly rejected with evidence. Do not ignore lower-severity confirmed findings.
  • Completion requires local tests, Codex QA review, a Codex remote review request comment, GitHub Actions status, and unresolved-thread checks to be clean.

Output

When finished, report the issue number, branch/worktree, PR URL if created, QA rounds, test command, Codex remote review request status, and CI/review gate status. If blocked, report the exact blocker and the recovery command or next local action.

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.