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.
npx skills add CallMeMing/claude-skills-ming --skill style-guardiangit clone --depth 1 https://github.com/CallMeMing/claude-skills-mingWrote 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/skills/callmeming/claude-skills-ming/style-guardian)<a href="https://agentmods.dev/skills/callmeming/claude-skills-ming/style-guardian"><img src="https://agentmods.dev/badge/skills/callmeming/claude-skills-ming/style-guardian/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/skills/callmeming/claude-skills-ming/style-guardian"><img src="https://agentmods.dev/badge/skills/callmeming/claude-skills-ming/style-guardian.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.00053 | $0.01592 |
| Opus 5 | $0.00026 | $0.00796 |
| Sonnet 5 | $0.00011 | $0.00318 |
| Haiku 4.5 | $0.00005 | $0.00159 |
Grade A, and why
style-guardian 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.
🌐 Language Policy (i18n)
Language Detection: Detect the language of the user's input.
Response Consistency: Always respond in the same language as the user's input (e.g., if the user asks in English, output the report and suggestions in English; if in Chinese, use Chinese).
Core Logic: The internal rules and design specs (like spacing, colors) remain the same regardless of the language.
For English Users: When evaluating style changes, explain clearly:
- What违规 pattern was detected: Explain what hardcoded value was found and why it doesn't match the design system
- What建议值 is recommended: Show the semantic token or te-* class that should replace it
- What风险: Explain if the change might affect adjacent components
style-guardian(样式守护者)
非破坏性样式调整助手。在修改前先走查设计规范,评估影响,确认后再执行。
技能概述
当你需要对组件样式进行调整时,style-guardian 会在修改前先扫描设计规范,评估影响范围,并等待你确认后再执行代码更改。它遵循"先分析、再评估、后执行"的三阶段确认锁机制,确保每次样式调整都是安全的、可控的。
核心功能
- 规范走查 - 读取 tokens.css 和 globals.css,自动识别硬编码数值
- 影响评估 - 分析修改对相邻组件的影响,以表格形式呈现
- 确认执行 - 强制停顿等待用户确认,确认后才会修改代码
- 暗色模式检查 - 自动检测颜色修改是否需要同步暗色模式
设计系统上下文
基于以下设计系统规范:
技术栈
- React + TypeScript + Tailwind CSS v4
- Tailwind v4 无配置特性:所有自定义 Token 均通过 CSS 变量在 globals.css 中定义
- 设计系统:基于 CSS 变量的自定义设计令牌系统
三阶段确认锁
Phase 1:感知与分析(Scan & Analyze)
目标:定位问题 + 找出所有与规范不符的硬编码数值
步骤:
- 读取规范文档:
src/app/tokens.css— 原始 Token 定义(色值、间距、圆角、阴影)src/app/globals.css— @theme inline 块(Tailwind 工具类映射)
- 扫描目标文件(限制范围:
src/components/ui/) - 调用
design-linterskill 作为检测引擎 - 根据检测到的违规类型自动匹配规范映射
输出:违规清单
Phase 2:影响评估(Impact Report)
目标:告诉你修改 A 处是否会挤压到旁边的 B 组件
分析方法:
- 检查修改点的父容器和相邻元素
- 评估 margin/padding/gap 修改对周边布局的影响
- 仅提示"可能影响相邻组件",不做精确的 AST 影响链分析
输出表格:
| 修改点 | 文件 | 当前值 | 建议值 | 风险等级 | 影响说明 | 暗色模式 |
|---|---|---|---|---|---|---|
风险等级判定:
- 🟢 低风险:使用项目已定义 Token 替换硬编码值(语义一致性修复)
- 🟡 中风险:涉及 margin/padding/gap 可能影响周边元素
- 🔴 高风险:修改会改变组件尺寸或交互行为(如 width、height、position)
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago First seen · 164 lines · 53 tokens per session scan A 9eadf8c06d87
style-guardian is a skill published in the GitHub repository CallMeMing/claude-skills-ming (1 stars, last pushed 4mo ago), licensed MIT. It adds 53 tokens to every session and 1,592 once invoked, about $0.0003 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-31.
Other skills, from other repositories
baoyu-diagram
Create professional, dark-themed SVG diagrams of any type — architecture diagrams, flowcharts, sequence diagrams, structural diagrams, mind maps, timelines, illustrative/conceptual diagrams, and more. Use this skill whenever the user asks for any kind of technical or conceptual diagram, visualization of a system…
accessibility
Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".
understand-figma
Analyze a Figma file via the Figma REST API and generate an interactive design knowledge graph (pages, screens, components, component sets, instances, design tokens) with a kind:"design" dashboard.
sxo
Search Experience Optimization (SXO) — the bridge between SEO and UX/CRO. Audits the full journey from the SERP click to the on-page goal: SERP click-through factors (title/meta/rich results that win the click), then post-click experience signals that keep users and drive conversions — above-the-fold relevance and…
create-workflow-diagram
Create FigJam/Miro-style workflow diagrams as high-quality PNG images from plain-text workflow descriptions. Renders beautiful HTML diagrams with connected nodes, arrows, and labels, then screenshots them for sharing.
create-chatgpt-mockup
Render pixel-accurate ChatGPT mobile (iOS) screen mockups in light mode from a thread JSON. Supports user text bubbles, user image attachments, assistant markdown prose, citation chips, the OpenAI spiral logo, the Apps-SDK GPT chip in the composer, and three header styles (model-tag, plain title, "Get Plus"). Fixed…