keep-or-cut
Installation
SKILL.md
Keep or cut rat-stack
Use this to learn the stack's seams. Delete interfaces your product will not use. Do not keep code because you might need it one day.
Read AGENTS.md first. Keep unrelated product work. Check imports and tests before deleting files.
Smallest version: command line only
Keep these files:
packages/capability/src/contract.tspackages/capability/src/implement.tspackages/capability/src/to-command.tspackages/capability/src/call-watch.tsandpackages/capability/src/actor-watch.ts- every module imported by these files or retained core code, and their tests
- all of
packages/core - the CLI composition needed by the projected command
defineContract, implement, and toCommand keep the shipped stats command working. contract.ts does not depend on the other interfaces.