Who it is forA developer about to change architecture or a contract in a shared repository who wants the AI session to slow down and write a spec first.
The problemAn AI session can start editing code for a risky change before anyone has written down what the change should do.
The outcomeFor a T3 change, the session writes a specification and a failing test before the code, and separate reviewer workers check the result.
What you need first
- bash
- Python 3.14 or newer on PATH
- git, to clone the repository
- Claude Code or another supported coding tool, with a session rooted at your project
Steps
- Install the workflow with
./Cypress/install.sh claude-code --project-dir /path/to/your/project. - Open a Claude Code session rooted at your project.
- Describe the change and ask the session to classify it into a risk tier first.
- For a T3 change, confirm the session wrote a specification and a failing test before any code edit.
- Ask the reviewer worker to check the change against the written specification.
Prompt for your agent
In the Cypress-installed repo at <project-path>, ask a Claude Code session to classify and then implement the change described in <change-description> following the T3 process. Expected output: a specification file and a failing test committed or saved before the implementation. Verify that the failing test exists and fails before the code change is made.
Caveat. The README says the tier choice and the order of spec and test are requested of the model, and no tool checks them, so you must verify the order yourself.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for llopresto87/Cypress and "Route a risky change through spec and failing test first"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer