sass-with-bem SKILL.md skillA

sass-with-bem from diegoos/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add diegoos/skills/sass-with-bem@v0.2.0

Pins v0.2.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
diegoos/skills
Path
skills/sass-with-bem/SKILL.md
Versions recorded
4
Latest version
v0.2.0, committed Oct 24, 2026
First version recorded
Jul 13, 2026
Size
3,892 bytes
Repository stars
3
License
MIT

Writes BEM Sass (.scss, .sass) whenever the work touches a stylesheet that uses BEM. Use when the work writes, edits, or fixes .scss, .sass, scss, or sass whose classes are BEM (block, block__element, block--modifier), or the user mentions BEM, bem, a block, an element, a modifier, nesting, a partial, or styles in that Sass. Skip when the Sass does not use BEM, the task is only a review or audit, application logic with no stylesheet and no BEM class, a visual redesign with no stylesheet, plain…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Sass with BEM

Write Sass so each compiled component rule is one class. `&` may build that class name.

When a repo style doc covers the same rule, follow the doc and name the file.

Load [`references/conventions.md`](references/conventions.md) when you judge layout, tokens, a namespace, or a parent-modifier descendant.
Load [`references/examples.md`](references/examples.md) when the change adds a block, an element, or a modifier.

## Inputs

- `request` (text, required): the work that touches the Sass. It comes from the user message.
- `styles` (files, optional): the `.scss`, `.sass`, and markup already in scope. They come from the workspace or the message. An empty tree is valid.

## Steps

1. **Discover.** Find the entrypoint, the layout (7-1, flat partials, or the repo's documented layout), and the import style (`@use` or `@import`). **Done when:** those three facts are named, or the run states `tree: none` and the assumption that new files use `@use` and flat partials. When the request names no Sass or BEM change and no BEM Sass is in scope, stop and ask what to write. When workspace search is unavailable, name the open files, state that the rest of the tree was not…
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add diegoos/skills/sass-with-bem@sha256:965f9f699f500655

The line at the top of this page pins the label v0.2.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_gfehuk5nj565kh7x.svg)](https://markdownregistry.com/a/art_gfehuk5nj565kh7x)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Jul 13, 2026 and Oct 24, 2026, about one every 34 days.

versioncommittedcommitsizeaudit
v0.2.0 latest2026-10-24 829fa07 3,892 BA view · diff
v0.1.02026-10-22 fb2581b 3,892 BA view · diff
v0.1.02026-07-17 2a178ed 3,885 BA view · diff
git:20260713.c2d9d332026-07-13 c2d9d33 3,807 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3892 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

diegoos/skills · 3 stars · license MIT · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_gfehuk5nj565kh7x
GET https://markdownregistry.com/api/v1/resolve?ref=diegoos/skills/sass-with-bem
GET https://markdownregistry.com/api/v1/blob/965f9f699f500655c70e1d8c8a85798196fd97cd080a1bc7fddc65bd4e3df992

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from diegoos/skills

AGENTS.md AGENTS.md file
diegoos/skills · AGENTS.md
git:20261013.2076942 · audit A · 3 stars
deep-security-review SKILL.md skill
diegoos/skills · deprecated/deep-security-review/SKILL.md · Deep security review with domain hunts and a P0–P3 findings table; review (default); fix, fix all, or fix by id.
v0.3.0 · audit A · 3 stars
frontend-design-plus SKILL.md skill
diegoos/skills · deprecated/frontend-design-plus/SKILL.md · Web UI: build, redesign, or polish a landing, dashboard, or component (HTML/CSS). Fix layout, spacing, type, or a11y on…
v0.0.1 · audit A · 3 stars
code-review-plus SKILL.md skill
diegoos/skills · skills/code-review-plus/SKILL.md · Reviews a PR or diff for bugs, security, and quality, and applies selected findings.
v0.7.1 · audit A · 3 stars
make-changelog SKILL.md skill
diegoos/skills · skills/make-changelog/SKILL.md · Maintains CHANGELOG.md in Keep a Changelog form. Use when the user asks to start a changelog, add or record an entry…
v0.2.0 · audit A · 3 stars
make-code SKILL.md skill
diegoos/skills · skills/make-code/SKILL.md · Writes or changes code with the least new code: reuses what the project has, adds nothing unasked, and finishes every…
v0.4.0 · audit A · 3 stars
make-commits SKILL.md skill
diegoos/skills · skills/make-commits/SKILL.md · Writes one local commit per concern, or only the message. Use when the user asks for a commit message, asks to commit…
v0.4.0 · audit A · 3 stars
make-docs SKILL.md skill
diegoos/skills · skills/make-docs/SKILL.md · Writes architecture docs and observable behavior specs under `docs/`. Use when the user asks to document a codebase…
v0.4.0 · audit A · 3 stars
make-skill SKILL.md skill
diegoos/skills · skills/make-skill/SKILL.md · Writes or edits an AI agent skill (`SKILL.md`, `references/`). Use when the user wants to create a skill, turn a…
v0.1.0 · audit A · 3 stars
makefile-expert SKILL.md skill
diegoos/skills · skills/makefile-expert/SKILL.md · Author or review GNU Make Makefiles: last-mile glue, incremental/parallel graphs, variable flavors. Use when writing…
v0.2.0 · audit A · 3 stars
markdown-writer SKILL.md skill
diegoos/skills · skills/markdown-writer/SKILL.md · Write Markdown (`.md` / `.mdc` / `.mdx`). Use when creating or editing a Markdown file, or YAML frontmatter in one.
v0.1.0 · audit A · 3 stars
write-great-instructions SKILL.md skill
diegoos/skills · skills/write-great-instructions/SKILL.md · Write or edit agent instruction files (`AGENTS.md`, `CLAUDE.md`, `GEMINI.md`, Cursor `.mdc` rules, Copilot…
v0.5.1 · audit A · 3 stars

Every file in diegoos/skills

Browse by kind, by grade A, or by owner.