Freeze
Declare directories that are off-limits to edits. Stores the list in .dragoon/freeze.json. Optionally installs a git pre-commit hook that fails the commit if any frozen path is touched. Subcommands list/add/remove/hook/check. Use when isolating a refactor, locking legacy directories, or onboarding a contributor with limited scope. Run as `node ~/.claude/skills/dragoon/skills/freeze/scripts/freeze.js <subcommand>`.From its SKILL.md
npx -y skills add Dragoon0x/dragoon-skills --skill freezeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 6 commands, including `dragoon freeze list` and 5 more.
SKILL.md
1.2 KB, 167 tokens by cl100k_base, as published. Nobody here has run it
/freeze
Declare directories off-limits.
When to use
- During a refactor in one part of the codebase, freeze the rest
- Onboarding a contributor with bounded scope
- Locking legacy directories that nobody should edit
Commands
dragoon freeze list
dragoon freeze add src/legacy --apply
dragoon freeze remove src/legacy --apply
dragoon freeze hook --apply # writes a pre-commit script
dragoon freeze check # CI-friendly check
Enforcement
- by default, dragoon does not block edits at runtime
- with
freeze hook --applyand a pre-commit symlink, commits to frozen paths fail - override with
git commit --no-verify(so the hook is a soft fence, not a wall)
What ships with it: 1 file
6.5 KB alongside SKILL.md, 1 of them executable
scripts/
- freeze.jsruns6.5 KB