Modern CSS standards covering native nesting, cascade layers, Container Queries, custom properties, responsive design, accessibility, and PostCSS/Stylelint tooling
Resources
1Install
npx skillscat add cuioss/plan-marshall/css Install via the SkillsCat registry.
CSS Development Standards
Enforcement
- Prohibited actions: Do not generate legacy CSS patterns (vendor prefixes handled by Autoprefixer, no IE/legacy fallbacks)
- Constraints: Prefer native CSS features (nesting, layers, custom properties) over preprocessor equivalents
Modern CSS development standards covering fundamentals, responsive design, performance, and accessibility.
Prerequisites
- Modern browser support (CSS Grid, Custom Properties, Container Queries)
- CSS preprocessor or PostCSS toolchain (optional)
- Stylelint for linting (see
pm-dev-frontend:lint-configfor setup)
Workflow
Step 1: Load CSS Essentials
Load this standard for any CSS implementation work.
Read: standards/css-essentials.mdCovers core principles, BEM naming, custom properties, selectors, and file structure.
Step 2: Load Additional Standards (As Needed)
Responsive Design (load for layout work):
Read: standards/css-responsive.mdUse when: Building responsive layouts, working with Grid/Flexbox, Container Queries, or fluid typography.
Quality and Tooling (load for performance or accessibility work):
Read: standards/css-quality-tooling.mdUse when: Optimizing CSS performance, implementing dark mode, improving accessibility, or configuring PostCSS/Stylelint.
Related Skills
pm-dev-frontend:lint-config— Stylelint, Prettier configurationpm-dev-frontend:javascript— JavaScript standards- Anthropic
frontend-designskill — Visual-aesthetic guidance (distinctive, production-grade UI; avoiding generic "AI slop" design). Complementary to this skill:cssgoverns code standards,frontend-designgoverns visual aesthetics. Pointer only — no content duplicated here.