devanshranjan10

Landmines — Development skill for Claude Code

Development community

Known open bugs in your exact dependency versions, put where your coding agent reads them (AGENTS.md/CLAUDE.md, pre-edit hook for 20 agents, MCP).

How to install Landmines

This entry records only its repository, not the path inside it, so there is no exact command to give. Open devanshranjan10/landmines and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Landmines does

Known open bugs in your exact dependency versions, put where your coding agent reads them (AGENTS.md/CLAUDE.md, pre-edit hook for 20 agents, MCP).

Alternatives in Development

  • Agent Skills Discovery RFC — A mechanism for discovering Agent Skills using the .well-known URI path prefix as specified in RFC 8615 for di 337 ★
  • Nonstop — Autonomous work mode for Claude Code 263 ★
  • Opencode X — Open-source Claude Code alternative 97 ★

README

landmine

[![npm](https://img.shields.io/npm/v/landmines)](https://www.npmjs.com/package/landmines) [![ci](https://github.com/devanshranjan10/landmines/actions/workflows/ci.yml/badge.svg)](https://github.com/devanshranjan10/landmines/actions/workflows/ci.yml) [![license: MIT](https://img.shields.io/badge/license-MIT-blue)](LICENSE) [![landmine-bench](https://img.shields.io/badge/landmine--bench-86%25%E2%86%9299%25-3987e5)](docs/BENCHMARK.md)

Your coding agent is about to write `await db.$client.end()`. Your lockfile pins drizzle-orm **0.36.0**, an open GitHub issue filed against exactly that version says this call is broken, and a stranger in the thread posted the way around it.

landmine stops that edit **once**, hands the agent the issue and the quoted workaround, and then lets the retry through.

  • landmine scan.
    • Reads your lockfiles and finds the open GitHub issues that name the exact version you pin.
    • Checks every hit and works out which code symbols each issue is about.
    • Picks the most useful workaround from the comments.
    • Writes everything to .landmine/index.json.
  • landmine install. Adds a pre-edit hook (or plugin) for the coding agents it finds in the project: 20 agents, from Claude Code, Codex and Cursor to OpenCode, Kilo Code, Cline, Windsurf, Copilot and Antigravity (see Supported). Agents without a pre-edit hook get a rules section, an Agent Skill and the MCP server instead.
  • landmine cards (optional). A model reads each issue thread once and writes a trigger card: the API, the extra conditions that make the bug fire, and the workaround. The hook then checks cards offline. It never calls a model.
  • landmine mcp. An MCP server the agent can query on demand ("is this error a known bug in the version we pin?").
  • The hook. It runs before each edit, offline. It took 0.11 s per call on our test machine, including Node startup, with a 149 KB index that has trigger cards. It pauses an edit on