A small collection of Claude Code skills I built to keep AI-assisted coding from creating mess.
Skills are single SKILL.md files Claude Code auto-loads. Drop them into ~/.claude/skills/<name>/SKILL.md and Claude reads them on session start. No MCP server, no install dance.
Stops Claude from git clone-ing or npm install-ing a repo when you only wanted to borrow a function or an idea from it. README first, then 1–3 raw files into /tmp, lift the smallest useful unit, paste with a provenance comment. No transitive deps. No version pins.
mkdir -p ~/.claude/skills/surgical-github-extraction
curl -fsSL https://raw.githubusercontent.com/jeet-dhandha/jd-skills/main/skills/surgical-github-extraction/SKILL.md \
-o ~/.claude/skills/surgical-github-extraction/SKILL.mdFor when a one-off snippet isn't enough but a runtime dep is too much. Vendor only the slice of a library you actually use into your project, trim the rest, record what came from where in .code-graft.yaml, and re-sync selectively from upstream later without losing your local modifications. Useful when a library is too big (vendoring one tokenizer out of HuggingFace transformers), slow to release, or you want to patch it locally and survive upgrades.
mkdir -p ~/.claude/skills/code-graft
curl -fsSL https://raw.githubusercontent.com/jeet-dhandha/jd-skills/main/skills/code-graft/SKILL.md \
-o ~/.claude/skills/code-graft/SKILL.mdgit clone https://github.com/jeet-dhandha/jd-skills ~/.jd-skills
ln -s ~/.jd-skills/skills/* ~/.claude/skills/Project-scoped works too — replace ~/.claude/ with .claude/ in your repo root.
| You want | Use |
|---|---|
| A pattern, or an 8-line function | surgical-github-extraction |
| A meaningful chunk you want to own + occasionally re-sync | code-graft |
| The library as an actual runtime dependency | npm install / pip install — neither skill applies |
Found a workflow these skills don't cover, or a prompt that misfired? Open an issue. Skills get sharper with concrete failure cases.
MIT — see LICENSE.