/web:cssfrom web
Writes, fixes, or reviews plain CSS/Sass with cascade-aware rules, custom-property scales, and rem units. Avoids ID selectors and reactive !important.
Ships in web. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
principle-investigate-read-only). If the request covers all stylesheets, state which files
and selectors you covered and which you left out (principle-state-the-scope).principle-reuse-before-building, principle-derive-from-one-owner). If the
project has no scale, write the value in rem and do not create a scale.Read cascade.md before you write !important, touch an ID selector, or
work around a third-party stylesheet.
ul.nav) and no
nesting four or more levels deep..btn.btn); cascade layers, only when every competing
rule can enter the layer order.!important on the single losing property, on your own class. Change no other
file. Beside it, add a comment that names the boundary and says when to remove the !important
(for example, when the provider drops or changes its rule). Do not copy the foreign ID selector.
If the foreign declaration is itself !important, put yours in a cascade layer instead.!important in code you own, make the rule win another way, then delete
the !important (principle-fix-root-causes). Keep the proactive !important on u-
utilities.Read units-and-spacing.md when you choose a unit.
rem or a scale step for font-size, spacing between blocks of text, padding around text
in a control, and media queries: @media (min-width: 48rem), not 768px.px for borders, border-radius and shadows.line-height without a unit. Never set html { font-size: 62.5%; }.px font sizes ignore the reader's text-size setting and rem
follows it, and that a unitless line height multiplies each element's own font size.gap on a grid or
flex parent, or a stack rule .stack > * + * { margin-block-start: … }.0, add a
:last-child reset, or add a context override such as .sidebar .card { margin-bottom: 0; }
(principle-subtract-before-you-add).gap
or a component's own outer margin.background-color, not background. Use a shorthand only
when you mean every value it sets.principle-fix-root-causes).Read patterns.md before you hide anything or style focus.
.u-sr-only utility. Never put it on an element that can
receive focus.!important:
clip-path: inset(50%)). Never use display: none,
visibility: hidden, or off-screen coordinates such as top: -40px or translateY(-100%).outline, not only a
box-shadow.max-inline-size: calc(100vw - 2rem)), so
it fits a 320 CSS px viewport at 400% zoom.@media (forced-colors: active) rule.Read patterns.md before you add a class. Read refactoring.md before you write Sass.
u- prefix only for immutable utilities.<link>, not with CSS @import.Refactor in three steps. Land each step as a small change that can be reverted on its own. Do not freeze deploys or rewrite the whole stylesheet.
!important, already cause
problems. Skip stable rules and code that is about to be removed, and say why. For CSS that may
be dead, plan a usage measurement on production traffic (a beacon per selector, logged for two
to three months) before any deletion, as in
Deleting styles that look unused.!important,
make the rule win in the conflict order above, then delete the !important. Put a legacy conflict you cannot
resolve yet in a separate, documented legacy-override file (shame.css). Record what allows
its removal.A class missing from a search is not proof that nothing uses it (principle-observe-dont-infer).
Read refactoring.md first.
Search the markup, templates and scripts, including class names built at run time (template strings, concatenation). Keep a class you find in use. Name the file and the expression that builds it.
If pages also come from content outside the repository, or the search cannot settle it, delete
nothing. Say that the repository search cannot cover those pages. Add a usage beacon to each
suspect rule, with a comment that says when the rule may be deleted:
background-image: url("/beacon.gif?selector=<class>");. If a rule already gives the matched
elements a background image, do not add a beacon. Keep the image, and record usage another
way, such as a build-time class-usage report or a script that reports matched selectors.
Delete a rule only after two to three months of production logs show no request for it, and
only after one test request has been seen to arrive. Zero requests is evidence, not proof:
caches, a Content Security Policy img-src rule and service workers can drop beacon requests
(principle-gaps-are-not-passes). Delete in small steps that can each be reverted
(principle-sequence-verifiable-units).
In the report, give each item below for every suspect rule, even when it repeats for another rule:
Do not call a selector unused because a search did not find it. Say that the search could not show it in use.
Check the CSS you wrote against every rule above. In the report, name each file you changed, say
what changed and why it works, and name the values you deliberately kept (for example, a px
border). If you did not see the page in a browser, say that the rendering was not checked
(principle-label-the-evidence).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mintuz/skills --plugin web10 skills in this plugin
/browser-testingWHEN authoring or repairing real-browser journeys or automated screenshot comparisons with the project's selected runner; NOT DOM-only tests, interactive visual judgement or verification-recipe maintenance; provides native-runner fixtures, assertions and visual-comparison guidance./chatgpt-app-sdkWHEN building ChatGPT apps using the OpenAI Apps SDK and MCP; NOT for OpenAI API chat completions, agent frameworks, or MCP servers with no ChatGPT widget; create conversational, composable experiences with proper UX, UI, state management, and server patterns./frontend-testingUSE WHEN testing non-React UI (vanilla JavaScript or TypeScript DOM code, a web component, or a Vue, Svelte or Angular component) with DOM Testing Library in Vitest or Jest with jsdom: writing, fixing or reviewing a test, or a request to add an end-to-end journey or a layout check to that suite; NOT WHEN the code or project uses React or React Testing Library (use web:react-testing), for XState actors (web:xstate), or for Playwright, Cypress or screenshot-comparison work in a real browser; covers queries, accessible names, userEvent, async results, network stubs and assertions that pass for the wrong reason, and declines what jsdom cannot prove while offering the part that fits.Other plugins' skills for the same job