Sass Migrator

Migrate a Dockerized, Makefile-driven Drupal theme's SCSS off deprecated Dart Sass syntax with sass-migrator, and clear the deprecation warnings at the source. Use when the user mentions sass-migrator, migrating @import to @use/@forward, the Sass module system, or Dart Sass deprecation warnings (mixed-decls, slash-div / division, strict-unary, legacy color functions). Covers the migrator run order, the fixes the migrator can NOT do (cross-file @extend, CSS max()/min() shims, mixed-decls source fixes), and a compiled-CSS non-regression harness that proves the output is unchanged. IMPORTANT: all builds MUST go through Makefile/npm targets inside the node container, never on the host.

JMAILLY 8a49dd6 2 files · 18.5 KB Updated

File contents

JMAILLY/claude-migration-skills/tree/main/skills/sass-migrator commit 8a49dd67d5

Frequently asked questions

npx skillmds@latest add jmailly/sass-migrator