This file is for AI coding agents working on this codebase.
Read the project constitution: .esper/CONSTITUTION.md β it defines the architecture, principles, and what this project is (and is not).
<Slide>is always the explicit frame boundary. Layouts are content components inside<Slide>, never wrappers around it. See the Component Hierarchy in the constitution.- Keep docs in sync. Every change to public API, component behavior, or architecture must update
README.md,docs/, andspecs/in the same commit. - Read specs/ before implementing. Component contracts live in
specs/β they define props, behavior, valid usage patterns, and constraints. - Run verification.
bun run test,bun run lint,bun run typecheckmust all pass.
packages/diapos/β the framework library (components, hooks, theme, engine)packages/create-diapos/βnpx create-diaposCLI scaffolderdocs/β end-user documentationspecs/β component specs for coding agents.esper/β project management (constitution, increments, workflow)
This project uses esper for agent-driven development.
Key files:
.esper/CONSTITUTION.mdβ project vision, tech stack, and scope boundaries.esper/WORKFLOW.mdβ how increments, specs, and reviews work.esper/esper.jsonβ project config and verification commandsspecs/β spec tree (source of truth for component contracts)
Workflow commands (via Claude Code skills):
esper:specβ create or edit specsesper:atomβ create a single incrementesper:batchβ plan multiple incrementsesper:goβ advance from spec β plan β implementationesper:reviewβ review implementation against specsesper:syncβ update specs to match shipped code
Rules:
- Read
.esper/CONSTITUTION.mdbefore any implementation work. - Read relevant
specs/before modifying components. - Validation (
bun run test,bun run lint,bun run typecheck) must pass before an increment is complete. - Specs are updated proactively as implementation proceeds.