Instruction file imported from sybrew/troy (
.cursor/rules/css.mdc). Copyright stays with the author.
description: Troy stylesheet conventions, layout debugging, and minification globs: **/*.css alwaysApply: false
Follow the CSS rules in @.github/instructions/css.instructions.md when editing CSS files.
After editing unminified src/troy-server/library/css sources, run the minify skill. Do not create, edit, or search for *.min.css.
Read .local/minify/permission.txt with an explicit path (Grep/Glob cannot see .local/). Never invent flags. If the file does not exist, prompt. If you cannot prompt and no permissions exist, skip minification altogether and ask at the end of the chat. After the user replies with both flags, write those two lines (JS=True/JS=False and CSS=True/CSS=False). If CSS=False, do not prompt again, and do not clone or minify CSS. If CSS=True and .local/minify/cleancss-tsf/run.js is missing, clone https://github.com/theseoframework/cleancss-tsf into .local/minify/cleancss-tsf and run npm install there. That public repo is the source of truth.