Weird Science
All work

Spek

A spec language where one line is one checkable statement.

Year
2026
Type
Dev tools
Platform
Terminal
Status
Live
Built with
JavaScript, TypeScript, Bun, Claude Code

A token-minimal spec language and Claude Code plugin for LLM-driven development. Its sibling, Spek Flow, turns a spec into code through planned, tested and reviewed steps.

One sigil per line. @ is a feature, ! a must, ? a may, - a won't, = an invariant, > a scenario, and g, w, t are given, when, then. Patterns like "when X -> Y" keep each requirement unambiguous.

A coverage gate ties every scenario to a real test. A feature cannot be marked done until spek cov passes. Check, format, show, coverage and stats run through a bundled engine with no dependencies.

Spek Flow, a private repo, goes further. spek new drafts a spec from a sentence. spek implement plans the work, has Claude build each part in its own git worktree, runs the checks, has a separate agent review, and proves each scenario has a test. A failed run can be resumed.

Several projects on this page are specified in Spek.

Screenshot of Spek
Spek, as it runs today.