Who it is forA tech lead who just set up Gap Trap and wants to see how far the existing code already is from the new rules.
The problemNew rules are only useful if you know which parts of the current code break them, and that list is hard to build by hand.
The outcomeA report of existing violations grouped by contract and rule, with no changes made to the repo.
What you need first
- A git repository you want to set up
- Claude Code (Opus or better) or Codex (frontier coding model at high reasoning), since the skill stops on smaller models
- The skills CLI via npx, or a git clone for a manual install
- Your repo's test command, and git, grep, and awk for non-Node and non-Python repos
Steps
- Finish
/gap-trap setupin the repository. - When the skill asks whether to check the repo against the new framework, answer yes.
- Read the violations list grouped by contract and rule.
- Decide which violations to fix now and which to track with ratchets.
Prompt for your agent
In the repo at <repo-path>, after `/gap-trap setup` has finished, answer yes to the framework check. Return the existing violations grouped by contract and rule. Verify that no files changed by running `git status` before and after.
Caveat. The check lists violations and changes nothing, so the fixes are a separate step you have to plan yourself.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for pliablepixels/gap-trap and "Find existing rule violations before they spread"
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