astcount-refactor-interactive
Installation
SKILL.md
Refactor interactively with astcount
Use astcount to find structural simplifications, but make the user an active partner in consequential decisions. Do not turn “interactive” into vague status questions: inspect first, present concrete options and evidence, and ask focused questions about real tradeoffs.
Establish the measurement together
Infer the scope from the request. Resolve one astcount command, run it with
--version, and reuse that exact invocation:
- When
command -v nixsucceeds, usenix run github:wokalski/astcount/v0.3.0 --. - Otherwise, use
bunx astcount@0.3.0when Bun is available. - Otherwise, use
npx --yes astcount@0.3.0when npx is available. - Stop if none is available.