spec-rule-miner
95 / 100 · Low risk
Fine to try.
Use this standalone skill when the user asks to mine a repo's existing coding conventions for future AI coding, generate or refresh project rules with AGENTS.md/CLAUDE.md pointers, create Cursor or Qoder rule files from actual code evidence, or make AI-generated code follow a specific project's habits. Do not use for confirmed team policy governance, normal code review/debug/refactor work, linter/formatter configuration, generic best practices, unsupported tool rule files such as .cursorrules o…
What this skill can do
Connects to the internet
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'spec-rule-miner' ] || [ -L ~/.agents/skills/'spec-rule-miner' ]; then echo 'A skill folder named spec-rule-miner already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/leo-kuang-ai/spec-first' "$d" && git -C "$d" checkout --quiet '74655dc86b1270bb52239e0f8bc9517de7a7071c' -- 'skills/spec-rule-miner' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/spec-rule-miner' ~/.agents/skills/'spec-rule-miner' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'spec-rule-miner' ~/.claude/skills/'spec-rule-miner' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/leo-kuang-ai/spec-first/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-08 | 74655dc | 100 |