Logo di Scss Dry Structure

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.

Panoramica

Pubblicato damrwigster
Repositoryscss-dry-structure
Nome della skillscss-dry-structure
Stelle
4
Fork
0
File inclusi
21
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 21

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da mrwigster su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Scss Dry Structure in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/mrwigster/scss-dry-structure/tree/main
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mrwigster/scss-dry-structure.git \
  .claude/skills/scss-dry-structure
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Scss Dry Structure in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Scss Dry Structure non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Scss Dry Structure non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Scss Dry Structure su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Scss Dry Structure è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Scss Dry Structure in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/mrwigster/scss-dry-structure/tree/main. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Scss Dry Structure?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Scss Dry Structure?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Scss Dry Structure: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Scss Dry Structure è gratuita?

È pubblicata su GitHub da mrwigster. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇