Uses CSS :has() and :not(:has()) to adapt layout based on child content presence or quantity, eliminating JavaScript or Angular bindings for purely visual decisions.
Ships in ngautopilot-css. 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.
None: SKILL.md is the whole skill.
Use this skill when CSS can react to the DOM structure on its own.
Create layout rules that respond to child presence or quantity without JavaScript.
Use this skill when layout depends on visible DOM content and the condition is purely visual.
:has() as an enhancement:has().Return:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/ngautopilot-css:css--selectors--has-content-aware-layoutfrom ngautopilot-css
npx claudepluginhub janpereira-dev/ngautopilot --plugin ngautopilot-css