DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to scan a Kotlin change for known footguns before merge with Kotlin Footguns

Run a 32-pattern scanner over the lines your branch adds and review each flagged trap.

Short answer: Install the skills into your project with npx skills@latest add maxrave-dev/kotlin-footguns, selecting the footgun-scan skill; then from the repository root, run python3 .claude/skills/footgun-scan/scripts/scan.py --base origin/main --fail; read each likely hit and open the trap file it names to confirm or dismiss it. All steps.

  • Top pick
  • Software and DevOps
  • Intermediate
  • 30 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI

Who it is forA Kotlin developer about to open a pull request who wants a check against known Kotlin and Compose pitfalls.

The problemCommon Kotlin, Compose and desktop JVM mistakes pass compilation and code review because they look correct on the surface.

The outcomeA list of likely and look hits tied to specific trap files, each one confirmed or dismissed before the branch merges.

What you need first

  • A Kotlin, Compose Multiplatform or desktop JVM project in a git repository
  • Claude Code, or any coding agent that reads the open agent-skills format
  • Python 3 for the footgun-scan script
  • Node.js with npx, if you use the skills CLI install

Steps

  1. Install the skills into your project with npx skills@latest add maxrave-dev/kotlin-footguns, selecting the footgun-scan skill. (inferred, check the README)
  2. From the repository root, run python3 .claude/skills/footgun-scan/scripts/scan.py --base origin/main --fail.
  3. Read each likely hit and open the trap file it names to confirm or dismiss it.
  4. Read each look hit as a place to inspect, not a verdict.
  5. Fix the confirmed hits and run the scan again until it reports nothing you need to act on.

Prompt for your agent

In the kotlin-footguns skills installed in <repo path>, run the footgun-scan script against origin/main and open the trap file for every likely hit. Expected output: each hit marked confirmed or dismissed with a one-line reason. Verify that every confirmed hit names a trap file that exists in the skill directory.

Caveat. The scanner only matches the 32 patterns it ships with, so a clean scan does not mean a change is free of the 228 traps.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for maxrave-dev/kotlin-footguns and "Scan a Kotlin change for known footguns before merge"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer