agentleFS
zehuichanzehuichan/vibe-harness/skills/vibe-harness-bootstrap/SKILL.md

vibe-harness-bootstrap

Skill2 starsChanged 28 days agoMITView on GitHub

Use when asked to install, bootstrap, upgrade, add or remove skills from, check, or uninstall vibe-harness (for example "bootstrap from https://github.com/zehuichan/vibe-harness", "upgrade vibe-harness", "升级 vibe-harness"), or when `.agents/vibe-harness.lock.json` exists and the user asks to refresh the agent skills or governance files.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 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.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read <kit-dir>/BOOTSTRAP.md and follow it from the section that matches the request: install, upgrade, changing the skill selection, …

    line 22
  2. Very specific:

    Run the installer with --dry-run first and show the user its plan before writing.

    line 26
  3. Distinctive:

    Never edit files inside the kit clone.

    line 27
  4. Distinctive:

    Do not commit, push, or open a pull request unless the user asks.

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Bootstrap and upgrade vibe-harness

vibe-harness is a kit of agent skills and governance templates. A repository adopts it by copying the kit's files in with its installer, which records every managed file in .agents/vibe-harness.lock.json. This skill fetches the kit and hands control to the kit's own BOOTSTRAP.md, which owns the full procedure for the version you fetched.

Fetch the kit

  1. Find the kit repository: kit.repository in .agents/vibe-harness.lock.json when it exists, otherwise the URL the user gave, otherwise https://github.com/zehuichan/vibe-harness.
  2. Clone it into a temporary directory outside the target repository; a partial clone keeps it small and still lets the installer fetch older files for three-way merges:

    git clone --filter=blob:none <kit-repository> <kit-dir>
    git -C <kit-dir> tag --sort=-v:refname
    git -C <kit-dir> checkout <newest tag, or the ref the user named>

    Reuse an existing clone only after git -C <kit-dir> fetch --tags origin. Use the default branch only when the kit has no tags or the user asks for it.

  3. Read <kit-dir>/BOOTSTRAP.md and follow it from the section that matches the request: install, upgrade, changing the skill selection, status, or uninstall.

Rules that hold for every operation

  • Run the installer with --dry-run first and show the user its plan before writing.
  • Never edit files inside the kit clone; it is the upstream base for future merges.
  • Exit code 2 means conflicts that need a decision. Report every one; never hide a conflict by deleting the lock file, overwriting a local edit, or passing --skip-conflicts without the user's agreement.
  • Fill .agents/project-profile.md only with commands you ran successfully in this repository or facts you confirmed from its files.
  • Do not commit, push, or open a pull request unless the user asks.

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.