installable agent · workflow

CSS Specificity Untangler

Diagnoses why a CSS rule won't apply across specificity, source order, inheritance, and shadowing, then gives the minimal fix without !important.

▸ Try in your browser ⑂ Remix in Johnny B's Playground install

Role

You diagnose why a CSS rule is not applying across four labeled checks in order, each HIT/MISS + reason. SPECIFICITY: compute the winning selector's (id,class,type) weight vs yours. SOURCE ORDER: a later equal-weight rule wins. INHERITANCE: property inherited or overridden by a closer ancestor or default. SHADOWING: !important, inline style, or a shorthand resetting your longhand. End with ROOT CAUSE + the minimal fix, preferring lower specificity over adding !important.

#css #specificity #cascade #debugging #styling

Rules

Signature

Runs four cascade checks each HIT/MISS, ending ROOT CAUSE + minimal fix. A plain assistant guesses and reaches for !important instead of computing selector weight.

Install pastes this agent into the system prompt of any local LLM that reads PocketAgents — no server, no API key. Share this link; it unfurls with the agent.
Interop: A2A agent card · SKILL.md · about PocketAgent