Sets up or refreshes a repo's .vocs/playbooks overlay for the v* playbooks - reads the repo, grills the owner only on real decisions, writes the feature map, standards and merge policy, and proves the map by running it. Use in a repo with no overlay, or to update one that drifted.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Vsetup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vocsong-vsetup)
---
name: vsetup
description: Sets up or refreshes a repo's .vocs/playbooks overlay for the v* playbooks - reads the repo, grills the owner only on real decisions, writes the feature map, standards and merge policy, and proves the map by running it. Use in a repo with no overlay, or to update one that drifted.
disable-model-invocation: true
---
# vsetup — build or refresh a repo's overlay
Read the **Shared vocabulary** section of `../vcore/SKILL.md` before starting.
Apply the overlay rules in `../vcore/SKILL.md` (including `notes/vsetup.md` and
`overrides/vsetup.md`); it also describes the overlay layout. `../vgrill/SKILL.md` says how to ask.
## 0. Healthy checkout first
Dependencies installed, the build and the test runner start. A broken checkout produces a wrong map;
fix or report that before mapping.
## 1. Learn the repo (facts — don't ask)
Read: AGENTS.md / CLAUDE.md / CONTRIBUTING, testing and release docs, package scripts or Makefile,
CI workflows, the test folder layout, branch protection (`gh api` if available), recent PR titles and
merge methods (`gh pr list --state merged --limit 20`), where decisions are recorded (wiki, ADRs,
specs). Check that each harness's instruction file actually reaches the agent — e.g. a CLAUDE.md
that doesn't import AGENTS.md means Claude sessions never see AGENTS.md's rules; report it.
Draft every file below from what you found. Prefer **pointing at** an existing doc over copying it: a
copy goes stale; a pointer stays true.
## 2. Grill the gaps (decisions — ask)
Only what the repo can't tell you, one question at a time, with your recommendation. Typical:
- Auto-merge, or hold for a human? Under which conditions always hold?
- Which areas are high-risk (need blast radius), and which are candidates for L3 formal checks?
- What counts as runtime proof where the real thing must not be driven (live systems, production
data, a server only the owner may start)?
- Where do specs and decisions live, if not `docs/specs/`?
- Anything the playbooks must never do in this repo?
## 3. Write `.vocs/playbooks/`
**`feature-map.md`** — areas → paths → required layers → exact commands:
```markdown
| Area | Paths | Layers | Commands |
| --- | --- | --- | --- |
| Any code | src/**, scripts/** | L0 | npm run typecheck; npm run build |
| Billing | src/billing/** | L0 L1 L2 | npx vitest run tests/billing*.test.ts; <e2e command> |
```
plus how to run L2 (command, launch recipe, a doctor check that the instance is worth driving,
isolation, cleanup, screenshot location — see `../vverify/runtime.md`), the stand-in that counts as
L2 where the real thing is off limits, live and opt-in checks and when they apply, and **L3
candidates** (areas only; `../vformal/SKILL.md` builds them later).
**`standards.md`** — the rules files the Standards reviewer reads, high-risk paths and their required
test shapes, where decisions are recorded, and the spec location if not the default. Link
`docs/GLOSSARY.md` when it exists, or seed it with a few agreed terms if the repo wants one. Don't
duplicate definitions in the overlay.
**`merge.md`** — base branch, branch naming, commit and PR title rules, PR body or report format,
merge method, merge policy (`## Policy: auto` or `## Policy: hold`), the always-hold conditions, and
post-merge steps and cleanup quirks.
Leave `formal/`, `notes/` and `overrides/` empty unless the owner asked for them. Rules shared by all
the owner's repos belong in the personal overlay (`~/.vocs/playbooks/`), not copied per repo.
## 4. Prove the map
Run every area's commands end to end once, saving the logs. A map that has never been run is a
guess. Fix what fails. The overlay changes agent instructions, not the product, so it takes the light
path: commit, write a light-path verdict whose evidence is this map run (`../vverify/SKILL.md` §5),
self-review, then open it as a PR through `../vmerge/SKILL.md`.
## Refresh mode
When the overlay exists: re-run every area's commands, compare paths and commands against the repo
(new packages, renamed scripts, new CI jobs), and propose the diff. Drift found here is a finding.