Who it is forA developer about to start a feature where retries, outside services, endings or shared data could break things.
The problemFeature requests that say 'be 100% sure' change how confident the answer sounds but do not make the agent check the other code that writes the same data.
The outcomeEach of the ten questions answered with a file and line, a test, or a named gap you accept.
What you need first
- Claude Code to install the plugin (Cursor and Codex get the rules and skills, but hooks are Claude Code only)
- A folder that holds your repos, where you start your sessions
- Git repos with a branch to review, for the review use case (GitHub access is needed to read pull requests, inferred from the README)
Steps
- Complete the install and setup steps from
/plugin install first-pass@first-passand/first-pass:setup-first-pass. - Run
/first-pass:premortemfollowed by your feature request before the agent writes any code. (inferred, check the README) - Read each answer. Accept a gap only when you decide to, since each gap is recorded as Not handled, because a reason.
- Approve the code only after the answers match the real code.
Prompt for your agent
In the <repo-name> repo, run premortem on this feature: <feature-request>. Expected output: ten answers covering running twice, stopping halfway, outside service failure, neighbors, endings, money, hostile users, words, scale and time, each as file:line, a test, or Not handled. Verify that each file:line points to code that exists.
Caveat. The questions run against code the agent can read, so answers are only as good as the repo's own files and the setup section written for it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for joetawil7/first-pass and "Answer ten pre-code questions before writing a feature"
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