Frontend CSS

Enforce CSS standards for naming, organization, linting, and accessibility.

Updated May 19, 2025
One-click install
npx skills add https://github.com/NolanPic/churchfeed --skill frontend-css-nolanpic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Frontend CSS
Source: https://github.com/NolanPic/churchfeed/tree/main/.claude/skills/frontend-css
Command: npx skills add https://github.com/NolanPic/churchfeed --skill frontend-css-nolanpic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the challenge of unmaintainable and inconsistent CSS, leading to "CSS spaghetti" and difficult-to-manage stylesheets.

Core Features & Use Cases

  • Standardized Styling: Guides Claude to write CSS that adheres to project-specific naming conventions, structure, and best practices.
  • Improved Maintainability: Ensures stylesheets are organized, readable, and easy to update.
  • Use Case: When developing new UI features, activate this skill to ensure Claude generates CSS that follows the project's BEM or utility-first conventions, preventing style conflicts and promoting reusability.

Quick Start

Apply the 'Frontend CSS' skill to refactor the styles.css file to align with the project's BEM naming conventions.

Frequently Asked Questions about Frontend CSS

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce CSS naming conventions and standards across my codebase?

Enforce CSS naming conventions by applying standardized rules for class naming, file organization, and style structure. This Skill identifies and enforces frontend CSS standards—such as BEM, utility-first, or project-specific conventions—across component styles and stylesheets to prevent conflicts and ensure consistency.

What's the best way to refactor messy CSS into a maintainable structure?

Refactor CSS by reorganizing stylesheets according to project standards, applying consistent naming patterns, and auditing for style conflicts. This Skill guides restructuring of CSS, SCSS, CSS Modules, or CSS-in-JS code to align with BEM or utility-first conventions, making updates easier and reducing duplication.

How do I ensure CSS follows accessibility and responsive design standards?

Ensure CSS compliance by specifying requirements for accessibility-compliant selectors, responsive layout patterns, and style-guide conformance. This Skill enforces linting rules, naming conventions, and code quality checks that include responsive layouts and accessible styling practices.

Can I apply CSS standards to SCSS, CSS Modules, and CSS-in-JS projects?

Yes, this Skill applies to CSS, SCSS, CSS Modules, and CSS-in-JS pipelines. It identifies and enforces standards across these stylesheet formats, ensuring consistent code quality checks, naming conventions, file organization, and linting rules regardless of your preprocessing or styling approach.

What should I check when auditing component styles for consistency?

Audit component styles by reviewing naming conventions, file organization, theming, responsive layouts, and style-guide conformance. This Skill specifies requirements for code quality checks and linting rules that help identify inconsistencies and enforce standards during component style edits or audits.