skills/build-skills/dart-sass/SKILL.md
Provides comprehensive guidance for Dart Sass including Sass syntax, compilation, mixins, functions, and best practices. Use when the user asks about Dart Sass, needs to compile Sass to CSS, use Sass features, or work with Sass in projects.
npx skillsauth add teachingai/full-stack-skills dart-sassInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill whenever the user wants to:
To use Dart Sass:
Install Dart Sass:
examples/getting-started/installation.md for installation instructionsexamples/getting-started/basic-usage.md for basic usage examplesexamples/getting-started/compiling-modes.md for different compilation modesLearn Sass syntax:
examples/syntax/variables.md for variable usageexamples/syntax/nesting.md for nesting syntaxexamples/syntax/mixins.md for mixinsexamples/syntax/functions.md for functionsexamples/syntax/operators.md for operatorsexamples/syntax/at-rules.md for at-rulesUse advanced features:
examples/features/modules.md for module systemexamples/features/imports.md for importsexamples/features/control-flow.md for control flowexamples/features/built-in-modules.md for built-in modulesexamples/features/source-maps.md for source mapsexamples/features/custom-functions.md for custom functionsReference the API documentation when needed:
api/js-api.md - JavaScript API referenceapi/dart-api.md - Dart API referenceapi/cli-api.md - CLI command referenceUse templates for quick start:
templates/basic-project.md - Basic Sass project templatetemplates/modular-project.md - Modular Sass project templatetemplates/build-integration.md - Build tool integration templateexamples/ → https://sass-lang.com/documentation/This skill includes detailed examples organized to match the official documentation structure. All examples are in the examples/ directory (see mapping above).
To use examples:
To use templates:
templates/ directory for common scaffolding# Install
npm install --save-dev sass
# Compile once
npx sass src/styles.scss dist/styles.css
# Watch for changes
npx sass --watch src/styles.scss:dist/styles.css
# Production (compressed)
npx sass src/styles.scss dist/styles.css --style=compressed --no-source-map
// src/styles.scss — using @use module system
@use 'sass:math';
@use './variables' as vars;
.container {
max-width: vars.$max-width;
padding: math.div(vars.$spacing, 2);
}
@mixin responsive($breakpoint) {
@media (min-width: $breakpoint) { @content; }
}
.hero {
font-size: 1.5rem;
@include responsive(768px) {
font-size: 2rem;
}
}
api/js-api.md - JavaScript API for compiling Sass (compile, compileString, etc.)api/dart-api.md - Dart API for compiling Sassapi/cli-api.md - Command-line interface options and usage@import with @use and @forward; update variable references to use namespaces@use path is correct relative to the file; use --load-path for shared directories--watch during development; consider splitting large files into partialsdart-sass, sass, scss, css preprocessor, sass compiler, sass syntax, sass modules, sass mixins, sass functions, sass variables, sass nesting, @use, @forward, @import, @include, @mixin, @function, sass:math, sass:color, sass:string, source maps, sass cli, sass api, 样式预处理器, Sass 编译器, Sass 语法, Sass 模块, Sass 混合, Sass 函数
tools
Automates browser interactions via CLI using agent-browser by Vercel Labs. Covers navigation, clicking, form filling, snapshots, refs-based selectors, agent mode with JSON output, session management, and CDP integration. Use when the user needs to automate web browsing, scrape pages, fill forms, or integrate browser automation into AI agent workflows.
testing
Creates museum-quality visual art as .png or .pdf by first generating a design philosophy manifesto, then expressing it on canvas with precise composition, color palettes, and typography. Use when the user asks to create a poster, art piece, visual design, or static creative piece. Outputs original designs using design-forward principles.
development
Applies Anthropic brand colors (dark #141413, orange #d97757, blue #6a9bcc, green #788c5d), Poppins headings, and Lora body text to artifacts such as presentations, documents, or visuals. Use when the user needs Anthropic brand styling, brand color application, corporate typography, or visual formatting following Anthropic design standards.
development
Creates gallery-quality algorithmic art using p5.js with seeded randomness, interactive parameter controls, and seed navigation, outputting a single self-contained HTML artifact with Anthropic branding. Use when the user requests generative art, algorithmic art, flow fields, particle systems, or code-based visual art using p5.js.