
Css Architecture
Organized CSS reference covering BEM, SMACSS, CSS-in-JS, CSS variables, and utility-first patterns for maintainable styling.
- skills.sh installs
- 971
- GitHub stars
- 387
- last updated
- Aug 21, 2026
What it does
- Covers five approaches: BEM naming, SMACSS categorization, Styled Components, CSS custom properties, and utility-first Tailwind-style classes
- Includes a Quick Start
.buttonexample showing block, element (.button__icon), and modifier (.button--primary) structure - Provides a separate reference guide for each pattern in a
references/directory - Designed for large stylesheets, design system work, and teams that need shared naming conventions
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill css-architecture -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
CSS Architecture
Table of Contents
Overview
Build maintainable CSS systems using methodologies like BEM (Block Element Modifier), SMACSS, and CSS-in-JS patterns with proper organization and conventions.
When to Use
- Large-scale stylesheets
- Component-based styling
- Design system development
- Multiple team collaboration
- CSS scalability and reusability
Quick Start
Minimal working example:
/* Block - standalone component */
.button {
display: inline-block;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: all 0.3s ease;
}
/* Element - component part */
.button__icon {
margin-right: 8px;
vertical-align: middle;
}
/* Modifier - variant */
.button--primary {
background-color: #007bff;
color: white;
}
.button--primary:hover {
background-color: #0056b3;
// ... (see reference guides for full implementation)
Reference Guides
Detailed implementations in the references/ directory:
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- Frontend & UI Code, Design & UI/UX
- First seen
- May 16, 2026
More from aj-geddes/useful-ai-prompts
All 258- Api Contract Testing933
- Root Cause Analysis933
- Event Sourcing893
- Mobile First Design877
- Api Security Hardening872
- Mobile App Testing833
- Technical Specification815
- User Story Writing797
- Access Control Rbac769
- User Guide Creation764
- Kubernetes Deployment763
- Logging Best Practices744
- Visual Regression Testing741
- Flutter Development727
- E2e Testing Automation698
- Business Case Development687
- React Component Architecture686
- Docker Containerization683
- Agile Sprint Planning679
- Log Analysis678
- Security Compliance Audit676
- Project Estimation674
- Gitlab Cicd Pipeline673
- Websocket Implementation669
Similar to Css Architecture
More Frontend & UI Code
cssmindrally/skills1.3K installsGuidelines for modern CSS layout, naming, theming, and maintainable stylesheet architecture.
scss-best-practicesmindrally/skills1.7K installsOpinionated SCSS guide covering 7-1 file structure, naming conventions, mixins, and nesting limits.
tailwind-css-patternsgiuseppe-trisciuoglio/developer-kit18.1K installsComprehensive utility-first Tailwind CSS guide covering responsive layouts, dark mode, and component patterns for v4.1+.
tailwindcsshairyf/skills4.5K installsUtility-first CSS framework reference covering layout, typography, visuals, and v4 theme customization for building responsive interfaces.
naming-conventionowl-listener/designer-skills2.4K installsNaming rules for components, tokens, files, and assets, with patterns and guidance on when to use them.
tailwind-design-systemsickn33/agentic-awesome-skills1.3K installsProduction-ready Tailwind CSS design system covering tokens, variants, responsive patterns, and accessibility.