Remote script. The install command downloads a package from a GitHub Releases URL, so confirm the source before running it.
Who it is forA developer with a reproducible bug in a project that uses Claude Code, who wants the fix checked and a test added before merging.
The problemA single coding-agent pass can miss edge cases or leave a fix untested, so the developer has to review and rerun it by hand.
The outcomeAutoprompt runs its review, fix, and recheck loop on the bug and returns a change with a regression test.
What you need first
- Node.js 20+
- Python 3.11+ available as python3 or python, with PyYAML
- Bash 4.3+ on macOS or Linux, or a native Windows setup as described in the README
- At least one supported coding agent installed, such as Claude Code or Codex
- A local project folder to work on
Steps
npm install -g https://github.com/Spielewoy/autoprompt-skill/releases/download/v2.1.0/autoprompt-skill-2.1.0.tgzautoprompt, then choose Claude Code, confirm its path, and installautoprompt doctor claude --strict(inferred, check the README)autoprompt activate claude --target /absolute/project -- "fix the registration race and add a regression test"(inferred, check the README)- Replace the quoted goal with your own bug, constraints, and how to check success before running.
Prompt for your agent
Using the Spielewoy/autoprompt-skill repo, run `autoprompt activate claude --target <absolute project path> -- "fix the registration race and add a regression test"`. Expected output: a code change for the bug and a new regression test. Verify that the project's test command runs and the regression test passes.
Caveat. The README reports measured results only for OpenCode in version 1 benchmarks, and time and token costs are planning estimates of about 3x time and 2x tokens.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Spielewoy/autoprompt-skill and "Fix a bug and add a regression test with Claude Code"
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