From b6fe67642c112c4eb1ae9fa97df70747a909f82a Mon Sep 17 00:00:00 2001 From: Valentin Silyutin Date: Sun, 23 Aug 2026 23:52:48 +0400 Subject: [PATCH] html-to-scss@1.0.0 --- html-to-scss/SKILL.md | 85 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 html-to-scss/SKILL.md diff --git a/html-to-scss/SKILL.md b/html-to-scss/SKILL.md new file mode 100644 index 0000000..86d0ddb --- /dev/null +++ b/html-to-scss/SKILL.md @@ -0,0 +1,85 @@ +--- +name: html-to-scss +description: Generate SCSS file skeletons with BEM selectors based on provided HTML. Use when the user asks to convert HTML markup into an SCSS block or file. Outputs selectors with empty rule bodies. +license: MIT +metadata: + author: Valentin Silyutin + version: "1.0.0" +--- + +# BEM SCSS Skeleton Generation Instructions + +Analyze the provided HTML markup and generate **only the SCSS skeleton** with selectors following the BEM methodology. + +## What is Generated + +- Only selector structure with empty rule bodies. +- **No** `@media`, pseudo-classes (`&:hover`, `&:focus`), pseudo-elements, child/descendant tag selectors (`& > a`, `& a`), or actual CSS properties. +- **Only** nesting forms `&_modifier` and `&__element` derived explicitly from the HTML. +- **BEM Mixes:** If an element contains both an element class and an independent block class (e.g., `