Scss Dry Structure logo

Scss Dry Structure

Community
mrwigster
scss-dry-structure

Build or refactor maintainable component styling when a task benefits from SCSS architecture, shared design tokens, or deliberate CSS reuse. Consider the project's stack and task size first. Use for substantial styling in Sass projects or explicit styling-architecture requests; skip routine CSS tweaks and established alternative styling systems unless this guidance is requested.

Overview

Publishermrwigster
Repositoryscss-dry-structure
Skill namescss-dry-structure
Stars
4
Forks
0
Bundled files
21
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 21 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by mrwigster on GitHub. Read the source before you install it.

Installation

Install the Scss Dry Structure AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/mrwigster/scss-dry-structure/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mrwigster/scss-dry-structure.git \
  .claude/skills/scss-dry-structure
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Scss Dry Structure in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Scss Dry Structure on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Scss Dry Structure is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

SCSS DRY Structure

Create cohesive interfaces with clear style ownership, meaningful shared values, and economical CSS. SCSS is a useful authoring tool; the outcome is a well-designed, maintainable interface.

Decide whether this fits

Consider the whole project before adopting this workflow: its styling system, design system, build pipeline, and the requested change. The presence of a CSS file alone is not a reason to use this skill.

  • Good fit: substantial component work in a Sass project; consolidating inconsistent tokens or repeated style patterns; an explicit request for SCSS or styling architecture.
  • Usually skip: a small spacing/color fix, content-only work, native UI code, or ordinary work in an established Tailwind, CSS-in-JS, CSS Modules, or framework-scoped styling system. Continue with that project's normal workflow without a skill audit.
  • Explicit invocation: apply the relevant principles even in plain CSS or another system, adapting to its conventions. Invocation does not require converting it to Sass.

The user's instructions take precedence over this skill's defaults. Infer routine choices from the project and proceed; ask only when missing information materially changes the result. Keep work proportionate to the request. Do not expand a component change into a redesign, tooling migration, or design-system rebuild.

Establish the local context

Inspect the relevant component/template, nearby styles, token definitions, and actual style imports/build configuration. Identify the source file, selector contract, theme/state hooks, and browser targets. Follow a shared token's consumers when changing its meaning; a local search cannot establish its global impact.

For an unfamiliar or scattered style tree, optionally run the bundled inventory from this skill's directory:

sh
python3 /path/to/scss-dry-structure/scripts/style_audit.py /path/to/project-or-component

Replace paths with the actual skill and project locations. The script is a bounded, read-only source inventory, not a CSS parser or proof of quality. Narrow the path when its output is incomplete. If unavailable, use targeted file searches and continue. Do not run it or load every reference for a routine edit.

Make the design intentional

For new or substantially redesigned UI, identify the audience, primary action, content hierarchy, and visual direction from the brief and existing assets. Carry the project's typography, spacing rhythm, color roles, imagery, and density through the affected components. If the brief leaves room, choose a coherent direction and implement it without a mandatory design questionnaire.

Use composition and hierarchy to distinguish sections. Cards, gradients, shadows, pills, and animation should serve the content. Build with realistic content and relevant empty, error, loading, and interaction states. Read design-quality.md for substantial visual work.

Author with clear ownership

  • Extend the appropriate partial or component stylesheet; wire new files into the actual import graph. Preserve CMS/plugin hooks, naming conventions, and existing layer precedence. Edit source styles and rebuild tracked outputs through the existing pipeline.
  • Reuse tokens by meaning, not coincidentally equal values. Prefer CSS custom properties for runtime themes and component variation, Sass variables/functions for compile-time work. Keep one source of truth; a token for every literal or an alias for every component adds noise.
  • Share styles when they represent a stable common responsibility. Prefer an existing component or composition pattern; use a mixin for useful parameterized behavior. Small intentional duplication can be cheaper than coupling unrelated components. Avoid new @extend chains or large generated utility maps merely to satisfy DRY.
  • Keep compiled selectors predictable and low in specificity. Nest for component parts, states, and related queries, not to mirror the DOM. Preserve local BEM/scoping conventions; Sass &__part concatenation is not native CSS nesting syntax.
  • For new Sass modules, use namespaced @use/@forward and built-in modules. Keep @use at the top level before style rules; never nest it in @layer. Preserve working legacy import paths for bounded edits; migrate them when that is part of the task.
  • Prefer intrinsic Grid/Flex layouts, flexible sizing, and content-driven breakpoints. Use container queries when a component responds to its allocated space. Choose features for the project's browser targets, providing a usable fallback when needed.

Read scss-patterns.md when choosing token/module boundaries, resolving cascade issues, or changing architecture. It contains a compilable layer pattern and important Sass/CSS distinctions.

Verify the result, then finish

Use the project's relevant build/lint checks. For visible changes, inspect the affected UI at narrow and wide sizes when a browser is available; check keyboard focus, contrast, overflow, content extremes, and changed states. Fix observed defects. If rendering is unavailable, state that limitation.

For shared-style or substantial UI changes, use validation.md to select additional accessibility, regression, and performance checks. Inspect emitted CSS when changing imports, layers, mixins, or generation. Avoid new runtime dependencies for CSS-solvable layout or decoration.

Scale checks to the changed surface and complete required project checks. Once they pass, broaden testing only for unresolved risks or new failures. Report the useful design/structure decisions, checks actually run, and material limitations concisely; do not claim performance or accessibility results that were not measured.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Scss Dry Structure AI skill do?

Build or refactor maintainable component styling when a task benefits from SCSS architecture, shared design tokens, or deliberate CSS reuse. Consider the project's stack and task size first. Use for substantial styling in Sass projects or explicit styling-architecture requests; skip routine CSS tweaks and established alternative styling systems unless this guidance is requested.

Why use Scss Dry Structure on TypingMind?

Because you install it once and use it with any model. Scss Dry Structure is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Scss Dry Structure in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mrwigster/scss-dry-structure/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Scss Dry Structure?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Scss Dry Structure?

As many as you like. As long as a model supports skills, you can use Scss Dry Structure with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Scss Dry Structure AI skill free?

It is published on GitHub by mrwigster. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇