project-bootstrap
Skill0 starsChanged 5 months agoMITView on GitHub
Bootstrap Agent OS into a repository: copy .work skeleton from templates, install .cursorrules and DOCS_TECH_STACK from templates, report missing REPLACE tokens. Use when adopting Agent OS, project-bootstrap init, or bootstrap .work.
17 other projects use a version of this.
Adopted by
Most recently taken up by
- nerviz-ai/nerviztheir own version, first seen Oct 3, 2026
- Cure-Consulting-Group/ProductEngineeringSkillstheir own version, first seen Sep 28, 2026
- furenzhong/awoo-vibe-coding-governancetheir own version, first seen Sep 26, 2026
- lintangknitto/agent-skillstheir own version, first seen Sep 23, 2026
- novatic-cu/nova-skillstheir own version, first seen Sep 20, 2026
- serge-it-max/project-management-skilltheir own version, first seen Sep 2, 2026
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- NoobyGains/godmode★ 107same name
- Cure-Consulting-Group/ProductEngineeringSkills★ 3same name
- jerseycheese/agent-skills★ 3same name
- nerviz-ai/nerviz★ 3same name
- hams-ollo/zen-agent-skills★ 2same name
- Avalon-27reg/smyslokod-starter★ 1same name
- novatic-cu/nova-skills★ 1same name
- prodelt/elt-harness★ 1same name
- Anders-planck/orditra★ 0same name
- furenzhong/awoo-vibe-coding-governance★ 0same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- ai-directorSkill
- code-implementationSkill
- code-repairSkill
- code-verifySkill
- concept-runSkill
- db-migrationSkill
- deploy-basicSkill
- deploy-filesSkill
- dev-stackSkill
- docsSkill
- feature-specSkill
- infra-terraformSkill
- plan-foundationSkill
- plan-masterSkill
- plan-repairSkill
- plan-syncSkill
- plan-verifySkill
- process-routerSkill
- project-query-setupSkill
- session-controlSkill
- tauri-developmentSkill
- x-directorSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Before copying anything, inventory existing artifacts and decide what to do:
- Distinctive: line 48
If any of the above are marked:
- Distinctive: line 50
Stop: - do not write.
- Very specific: line 84
.cursorrules: - if created from template, list every line containing REPLACE: and stop until user fills them (or use status output). - Very specific: line 86
Integration: - if external APIs: add .work/docs/integration/MANIFEST.txt from .ai/docs/integration/MANIFEST.template.txt.
- Very specific: line 95
Do not: run plan-foundation greenfield automatically unless the user asked for full bootstrap in the same message.
- Very specific: line 140
Operator handoff: every response that ends a turn follows the Operator handoff contract — terse output.
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
project-bootstrap
One-time (or reset) setup for repositories using Agent OS. Does not replace plan-foundation greenfield (foundation docs 01–04) or plan-master greenfield (master plan).
Downstream (after init): See .ai/skills/SKILL_DEPENDENCIES.md - plan-foundation → certify → plan-master → code-implementation.
Canonical path: .ai/skills/project-bootstrap/skill.md
Templates: .ai/templates/ · Shell: .ai/templates/bootstrap.sh
Parse invocation
| User says | Mode |
@project-bootstrap init | Create missing .work/ files, .cursorrules, DOCS_TECH_STACK.md from templates |
@project-bootstrap status | Read-only: what exists, which REPLACE: tokens remain in .cursorrules |
@project-bootstrap work-only | Copy .work/ skeleton only (never overwrite existing files) |
Default: status if unclear; suggest init when .work/context/HANDOFF.md is missing.
Init protocol
B0 - Brownfield detection (mandatory before any write)
Before copying anything, inventory existing artifacts and decide what to do:
| Path | If exists |
.cursorrules (at repo root) | Mark as existing - protected |
.work/context/HANDOFF.md | Mark as existing - populated |
.work/plans/NEXT.md | Mark as existing - populated |
.work/plans/ASSUMPTIONS.md, RISK_REGISTRY.md, UNKNOWNS.md | Mark as existing - populated |
REPLACE:TECH_STACK_DOC (stack doc) | Mark as existing - protected |
.work/features/, .work/plans/foundation/, .work/plans/full/ (any contents) | Mark as existing - populated |
If any of the above are marked:
- Stop - do not write.
- Emit the brownfield summary:
## @project-bootstrap init - brownfield detected
The repository is already partially bootstrapped. Choose how to proceed:
| Existing | Path | Action choice |
|----------|------|---------------|
| {list every detected file or folder} | … | overwrite / keep / abort |
### Choose one (reply in the same message)
- **`overwrite-all`** - replace every existing file with the template (destroys current content)
- **`overwrite-missing`** - copy only files that are missing; never touch existing
- **`keep`** - run `@project-bootstrap status` instead (read-only) and exit init
- **`abort`** - exit silentlyEnd the report with the Operator handoff close (Form B with the overwrite/keep/abort choice as a **Needs your approval:** item + one **Next step:** command) per SKILL_DEPENDENCIES.md.
- On
overwrite-missing(default safest): proceed to step B1 below, copying only files that don't exist. - On
overwrite-all: require an extraconfirm-overwrite-alltoken in the same message; otherwise treat asabort. - On
keep/abort: exit; do not write.
B1 - Copy templates (only after B0 resolved)
- Confirm repo root - directory that will hold
.cursorrulesand.work/(the target repo root; when this repo is the framework source, use the repo root). - Run (preferred):
Or copy manually frombash .ai/templates/bootstrap.sh.ai/templates/work/*.template→.work/(strip.templatesuffix). Honor the B0 choice -overwrite-missingskips existing paths;overwrite-allreplaces them. - Git hooks -
bootstrap.shrunsbash .ai/scripts/install-git-hooks.shwhen.git/exists (strips/rejects forbiddenCo-authored-by:trailers). Re-run manually after cloning if hooks are missing. .cursorrules- if created from template, list every line containingREPLACE:and stop until user fills them (or usestatusoutput).- Standards -
bootstrap.shscaffolds an empty.work/standards/(under.work/, never under.ai/; always under.work/standards/); it's populated by@plan-foundation greenfieldP3, which points.cursorrulesREPLACE:*_FILEtokens at the dated filenames it generates. No manual customization step needed here. - Integration - if external APIs: add
.work/docs/integration/MANIFEST.txtfrom.ai/docs/integration/MANIFEST.template.txt. - Next commands (report in output):
@plan-foundation greenfield @plan-foundation certify plan-master-ready @plan-master greenfield @session-control start
Do not run plan-foundation greenfield automatically unless the user asked for full bootstrap in the same message.
End the report with the Operator handoff close (Form A Next: … or Form B **Needs your approval:** / **Needs your answer:** / **Next step:**) per SKILL_DEPENDENCIES.md.
Status protocol
Report:
| Check | Path | pass / missing |
| Agent rules | .cursorrules | |
| Stack doc | REPLACE:TECH_STACK_DOC path from rules | |
| HANDOFF | .work/context/HANDOFF.md | |
| NEXT | .work/plans/NEXT.md | |
| Registries | ASSUMPTIONS, RISK_REGISTRY, UNKNOWNS | |
| Foundation 01 | .work/plans/foundation/*-01-* | |
| Master plan | .work/plans/full/*-full-plan.md | |
| Unfilled tokens | rg 'REPLACE:' .cursorrules count |
End the report with the Operator handoff close (Form A Next: … or Form B **Needs your approval:** / **Needs your answer:** / **Next step:**) per SKILL_DEPENDENCIES.md. Unfilled REPLACE: tokens the operator must fill are enumerated as Form B items with path:line, not only listed in the table.
Template index
| Template | Purpose |
templates/cursorrules.template | Repo-root agent rules |
templates/DOCS_TECH_STACK.md.template | Stack pins |
templates/work/context/HANDOFF.md.template | Session handoff |
templates/work/plans/NEXT.md.template | Backlog + iteration block |
templates/work/plans/foundation/YYYYMMDD-01-*.template | P0 scope (plan-foundation may author instead) |
templates/work/plans/full/YYYYMMDD-full-plan.md.template | Master plan outline |
templates/work/features/example-slug/… | Feature SPEC |
templates/work/decisions/… | ADR |
Hard rules
- Never overwrite existing
.work/or.cursorruleswithout explicit user permission. - Never commit secrets; templates contain no credentials.
- Do not mark foundation or implementation-ready - other skills own those gates.
- Operator handoff: every response that ends a turn follows the Operator handoff contract — terse output; approvals under
**Needs your approval:**citingpath:L<n>; questions numbered under**Needs your answer:**; exactly one**Next step:**command; one line when nothing is needed (Form A). Decisions and questions never mixed; empty sections omitted.
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.

