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 partme-ai/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 函数
development
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
tools
Creates new uni-app projects via the official CLI or HBuilderX with Vue 2/Vue 3 template selection, manifest.json and pages.json configuration, and directory structure setup. Use when the user wants to scaffold a new uni-app project, initialize project files with a single command, or set up the development environment.
tools
Browses, installs, configures, and manages plugins from the uni-app plugin market (ext.dcloud.net.cn) including component plugins, API plugins, and template plugins with dependency handling. Use when the user needs to find and install uni-app plugins, configure plugin settings, manage plugin dependencies, or integrate third-party components.
tools
Develops native Android and iOS plugins for uni-app including module creation, JavaScript-to-native communication, and plugin packaging for distribution. Use when the user needs to build custom native modules, extend uni-app with native capabilities (camera, Bluetooth, sensors), or create publishable native plugins.