Open
Bug 2094532
Opened 2 days ago
Tell agents in the desktop-theme skills when to run ./mach lint
Categories
(Developer Infrastructure :: AI for Development, task)
Developer Infrastructure
AI for Development
Tracking
(Not tracked)
NEW
People
(Reporter: dao, Unassigned)
References
(Depends on 2 open bugs, Blocks 1 open bug)
Details
No desktop-theme skill tells the agent to run ./mach lint, so a stylelint rule catches an agent's mistake only at review. The colors, tokens and layout skills should run it right after the agent writes what a rule judges, and passages that restate what a rule enforces should shrink to that pointer:
desktop-theme-tokens§6: run it on the changed sheets after./mach buildtokens, not before, sinceno-unguarded-high-contrast-token-overridesreads the generateddist/high-contrast-tokens.mjs.desktop-theme-tokens§4:./mach lint --fixadds the high-contrast guard, and thetokenTypesclause becomes a pointer touse-design-tokens.desktop-theme-tokens§5: the rawpxandcustomFixespassages become./mach lint --fix.desktop-theme-colors§6: run it after writing a forced-colors block or a token background, foruse-boolean-forced-colors-queryanduse-paired-color-tokens.desktop-theme-layout§1: run it after a fix that writes a length.
The probing and screenshots skills write no CSS and need nothing.
You need to log in
before you can comment on or make changes to this bug.
Description
•