Spec 1.0: This example uses the current stable portable core release.Use this when you are starting from zero and want clear intent from day one without turning the repo into a planning exercise.
Goal
Get one working loop in place early:- one current-truth subject
- one set of requirements
- one real verification path
- one CI check that keeps drift visible
Smallest good starting point
Pick one user-visible behavior. Good examples:- one endpoint
- one workflow
- one core module contract
Recommended loop
- Add the
.specworkspace for your stack. - Write one subject spec in
.spec/specs/. - Keep the first spec narrow:
- two or three requirements
- one or two scenarios
- one verification target
- Implement the code, tests, and docs from that contract.
- Run the local verification command and keep the same check in CI.
Prompt you can give an agent
What success looks like
By the end of the first pass, the repo should have:- one clear subject spec
- tests or commands that prove the key requirements
- a local verification command that passes
- a CI check that will fail when code and intent drift apart
Avoid
- modeling the whole project on day one
- writing specs for things nobody understands yet
- adding a large governance layer before the first verification loop works
- treating the spec as a substitute for tests
Next step
Once the first subject is stable, add the next subject right beside it. That keeps the adoption curve shallow and the method teachable.What to skip
Do not start with:- heavy traceability
- proposal records
- ADR workflows
- conformance matrices
- pre-commit hooks