fundamental-styles: Skill for Claude Code

.claude/skills/scss-style-guide/SKILL.md

scss-style-guide is a skill for Claude Code from SAP/fundamental-styles. It costs 17 tokens per session (8,719 once invoked), scanned A, original, Apache-2.0.

A set of SCSS and CSS rules for the fundamental-styles project. It defines how components should be named, structured, nested, and kept independent.

In plain words
What is it for?
Use it when creating or refactoring SCSS components, reviewing style changes, or answering questions about the project's CSS structure.
Why use it?
It removes guesswork when writing, changing, or reviewing styles and helps prevent inconsistent class names and unwanted dependencies between components.

Skill for Claude Code ✓ vendor

Written for Claude Code: installed under .claude/. Also seen: $skill-name invocation.

This is SAP/fundamental-styles's own configuration. It tells Claude Code how to work on fundamental-styles itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fundamental-styles configures →

About the project

Fundamental Library Styles is a framework-independent CSS component library for creating SAP web interfaces with reusable styles and components. Developers can use it with Angular, React, Vue, or plain HTML to build consistent SAP applications and apply supported visual themes.

SAP/fundamental-styles · 232 stars · on GitHub · sap.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to SAP/fundamental-styles. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/SAP/fundamental-styles/main/.claude/skills/scss-style-guide/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/SAP/fundamental-styles

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for scss-style-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/sap/fundamental-styles/scss-style-guide/github.svg)](https://agentmods.dev/skills/sap/fundamental-styles/scss-style-guide)
Your own site
<a href="https://agentmods.dev/skills/sap/fundamental-styles/scss-style-guide"><img src="https://agentmods.dev/badge/skills/sap/fundamental-styles/scss-style-guide/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for scss-style-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/sap/fundamental-styles/scss-style-guide"><img src="https://agentmods.dev/badge/skills/sap/fundamental-styles/scss-style-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,719 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 1118
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 1119
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.08719
Opus 5 $0.00009 $0.04359
Sonnet 5 $0.00003 $0.01744
Haiku 4.5 $0.00002 $0.00872

Measured 10d ago against content hash 3d203cba8b35, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

scss-style-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/scss-style-guide/SKILL.md · 1,371 lines

How it starts

The opening of the file, as written. The whole thing — 1,371 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SCSS Coding Standards for fundamental-styles

When to use this skill:

  • Writing new SCSS component files
  • Refactoring existing SCSS code
  • Reviewing SCSS changes
  • Questions about fundamental-styles CSS architecture

1. Architecture & Methodology

BEM (Block Element Modifier) Pattern

Structure:

$block: #{$fd-namespace}-component-name;

.#{$block} {
    // Block styles

    &__element {
        // Element styles
    }

    &--modifier {
        // Modifier styles
    }
}

Naming convention:

  • Block: .fd-{component} (e.g., .fd-card, .fd-button)
  • Element: .fd-{component}__{element} (e.g., .fd-card__header, .fd-button__text)
  • Modifier: .fd-{component}--{modifier} (e.g., .fd-card--interactive, .fd-button--emphasized)

Rules:

  • Use strict BEM - no deviations
  • Block variable format: $block: #{$fd-namespace}-component-name;
  • Use Sass nesting with & for elements and modifiers
  • The ampersand creates single-level class selectors, not nested ones

Self-Contained Components

Each component must be completely independent:

DO:

// In card.scss
.#{$block} {
    &__content {
        // Style card content
    }
}

DON'T:

// In card.scss - WRONG!
.#{$block} {
    .#{$fd-namespace}-button {
        // Never style other components!
        color: red;
    }
}

If you need to adjust a child component:

  • Create a specific modifier class for that component
  • Example: Instead of .fd-card .fd-button { }, create .fd-button--in-card { }
  • Document the relationship in both component files

Why this matters:

  • Prevents global style bleeding
  • Eliminates package version conflicts
  • Components render correctly in isolation
  • No unexpected side effects

2. File Structure & Imports

Standard file header:

@use 'sass:map'; // Only when using Sass maps

@import './new-settings'; // or component-specific variables file
@import './mixins';

$block: #{$fd-namespace}-component-name;
$other-component: #{$fd-namespace}-other-component; // If referencing classes

// Component-specific variables/maps here
$fd-component-sizes: (
    's': (
        ...
    ),
    'm': (
        ...
    )
);

.#{$block} {
    // Component styles
}

Read the full file on GitHub · 1,371 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 1,371 lines · 17 tokens per session scan A 3d203cba8b35

Subscribe to this mod's changes

scss-style-guide is a skill published in the GitHub repository SAP/fundamental-styles (232 stars, last pushed 6d ago), licensed Apache-2.0. It adds 17 tokens to every session and 8,719 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

wasm-expert

WebAssembly expert for WASI, component model, Rust/C compilation, and browser integration.

RightNow-AI/openfang · 22 tokens

css-expert

CSS expert for flexbox, grid, animations, responsive design, and modern layout techniques.

RightNow-AI/openfang · 21 tokens

electron-overlay-dimming

Reusable pattern for focus-based auto-dimming of Electron overlay windows — when the app loses focus, all overlay windows fade to a low opacity; when an overlay regains focus, they return to their configured opacity. Use when building always-on-top Electron overlays that should recede while the user works in other…

sonichi/sutando · 67 tokens

remotion-video

Create motion graphics and videos using Remotion (React) with audio sync, web fonts, and TailwindCSS. Triggers on: "create a Remotion video", "React video", "motion graphics", "branded video", "product demo video", "video with voiceover". NOT for math animations, use concept-to-video.

Mathews-Tom/armory · 72 tokens

static-web-artifacts-builder

Build self-contained static HTML artifacts opened in a browser: interactive diagrams, dashboards, infographics. Pure HTML5+CSS3+inline SVG, zero toolchain. Triggers on: "interactive HTML", "open in browser", "HTML artifact", "visual dashboard", "HTML infographic". NOT for PNG/SVG output, use concept-to-image.

Mathews-Tom/armory · 76 tokens

conductor-motion

Generate hand-crafted web animation patterns as self-contained HTML: typewriter/rotator effects, progress bar simulations, file review state machines, staggered reveals, terminal status displays, streaming AI-response demos, popover/dialog/toast lifecycles, Lottie orchestration, scroll-driven sequences. Behavioral…

tdimino/claude-code-minoan · 108 tokens