plugins/acss-kit/skills/style-tune/SKILL.md
Use when the user wants to adjust the visual feel of a component or theme role — 'warmer button', 'softer card', 'bolder primary', 'calmer alert'.
npx skillsauth add shawn-sandy/acss-plugins style-tuneInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Route a natural-language aesthetic intent ("warmer button", "softer card", "deeper accent") to either a theme-role OKLCH edit or a component SCSS token edit. The full workflow for each layer lives in the parent skill; this router handles intent parsing and dispatch.
Call ExitPlanMode before parsing intent. Both downstream paths write to disk — /theme-update edits theme CSS, component-layer edits SCSS in place, and OKLCH scripts run via Bash. Plan mode blocks all of these.
Stay in plan mode only when the user explicitly asked for a preview ("show me the deltas", "don't apply yet"). In that case, narrate the resolved (modifier, token-family, layer) tuples from Step A without invoking Write/Edit/Bash, and wait for approval.
Read ${CLAUDE_PLUGIN_ROOT}/skills/style-tune/references/intent-vocabulary.md. Each row maps a modifier (and synonyms) to a token family + canonical delta + "var-only fallback" route.
Parse the prompt for vocabulary matches. Each match yields a (token-family, delta, layer-hint) tuple. Record all matches before dispatching.
| Subject in prompt | Layer | Follow |
|---|---|---|
| primary, accent, danger, warning, info, success, brand, theme, app | theme | styles/SKILL.md — Style-Tune Mode |
| button / btn, card, alert, dialog, input, nav, form | component | components/SKILL.md — Style-Tune Mode |
| bare this / it / the component / everything | ambiguous | AskUserQuestion |
"This button" / "the button" / "buttons" always map to a global SCSS edit — never inline style={...} props.
Use AskUserQuestion (≤ 4 options) when:
For unambiguous prompts, skip A3 and dispatch immediately.
After the layer workflow completes, print:
Layer: <theme | component | both>
Files: <list>
Modifier Token / Role Old New Status
warmer --color-primary #2563eb #3265ec accepted
warmer --color-primary-hover #1e4dc7 #294fc8 accepted
softer --btn-radius 0.375rem 0.5625rem accepted
calmer --color-danger #dc2626 #d8413b reverted (contrast)
Notes:
- <any var-only fallback routing notes or drift warnings from the layer workflow>
Next:
- Try "now go a touch sharper" to dial back radius.
- Or use /theme-update for explicit hex values.
Always include the "Next" hint so users know iteration is cheap and bounded.
development
Internal orchestrator for /kit-create, /kit-list, /kit-sync, /kit-update and Form/HTML/Style-Tune modes. Per-component generation lives in component-<name> skills; do not auto-trigger for component requests.
data-ai
Use when the user asks to generate, create, or scaffold a Table — accessible data table with caption, scope headers, responsive scroll wrapper, and sortable column support.
tools
Use when the user asks to generate, create, or scaffold a Popover — accessible tooltip/popover using the Popover API with focus trap, aria-expanded, and light-dismiss.
tools
Use when the user asks to generate, create, or scaffold a Nav — accessible navigation landmark with aria-label, current-page link marking, and horizontal/vertical layout.