Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/sowee121/frontend-interview-vueWrote 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.
[](https://agentmods.dev/rules/sowee121/frontend-interview-vue/30-scss-and-build)<a href="https://agentmods.dev/rules/sowee121/frontend-interview-vue/30-scss-and-build"><img src="https://agentmods.dev/badge/rules/sowee121/frontend-interview-vue/30-scss-and-build/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.
<a href="https://agentmods.dev/rules/sowee121/frontend-interview-vue/30-scss-and-build"><img src="https://agentmods.dev/badge/rules/sowee121/frontend-interview-vue/30-scss-and-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00439 |
| Opus 5.5 | $0.00000 | $0.00176 |
| Sonnet 5.5 | $0.00000 | $0.00088 |
| Haiku 4.5 | $0.00000 | $0.00044 |
Grade A, and why
30-scss-and-build 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 1mo 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.
What it actually says
Sass / 构建约定
- BEM 命名:块
{domain}-{name}、元素{block}__{part}、修饰符{block}--{variant};统一 kebab-case。 - 块选择器根:样式以
.site-footer、.qa-block等类名为块根书写;避免footer { &.site-footer { &__line } }——会编译成footer.site-footer__line,无法命中子元素上的site-footer__line。 - 样式组织:全局入口
src/assets/main.scss,按序@use:tokens→base→layout→components。_base.scss:盒模型、html/body、链接色;:where()元素重置(margin 清零、表单 inherit、媒体 max-width)放在#app之后,特异性为 0,便于 BEM 覆盖。_layout.scss:顶栏、章节 grid、侧栏 TOC、移动 FAB / sheet、scroll-top-fab。_components.scss:文章卡片、题库块、首页章节卡片、页脚。
- 变量注入:Vite 对「非
src/assets/styles/**」的 scss/vue 自动注入@use "variables" as *;(见vite.config.ts)。在src/assets/styles/**与main.scss内 不要 重复@use variables。 - 部署 base:生产
base为/frontend-interview-vue/,开发为/;资源与路由思维使用import.meta.env.BASE_URL,避免硬编码根路径。
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.
- 1mo ago First seen · 17 lines · 0 tokens per session scan A b80653241040
30-scss-and-build is a cursor rule published in the GitHub repository sowee121/frontend-interview-vue (4 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 439 tokens. 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-31.
Other cursor rules, from other repositories
coding-best-practices
Cursor rule "coding-best-practices" from hexianWeb/Third-Person-MC, covering coding best practices and user interface (ui).
responsive-layout
A set of rules for making layouts work across wide screens such as iPads, web browsers, and desktop apps. It covers breakpoints, maximum scaling, and separating the application frame from its content.
solar
Rules for building with Solar (solarbuild) — a runtime UI framework for AI-generated code.
theming-colors
A theme and color rule requiring use of ThemeContext, a shared source for the app's current visual theme.
typography-scaling
Rules for scaling fonts and user-interface dimensions. The description does not specify the exact scaling values or situations covered.
tailwindcss-rule
You are an expert AI programming assistant that primarily focuses on producing clear, readable HTML, Tailwind CSS and vanilla JavaScript code.