Skills

Write A Spec

Extend a core journey in evals/core or write a one-off proof in evals/proofs that...

Install

npx skills add different-ai/openwork --skill write-a-spec -g -a claude-code -y
Repository
different-ai/openwork24.4k
Category
Git and review
Updated
3d ago
License
See repository
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Extend a core journey in evals/core or write a one-off proof in evals/proofs that proves a PR's change to a human reviewer. Use when a PR changes user-visible behaviour, when a reviewer asks "show me", or when the coverage decision says a journey is missing.

Skill: Write a Spec

Every evals/core/*.e2e.test.ts or evals/proofs/*.proof.test.ts a PR adds or changes runs in CI on the PR head and is published as that PR's proof (private report + one PR comment). Write the spec for the person who will read that report in thirty seconds, not for the machine that runs it.

Map: from change to reviewed proof

MomentSkillOutput
Decide whether a journey is needed and design itwrite-a-spec (this)a spec whose titles, steps, and evidence read as the report
Run it and read your own recordrun-testsevals/results/test-runs/<latest>/ with the captions in order
Let a reviewer click through the changepreview-my-worka sandbox link in the report's Show sandbox panel
Describe it on the PRopen-a-pran ## Evidence line naming the spec and its before → after
A proof or check is reddiagnose-a-red-runclassification before any code change
Extra screenshots or a video outside the specrecord-a-demo, upload-photoPR attachments (these are not proof)

Which lane runs your spec (and when to tag)

CI picks the lane from the file name and tags alone. Pick the lane first: it decides the world you can build.

If the spec…Name / tagCI lane
proves your change (default)evals/proofs/<name>.proof.test.tsthe dev push that adds or changes it ("Core journeys"); on demand with PR change proof
changes one of the nine core journeys in evals/journeys.tsevals/core/<journey>.e2e.test.tscore journeys on every dev push and nightly
needs a reviewer to reopen the running browser at a screenshotadd { tags: ["checkpoints"] } to the test(...) optionsprotected checkpoint lane on Freestyle (not run by manual proof runs)
Read the whole SKILL.md on GitHub

More in Git and review