clear-layers
Installation
SKILL.md
Clear Layers
Steps
- Resolve
$DATA_ROOTand readconfig.json. Identifyapply_target.path. - Backup the current target file to
$DATA_ROOT/backups/<basename>.<timestamp>.bak. - Remove the entire
<!-- style-switcher:start -->…<!-- style-switcher:end -->block (and the blank line preceding it, if present) from the target file. Leave everything else untouched. - Set
active_layers: {}andactive_recipe: nullinconfig.json. Updateapplied_atto ISO-8601 now. - Append one JSON line to
$DATA_ROOT/state/history.jsonl:{"ts":"<iso>","action":"clear-layers","target":"<path>"} - Confirm — print the target path and "no layers active".
Snippets in the library are not deleted. Use delete-snippet for that.