A reusable docs/-based control-plane template for shaping a product or project brain before product code exists.
This repository is intentionally lightweight. It gives future projects a place to define product context, architecture, ADRs, feature specs, memory, execution plans, workflows, and implementation prompts before the first app folder appears.
- Create a new repository from this template.
- Replace template placeholders in
README.md,AGENTS.md,.github/copilot-instructions.md,docs/context/product.md, anddocs/architecture/overview.md. - Answer the intake questions below and record the first product context under
docs/context/. - Create the first product-definition plan in
docs/plans/fromdocs/plans/_template.md. - Record real architecture and stack choices as ADRs in
docs/decisions/before adding source code. - Add product code only after the MVP behavior is captured in
docs/features/and the initial stack decision is accepted.
When a new repo is created from this template, ask the user for:
- The project name, one-sentence purpose, and target users.
- The main problem the product or workflow should solve.
- The first valuable outcome or MVP behavior.
- Whether this is a new product, an existing codebase, or a documentation/control-plane retrofit.
- Preferred stack, deployment target, and hard constraints.
- Required integrations, data sources, auth, billing, storage, or compliance needs.
- What should stay unchanged, including existing source code, configs, workflows, and docs.
- The expected verification commands once implementation exists.
- The first decision, feature spec, or plan the agent should draft.
- Agent operating instructions that make the
docs/control plane canonical. - Product and stack context files for early discovery.
- ADR, feature spec, plan, memory, workflow, and prompt templates.
- Shared prompts for bootstrapping another repo, code style, feature implementation, and review.
- Minimal repository hygiene for future web, backend, and local-tooling code.
AGENTS.md Primary operating guide for coding agents
CLAUDE.md Claude-specific entrypoint that delegates to AGENTS.md
.github/copilot-instructions.md Concise Copilot entrypoint
docs/architecture/ System architecture and product design
docs/context/ Product and stack context
docs/decisions/ ADR template and future decisions
docs/features/ Feature/spec template and future specs
docs/memory/ Memory templates, patterns, and mistakes
docs/plans/ Work-plan template and future plans
docs/prompts/ Reusable and generated prompts
docs/workflows/ Repeatable agent workflows
Future product code can live under src/, apps/, packages/, services/, or another structure after the product direction is defined.
- Read
AGENTS.mdfirst, then relevant files indocs/context/,docs/architecture/,docs/decisions/, anddocs/memory/. - Use
docs/plans/for non-trivial work,docs/features/for product behavior, anddocs/decisions/for architectural choices. - Keep prompts model-agnostic and testable.
- Do not introduce product source code until the product direction, MVP behavior, and initial stack are documented.
- Update
docs/memory/only when a durable convention, product rule, lesson, or mistake appears.
For a new project created from this template, start with these files:
docs/context/product.md
docs/context/stack.md
docs/architecture/overview.md
docs/plans/_template.md
docs/decisions/_template.md
docs/features/_template.md
The first useful deliverables are usually:
- A product-definition plan in
docs/plans/. - An initial MVP feature spec in
docs/features/. - An ADR for the first user surface and stack in
docs/decisions/. - A short prompt in
docs/prompts/that can hand implementation work to an agent once the product boundary is clear.
- Confirm this repository has fresh Git history before publishing.
- Set the GitHub repository as a template repository.
- Add a license if the template will be shared outside a private workspace.
- Replace stale product assumptions after creating a new repo from the template.
- Add real test, build, and verification commands only after a product stack exists.