Repository navigation
Templates and Examples
templates/ is the payload scripts/bootstrap.sh installs into an adopting
repository. Notable groups:
-
Agent-instruction bridges —
AGENTS.md(the cross-vendor default), plus opt-in vendor files (CLAUDE.md,.cursorrules,.goosehints,.openhands_instructions,.project-rules.md,SYSTEM_PROMPT.md, and others) installed only for the tools a project actually uses. -
Project governance files —
AGENTS.md,CONTRIBUTING.md,HELP.md,README.md,SECURITY.md,TODO.md,CHANGELOG.md, andVERSION. The README template is the worked example ofDOCUMENTATION.md's README expectations: a visible capabilities list and quick start, one collapsed install block per platform (Windows, macOS, Linux), and a collapsed project tree. -
Documentation scaffolds under
templates/docs/—SETUP.md,COMMAND_REFERENCE.md,TROUBLESHOOTING.md,ARCHITECTURE.md,OPERATIONS.md,TEST_PLAN.md,PRODUCT_REQUIREMENTS.md,REQUIREMENTS_TRACEABILITY.md,OTS_SOFTWARE.md(now with a License column),ENV_VARS.md,MEMORY.md,SESSION_PLAN.md,AGENT_HANDOFF.md,INCIDENT_POSTMORTEM.md, andMVP_BACKLOG.md. -
Demo page —
templates/demo.html, a working single-file page (inline styles and scripts, no build, no backend, no network) that product-facing repositories fill in and publish. SeeDOCUMENTATION.md's "Demo Page" anddocs/adr/0002-demo-page-requirement.md. -
GitHub automation under
templates/.github/— Copilot instructions, Dependabot configuration (submodule and SHA-pinned GitHub Actions), the Solon agent, apull_request_template.mdcarrying the Completion Checklist and the trivial-change declaration, a commentedCODEOWNERSexample, and theconstitution-*.ymlworkflow templates (includingconstitution-wiki.yml; see Home). Every action in every workflow is pinned by full commit SHA (SECURITY.md, "CI/CD Supply Chain"). -
Agent runtime guardrails —
templates/.claude/settings.json(installed with--agents=claude) carries apermissions.denylist that refusessudo, deleting/or~, force/mirror/delete pushes, and branch or tag deletion, and refuses to read credential-shaped files. It is a prefix-matched floor, not a guarantee; seeSECURITY.md, "Agent Runtime Security". -
Incident postmortems —
templates/docs/INCIDENT_POSTMORTEM.md, copied per incident intodocs/incidents/, with corrective actions that becomeTODO.mditems (OPERATIONS.md, "Incident Response").
A template is a starting point, not a finished document. check_compliance.sh
flags recommended and product-facing docs that still hold copied placeholder
text, so adoption is not "done" until each template has been customized or
trimmed to describe the real repository. demo.html is checked the same way
but by a different signal: HTML comments are ordinary markup rather than
template prompts, so the scaffold carries an explicit
constitution-demo-template-placeholder marker that the adopter deletes.
examples/sample-project/ demonstrates the shape a bootstrapped repository is
expected to have: top-level governance docs, a constitution/ submodule, a
docs/ directory, src/, and editor/assistant configuration directories such
as .github/ and .cursor/.
examples/OPERATIONS.example.md is a fully worked operations runbook for a
fictional deployed service, filling in every section
docs/OPERATIONS.md is expected to cover.
Overview
Adoption
Engineering Workflow
Integrations