Skip to content
Back to skills

Css Architecture

ASecurity

Place or refactor CSS when stylesheet ownership, cascade order, or selector reach affects more than one consumer.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agents

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add najuaircrack/agent-scopeway --skill css-architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Css Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Css Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/najuaircrack-css-architecture/badge)](https://www.skillsdirectory.com/skills/najuaircrack-css-architecture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: css-architecture
description: "Place or refactor CSS when stylesheet ownership, cascade order, or selector reach affects more than one consumer."
license: MIT
---

# CSS architecture

- Trace the winning declaration through stylesheet entry points, layer order, specificity, and source order before editing.
- Use the project's styling conventions. Keep resets and inherited defaults at their existing global boundary, component rules with the component, and layout rules with the composing view.
- Share a rule when its consumers need the same behavior and fallback. Keep rules local when their requirements can change independently.
- Fix the declaration with the wrong scope. Keep new selectors within their owner's public styling hooks and check layer precedence before increasing specificity.
- When moving CSS, preserve the order that existing overrides rely on and check entry points that load a different subset of styles.
- Verify computed styles on the target and on an unaffected consumer that shares the selector or layer. Inspect both through their normal entry points.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.