MCPInstall

dart-sass

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.

Installs
65
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/full-stack-skills/build-skills --skill dart-sass
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads dart-sass automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

When to use this skill

Use this skill whenever the user wants to:

  • Install and configure Dart Sass
  • Compile Sass/SCSS files to CSS
  • Use Sass syntax features (variables, nesting, mixins, functions, etc.)
  • Work with Sass modules and imports
  • Integrate Sass into build tools or workflows
  • Use Sass CLI commands
  • Configure Sass compilation options
  • Use Sass in JavaScript or Dart projects
  • Optimize Sass compilation performance
  • Handle Sass source maps

How to use this skill

To use Dart Sass:

  1. Install Dart Sass:

    • Load examples/getting-started/installation.md for installation instructions
    • Load examples/getting-started/basic-usage.md for basic usage examples
    • Load examples/getting-started/compiling-modes.md for different compilation modes
  2. Learn Sass syntax:

    • Load examples/syntax/variables.md for variable usage
    • Load examples/syntax/nesting.md for nesting syntax
    • Load examples/syntax/mixins.md for mixins
    • Load examples/syntax/functions.md for functions
    • Load examples/syntax/operators.md for operators
    • Load examples/syntax/at-rules.md for at-rules
  3. Use advanced features:

    • Load examples/features/modules.md for module system
    • Load examples/features/imports.md for imports
    • Load examples/features/control-flow.md for control flow
    • Load examples/features/built-in-modules.md for built-in modules
    • Load examples/features/source-maps.md for source maps
    • Load examples/features/custom-functions.md for custom functions
  4. Reference the API documentation when needed:

    • api/js-api.md - JavaScript API reference
    • api/dart-api.md - Dart API reference
    • api/cli-api.md - CLI command reference
  5. Use templates for quick start:

    • templates/basic-project.md - Basic Sass project template
    • templates/modular-project.md - Modular Sass project template
    • templates/build-integration.md - Build tool integration template

Doc mapping (one-to-one with official documentation)

Examples and Templates

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:

  • Identify the topic from the user's request
  • Load the appropriate example file from the mapping above
  • Follow the instructions, syntax, and best practices in that file
  • Adapt the code examples to your specific use case

To use templates:

  • Reference templates in templates/ directory for common scaffolding
  • Adapt templates to your specific needs and coding style

API Reference

  • JavaScript API: api/js-api.md - JavaScript API for compiling Sass (compile, compileString, etc.)
  • Dart API: api/dart-api.md - Dart API for compiling Sass
  • CLI API: api/cli-api.md - Command-line interface options and usage

Best Practices

  1. Use @use instead of @import: The @import rule is deprecated, use @use and @forward instead
  2. Organize with modules: Use the module system to organize and share code
  3. Optimize compilation: Use appropriate output style (compressed for production)
  4. Source maps: Enable source maps for development, disable for production
  5. Watch mode: Use --watch for development to automatically recompile on changes
  6. Load paths: Use --load-path to simplify import paths
  7. Performance: Use Dart Sass for best performance (faster than Ruby Sass)
  8. Version control: Don't commit compiled CSS files, only commit Sass source files

Resources

Keywords

dart-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 函数

FAQ

What does the dart-sass skill do?

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.

How do I install dart-sass?

Run npx skills add https://github.com/full-stack-skills/build-skills --skill dart-sass in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/dart-sass/ (personal) or .claude/skills/dart-sass/ (project).

Which AI agents can use dart-sass?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is dart-sass safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains dart-sass?

It is published by full-stack-skills in full-stack-skills/build-skills. It has 65 recorded installs.

More from full-stack-skills/build-skills

View all →

vite

full-stack-skills/build-skills

Guidance for Vite using the official Guide, Config Reference, and Plugins pages. Use when the user needs Vite setup, configuration, or plugin selection details.

76 installs

webpack

full-stack-skills/build-skills

Provides comprehensive guidance for Webpack bundler including configuration, loaders, plugins, code splitting, optimization, and development setup. Use when the user asks about Webpack, needs to configure Webpack, set up build pipelines, optimize bundles, or work with Webpack plugins.

67 installs

rollup

full-stack-skills/build-skills

Provides comprehensive guidance for Rollup bundler including configuration, plugins, code splitting, tree shaking, and library bundling. Use when the user asks about Rollup, needs to bundle libraries, optimize output, or configure Rollup for production builds.

65 installs

rspack

full-stack-skills/build-skills

Provides comprehensive guidance for Rspack bundler including configuration, plugins, loaders, optimization, and Webpack compatibility. Use when the user asks about Rspack, needs to configure Rspack, optimize build performance, or migrate from Webpack.

parcel

full-stack-skills/build-skills

Provides comprehensive guidance for Parcel bundler including zero-configuration setup, asset handling, hot module replacement, and production builds. Use when the user asks about Parcel, needs to set up a build tool quickly, or work with Parcel's automatic configuration.

61 installs

hbuilderx-cli

full-stack-skills/build-skills

HBuilderX CLI 命令行工具技能。当用户需要通过命令行启动 uni-app 开发环境、查看运行日志、运行自动化测试、配置 HBuilderX CLI 环境,或在 npm scripts 中集成 HBuilderX 工作流时使用。覆盖 Web、Android、iOS、HarmonyOS、小程序等多平台开发。

Mobile44 installs

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs