vibe-better-with-claude-code-vbw
Copilot instructions81 starsChanged 5 months agoMITView on GitHub
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- vbw-fix-issueSkill
- vbw-qa-investigatorSkill
- vbw-review-contributor-prSkill
- running-claude-smoke-testsSkill
- running-ccr-smoke-testsSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 4
Read README.md first, then CONTRIBUTING.md, then the relevant files under commands/, scripts/, testing/, hooks/, templates/, or references/.
- Distinctive: line 6
Keep changes surgical. Many behaviors are enforced by contract tests that grep for exact phrases, tool names, filenames, and command …
- Very specific: line 16
Prefer bash and existing repo utilities.
- Distinctive: line 18
When editing command markdown, remember the command files are LLM-consumed artifacts.
- Very specific: line 19
If you change command or hook behavior, search testing/ for the corresponding contract before editing.
- Very specific: line 20
Keep the repo zero-dependency in spirit: portable bash, jq, git, and the existing test tools.
- Very specific: line 33
Keep .github/copilot-instructions.md tracked in git.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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
Copilot cloud agent instructions for VBW
Start here
- Read
README.mdfirst, thenCONTRIBUTING.md, then the relevant files undercommands/,scripts/,testing/,hooks/,templates/, orreferences/. - This repo is a Claude Code plugin implemented mostly as bash plus command markdown. There is no normal app build; most changes are to shell scripts, slash-command markdown, hook wiring, templates, and tests.
- Keep changes surgical. Many behaviors are enforced by contract tests that grep for exact phrases, tool names, filenames, and command structure.
Repo shape
commands/*.md: slash-command definitions with YAML frontmatter. Preserve frontmatter shape, explicitname: vbw:*, and the repo's direct/dry tone.scripts/*.shandscripts/lib/*.sh: runtime logic. Prefer reusing existing helpers instead of adding new one-off patterns.hooks/hooks.json: plugin hook wiring. Hooks must degrade gracefully; they should not break a Claude Code session.testing/andtests/: contract checks and bats coverage. If you change behavior, inspect the matchingtesting/verify-*.shfile before editing..claude-plugin/plugin.json,VERSION,.claude-plugin/marketplace.json, andmarketplace.json: keep versions aligned only when intentionally doing a release/version task. Do not bump versions for ordinary fixes.
Working conventions
- Prefer bash and existing repo utilities. Do not introduce Node/Python/Ruby tooling or new dependencies unless the task explicitly requires it.
- Preserve the plugin-root resolution pattern already used in command markdown and hooks. In shell blocks, do not assume
${CLAUDE_PLUGIN_ROOT}exists as a normal environment variable; reuse the existing/tmp/.vbw-plugin-root-link-${CLAUDE_SESSION_ID:-default}/ensure-plugin-root-link.shpattern instead of inventing a new resolver. - When editing command markdown, remember the command files are LLM-consumed artifacts. Small wording changes can break tests or behavior.
- If you change command or hook behavior, search
testing/for the corresponding contract before editing. The test usually documents the intended invariant better than a quick skim of the implementation. - Keep the repo zero-dependency in spirit: portable bash,
jq,git, and the existing test tools.
Validation
- Primary local verification entrypoint:
bash testing/run-all.sh - Shared lint entrypoint:
bash testing/run-lint.sh - CI parity notes:
testing/run-all.shexpectsjq,shellcheck, andbats.- CI runs lint, contract checks, bats shards, and serial bats separately; see
.github/workflows/ci.yml.
- For command or shell changes, also run the most relevant targeted
testing/verify-*.shscript(s).
Known onboarding quirks / errors encountered
bash testing/run-all.shcurrently fails in a fresh environment ifbatsis missing, even when lint and contract checks pass. Workaround: installbats-corebefore relying on full CI-parity local verification, or at minimum run the relevant non-bats checks explicitly.bash testing/verify-statusline-qa-lifecycle.shshould now exit cleanly. If it fails, treat it as a real regression rather than an expected SIGPIPE quirk.- Keep
.github/copilot-instructions.mdtracked in git. Do not add it back to.gitignore.
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.

