From rkit
Freeze critical files to prevent accidental modification during development. Protects linker scripts, Device Tree, kernel headers, project configs, and more. Domain-specific presets for MCU, MPU (Kernel/Driver/App), and WPF. Triggers: freeze, unfreeze, protect, lock files, 동결, 보호, 파일 잠금, 凍結, ファイル保護, 冻结, 文件保护, congelar, proteger, geler, protéger, einfrieren, schützen, congelare, proteggere Do NOT use for: architecture-level locking (use /arch-lock), automation level control (use /control), PDCA phase management.
npx claudepluginhub solitasroh/rkit --plugin rkitThis skill is limited to using the following tools:
> Protect critical files from accidental modification during PDCA Do phase.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Protect critical files from accidental modification during PDCA Do phase.
| Argument | Description | Example |
|---|---|---|
| (none) | Show freeze status (same as list) | /freeze |
freeze <patterns...> | Freeze specific file patterns | /freeze *.ld startup_*.s |
unfreeze <patterns...> | Unfreeze specific patterns | /freeze unfreeze *.ld |
unfreeze all | Unfreeze all patterns | /freeze unfreeze all |
list | List all frozen patterns | /freeze list |
preset <domain> | Apply domain preset (mcu/mpu/wpf) | /freeze preset mcu |
preset list | Show available presets | /freeze preset list |
.rkit/state/freeze-list.jsonpre-write.js hook checks every Write/Edit operation against frozen patterns/freeze preset mcu)| Pattern | Reason |
|---|---|
*.ld | Linker scripts — wrong modification causes boot failure |
startup_*.s | Startup assembly — vector table and init sequence |
*.ioc | CubeMX project — regeneration overwrites manual changes |
system_*.c | System init — clock and peripheral base config |
stm32*_hal_conf.h | HAL config — module enable/disable flags |
**/Core/Startup/** | Core startup directory |
/freeze preset mpu)| Pattern | Reason |
|---|---|
*.dts, *.dtsi | Device Tree — affects all drivers and peripherals |
**/Kconfig | Kernel config — build-wide impact |
**/Makefile.kernel | Kernel Makefile — build system |
include/linux/*.h | Kernel public headers — ABI contract |
include/dt-bindings/** | DT bindings — driver-DT interface contract |
/freeze preset wpf)| Pattern | Reason |
|---|---|
App.xaml, App.xaml.cs | Application entry point |
*.csproj | Project configuration — build target, dependencies |
AssemblyInfo.cs | Assembly metadata — versioning |
app.manifest | Application manifest — permissions, DPI |
**/Properties/launchSettings.json | Debug/launch configuration |
unfreeze all: clear entire freeze list with confirmationpreset list: show all available presets with patternspreset <domain>: apply domain presetThe freeze check runs in scripts/pre-write.js before any Write/Edit operation:
if (isFrozen(filePath)) {
outputBlock(`File "${filePath}" is frozen (${reason}). Use /freeze unfreeze to modify.`);
}
Freeze status is shown in /control status output:
🔒 Freeze: Active (6 patterns, preset: mcu)
When /guard on is activated, it auto-applies the detected domain preset.
Auto-suggested when entering Do phase on MCU/MPU/WPF projects:
"Consider freezing critical files with /freeze preset <domain> before implementation."
🔒 Freeze Status
─────────────────────────────
Frozen patterns: 6
Active presets: mcu
| # | Pattern | Reason | Frozen |
|---|--------------------|---------------------------|------------|
| 1 | *.ld | MCU critical: linker... | 2026-03-25 |
| 2 | startup_*.s | MCU critical: linker... | 2026-03-25 |
| 3 | *.ioc | MCU critical: linker... | 2026-03-25 |
| 4 | system_*.c | MCU critical: linker... | 2026-03-25 |
| 5 | stm32*_hal_conf.h | MCU critical: linker... | 2026-03-25 |
| 6 | **/Core/Startup/** | MCU critical: linker... | 2026-03-25 |
─────────────────────────────