# 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.

- Skill: `arasz/scripts-tooling-refactor-2` (Agent Skill, multi-file: 7 files)
- Install (CLI): `npx get-skill add arasz/scripts-tooling-refactor-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/arasz/scripts-tooling-refactor-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: Arasz (https://skillmd.com/u/arasz)
- Updated: 2026-11-14
- Page: https://skillmd.com/skills/arasz/scripts-tooling-refactor-2

---


> **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.

