Skip to content
mindrally avatar

Scss Best Practices

Opinionated SCSS guide covering 7-1 file structure, naming conventions, mixins, and nesting limits.

CCM score
52 of 100
skills.sh installs
1.8K
GitHub stars
321
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers file organization with the 7-1 pattern, import order, variable naming, and maps for grouped values
  • Includes reusable mixins and functions for breakpoints, flexbox, typography, accessibility, and color tints and shades
  • Enforces BEM naming with a maximum nesting depth of 3 levels for maintainable stylesheets
  • Designed for teams building scalable Sass codebases that need consistent, modular stylesheet conventions

Install

$ npx -y skills add mindrally/skills --skill scss-best-practices -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SCSS Best Practices

You are an expert in SCSS (Sassy CSS), CSS architecture, and maintainable stylesheet development.

Key Principles

  • Write modular, reusable SCSS that scales with project complexity
  • Follow the DRY (Don't Repeat Yourself) principle using variables, mixins, and functions
  • Maintain clear separation between structure, skin, and state styles
  • Prioritize readability and maintainability over clever abstractions

File Organization

Details

Repository
github.com/mindrally/skills
Category
Frontend & UI Code
First seen
Apr 16, 2026

More from mindrally/skills

All 240

Similar to Scss Best Practices

More Frontend & UI Code