Fifteen slides that introduce speccen to a team. Use the buttons or the arrow keys to move through them, and open the speaker notes under each slide.
specification-driven lean by design autonomous by choice
Speaker notes
Open with the name: speccen is West Flemish for candy. The tagline is the whole talk in one line.
speccen
2
Architecture erodes when AI builds fast
Decisions stay implicit
The reasoning behind a design choice lives in a chat session, not in the repository.
Drift arrives faster
Generated code follows local patterns and can bend the architecture without anyone deciding to.
The why gets lost
Nobody remembers why a fence was built, so nobody dares remove it. Or someone removes it too soon.
Make architectural decisions explicit, gated and durable.
2
Speaker notes
AI makes code cheap. Architectural intent does not get cheaper to keep. Three gaps: implicit decisions, silent drift, and a lost why. speccen targets these.
speccen
3
What is speccen?
speccen
/ˈspɛkŋ/ noun West Flemish
Candy. Small, sweet, and made to be shared.
A set of skills for AI coding hosts
Works with Claude Code and GitHub Copilot CLI. Host-agnostic by design.
Gated by the Architect
Each phase ends at a gate where a human decides what happens next.
Output you can review
A bundle of plain markdown: state, log, decisions, and one summary per phase.
3
Speaker notes
speccen is the toolkit formerly known as AGWS (analysis-gated workflow skills). It is a set of skills, not a service: you install it in your AI coding host and it structures feature work into gated phases that leave a reviewable trail.
speccen
4
Three principles
Specification-driven
Intent, evidence and decisions are written down and reviewed before code is built.
Lean by design
Avoid waste by not building what is not needed. This is not about writing fewer documents.
Autonomous by choice
Gated is the default. Per bundle or per phase, the agent can take the decision seat as a delegate.
4
Speaker notes
These are the three halves of the tagline. Stress that lean means avoiding unnecessary building, not minimising paperwork.
speccen
5
Six core phases, two optional passes
Every phase ends at a gate
01
Feature analysis
02
Code analysis
03
Compliance & review
04
Specification
05
Implementation
06
Close-out
07
Retrospective
08
Reference
Phases 01–04
Understand, decide, specify
No code is touched. Analysis, ADRs and the full specification are agreed first, so review shifts left.
Phases 05–06
Build, close out
Phase 05 changes the code. Close-out graduates durable knowledge.
Phases 07–08
Optional passes
Architect-invoked, read-only, in any order.
5
Speaker notes
The core flow is linear and gated: feature analysis, code analysis, compliance and review (the ADR loop, with optional throwaway prototypes), specification, implementation, close-out. Only phase 05 modifies code. Retrospective (07) and Reference (08) run only when the Architect asks, in any order.
speccen
6
Everything lands in one bundle
.speccen/bundles/<id>/
├─ STATE.md live state
├─ log.md every prompt
├─ index.md
├─ phase-01-feature-analysis/
│ ├─ phase.md
│ └─ summary.md
├─ phase-04-specification/
│ └─ specification.html
└─ adrs/ one file per ADR
One live state
STATE.md says where the run stands. Resuming needs it plus one summary.
ADRs are permanent
One file per decision. Never overwritten, summarised away or deleted.
One assembled spec
Phase 04 builds the full specification, with requirements as SHALL and WHEN–THEN scenarios.
6
Speaker notes
The unit of work is a folder-per-phase bundle. Every phase has a full phase.md and a bounded summary.md, so a reader loads only what the task needs. Bundles are disposable after merge; the durable residue graduates to the project store.
speccen
7
Two artefacts worth reviewing
Phase 04 · core
Specification
specification.html
specification.md
Assembled, not authored. A projection of the phase 01–04 files, so it cannot drift.
Defines done. SHALL and WHEN–THEN scenarios, with error and edge cases.
Frozen at the gate. Phase 05 builds against it and does not edit it.
Phase 08 · optional
Reference
reference.html
reference.md
Layered by depth. C4 levels L1 to L4. A reader can stop at any complete layer.
Shows what changed. Delta-highlighted SVG and Mermaid diagrams. Service Contracts apart from Component APIs.
Carries the why. Key reasoning and rejected alternatives sit on the page.
What we set out to build ↔ what we built. At close-out the specification graduates to the feature node, and the reference cross-links to it.
7
Speaker notes
The specification is the pre-build artefact: intent plus requirements and acceptance scenarios, assembled at the Phase 04 gate from the phase files. It is the same family as tools like OpenSpec, but earned from gated analysis rather than hand-written as the starting point. The reference is the post-build artefact, optional and invoked by the Architect: a depth-layered technical reference sourced from the whole bundle. Both are authored as HTML in Simplified Technical English, each with a reduced Markdown projection. The two form a matched pair.
speccen
8
Modernization needs evidence
6
structural-blockage indicators can trigger an evolution-gap brief
Each indicator needs a recorded finding. Size or effort alone never counts.
Funds the feature
The brief states the gap and its business consequence. You can still request it before Compliance.
8
Speaker notes
Phase 02 decides on its own, from evidence, whether to write doc-evolution-gap.md. The six indicators: architectural boundary conflict, missing seam or stub on the required path, data-model or contract limitation, performance or scalability wall, collision with an acknowledged-imperfect design, and entanglement that forces partial remediation. Modernization is never funded alone; the brief ties the gap to the concrete feature.
speccen
9
Gated by default, autonomous by choice
Gated
Default
The agent proposes, with a lean. The Architect rules at every gate.
Autonomous
Opt-in
The agent acts as your delegate. It takes the decision seat, not your identity or authority records. Decisions are logged for you to adopt or override. ADRs, promotions and waivers stay yours.
Set per bundle in speccen-config.yaml
Local override: uncommitted file · per phase: phases.<phase>.mode
9
Speaker notes
Autonomy is a dial, not a switch. The delegate takes the decision seat but never impersonates the Architect. What it may take over, the gate checks, the stop conditions and the record of delegated decisions are all written into the governing skill.
speccen
10
Decisions that outlive the feature
Feature bundle
Feature-local ADRs, written while the feature is analysed. The bundle is disposable.
Graduate at close-out
Project store
Decisions, lessons and notes as a linked graph. Permanent. Scope: the system under development.
Chesterton's Fence
Do not remove a fence until you know why it was built. The store keeps the why for the next team.
10
Speaker notes
Feature-local ADRs graduate to project level at Phase 06 close-out, by promotion or by automatic override. Entry rules are adapted from the Keep the Why project (MIT licence, credited).
speccen
11
Documents written for the reader
Phase 02
Gap
doc-evolution-gap
What the system lacks to deliver the spec. Written only when a blocker is evidenced.
Phase 04
Intent
doc-executive
doc-business
What the plan will deliver and why. Frozen when the phase closes.
Phase 06
Outcome
doc-executive
doc-business
doc-technical
What was delivered, compared with the intent.
Expansion seeds in ASD-STE100 style, never shared verbatim. STE-styled, not certified.
11
Speaker notes
Seeds are terse bullets under fixed headings. An external reader always gets a redacted or expanded version generated from the seed. If the business or executive seed cannot be filled, the feature's purpose was not fully understood.
speccen
12
Five skills outside the phases
interview
Settles open decisions in numbered rounds, each question with a proposed answer. Used in phases 01, 03 and 04.
reconcile
After worktrees merge into main, repairs the durable store: projections, links, tag drift, contradictions.
app-maturity-audit
Scores a codebase on eleven dimensions, holds an Architect gate, then writes executive, business and technical seeds.
code-documentation
Two gated phases, plan then generate. Layered HTML documentation with a Markdown projection.
code-review
Reviews an implementation against analysis, conventions and security standards. Optional GitHub Issues.
Shared and repo-level
Independent workflows, outside the bundle
12
Speaker notes
None of these is a phase. interview is a shared skill the phases call; in autonomous mode the delegate answers and records the same questions. reconcile is horizontal: a repo-level operation after a merge, not an Architect gate. The audit, code-documentation and code-review skills are independent workflows with their own output folders under .speccen/ (audits, documentation, reviews). Claude Code has a built-in /code-review; this plugin's is speccen:code-review. The interview skill is inspired by grilling by Matt Pocock (MIT).
speccen
13
Maturity audit: two questions, four signals
Recon
›
Scoring
›
Review gate
›
Synthesis
Overall maturity
Weighted average across eleven dimensions.
Production-readiness gate
The lowest score among security, testing and reliability.
Modernization pressure
From the legacy cluster. Adaptability weighs most.
TCO signature
A relative cost-of-ownership burden. Not euros.
Run as /speccen:audit. Every later run is compared with the previous run and the baseline.
13
Speaker notes
The audit answers two questions separately: can you responsibly keep running this as-is (the readiness gate), and how much is it holding you back (modernization pressure). Eleven dimensions: performance and scalability, security, testing, reliability, adaptability, CI/CD and deployment, observability, dependency health, code quality, architecture, documentation. Adaptability, the inverse of resistance to change, is the largest driver of TCO and a proxy for estimate reliability. Scores come from a script, never hand-computed. The first run of a codebase is the baseline.
speccen
14
Your seat in the loop
Set the mode
Gated or autonomous, per bundle or per phase.
Rule at the gates
The Architect is the sole authority. The agent proposes with a lean.
Check the evidence
Request or challenge the evolution-gap brief before Compliance.
Promote the decisions
Choose which ADRs graduate to the project store at close-out.
14
Speaker notes
Close the content on what the architect actually does. Four moments: choose the mode, rule at gates, check the evidence, promote decisions.
Questions?
speccen.dev
Speaker notes
Point people to speccen.dev and the speccen GitHub organisation.