This is the generic copy. If this project has been scaffolded, prefer the unprefixed
scripts-tooling-refactorskill: it is.ai-badger/skills/scripts-tooling-refactor/SKILL.md, and it has this project's extensions and anyproject-local.mdmerged in. This copy has neither.The full procedure is in
SKILL.full.mdbeside this file, unchanged — read it if the project has no.ai-badger/, or runwelcome-ai-badgerto scaffold one.
Scripts Tooling Refactor
Use when refactoring a repo's scripts/ directory: convert non-python scripts to the repo's tooling language, move logic to src/ with tests in tests/ (TDD first), prune dead scripts on usage evidence (git ls-files inventory, LIVE/HISTORICAL classification, three-way sync contracts), and preserve call sites with thin wrappers.
Scripts Tooling Refactor by Arasz · ddecfba
npx get-skill add arasz/scripts-tooling-refactor-2 File contents
---name: scripts-tooling-refactor-2description: "Use when refactoring a repo's scripts/ directory: convert non-python scripts to the repo's tooling language, move logic to src/ with tests in tests/ (TDD first), prune dead scripts on usage evidence (git ls-files inventory, LIVE/HISTORICAL classification, three-way sync contracts), and preserve call sites with thin wrappers."version: 1.0.0author: ai-badgerlicense: MITplatforms: [linux, macos, windows]scope: defaultmetadata: source: https://skillmd.com/skills/arasz/scripts-tooling-refactor-2 hermes: tags: [refactoring, scripts, tooling, testing] related_skills: [refactor-safely, spec-driven-refactoring]---> **This is the generic copy.** If this project has been scaffolded, prefer the unprefixed> `scripts-tooling-refactor` skill: it is `.ai-badger/skills/scripts-tooling-refactor/SKILL.md`, and it has this project's> extensions and any `project-local.md` merged in. This copy has neither.>> The full procedure is in `SKILL.full.md` beside this file, unchanged — read it if the project has no> `.ai-badger/`, or run `welcome-ai-badger` to scaffold one.
arasz/ai-badger commit ddecfba4bc
Frequently asked questions
Run npx get-skill add arasz/scripts-tooling-refactor-2 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Use when refactoring a repo's scripts/ directory: convert non-python scripts to the repo's tooling language, move logic to src/ with tests in tests/ (TDD first), prune dead scripts on usage evidence (git ls-files inventory, LIVE/HISTORICAL classification, three-way sync contracts), and preserve call sites with thin wrappers. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free. This skill is licensed under MIT.
Arasz (@arasz) published this skill. Their other Agent Skills are listed on their SkillMD profile.