maintainable-frontend-styles SKILL.md skillA
maintainable-frontend-styles from nangongwentian-fe/jay-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add nangongwentian-fe/jay-skills/maintainable-frontend-styles@git:20261018.4caf5d8Pins git:20261018.4caf5d8 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- nangongwentian-fe/jay-skills
- Path
skills/maintainable-frontend-styles/SKILL.md- Versions recorded
- 2
- Latest version
- git:20261018.4caf5d8, committed Oct 18, 2026
- First version recorded
- Jul 30, 2026
- Size
- 2,789 bytes
- Repository stars
- 12
- License
- none declared
Implement or refactor component styles using the project's Tailwind and CSS/SCSS conventions. Use for style boundaries, reuse, variants and maintainability.
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
# Maintainable Frontend Styles 沿用仓库的样式方案。已有 Tailwind 时用完整、可静态检测的 utility class 表达常规样式;复杂局部规则可放在组件同位置的 CSS/SCSS Module。 ## 选择最小充分方案 | 需求 | 方案 | | --- | --- | | 布局、间距、排版、主题与常规交互状态 | 项目现有 utility、token 和 variant | | 复杂选择器、伪元素、关键帧或局部第三方覆盖 | 组件 CSS/SCSS Module | | reset、字体、主题令牌及真正的全局基础样式 | 全局样式入口 | | 不能静态枚举的运行时值 | 局部 CSS 自定义属性,必要时 inline style | 明确的项目规则优先于本表,不为遵循个人默认方案而迁移技术栈。常规局部实现可自主完成;新增依赖、构建机制或扩大迁移范围超出既有授权时,先说明具体变更并确认,已有授权不重复询问。 只读取当前组件和决定本次改动的项目事实。涉及工具语法时确认实际版本;涉及构建、全局入口或样式复用时再检查对应配置和调用方。 ## 复用与边界 - 不为了减少 class 字符数切换方案,不动态拼接有限状态的 Tailwind class。 - 循环可消除同一上下文的重复;跨消费者共享结构和行为时考虑组件;同一组件的样式差异用现有 variant 机制。 - 不因一次重复新增依赖或共享抽象,也不把不同组件的局部规则集中成巨型样式文件。 - 保持样式作用域、可访问性和未要求改变的视觉行为,不顺手重构相邻代码。 ## 按需参考 - Tailwind 版本差异、class 合并或变体设计:[tailwind-patterns.md](references/tailwind-patterns.md)。 - Module 作用域、Sass 复用或大型样式文件拆分:[scss-modules-patterns.md](references/scss-modules-patterns.md)。 - 样式架构评审、迁移或存在交互/视觉回归风险:[review-playbook.md](references/review-playbook.md)。 已明确的简单 token 或 class 调整无需预读全部参考。 ## 验证与交付 选择能覆盖受影响行为的检查:局部样式调整检查实际视觉结果及相关断点/状态;改动 props 或逻辑时做相关类型与行为验证;涉及构建、入口或 CSS 顺序时再执行生产构建。保留项目强制门禁。 修复本次改动引入的缺陷,按任务规则清理验证资源,交付实际验证结果及有意义的未验证项。不要每次运行全部 formatter、lint、测试、构建及所有主题状态,也不要为通过检查改写无关文件。
Read the whole file at its exact version.
How to install
mdr add nangongwentian-fe/jay-skills/maintainable-frontend-styles@sha256:ec03ad5693d27112The line at the top of this page pins the label git:20261018.4caf5d8, 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.
[](https://markdownregistry.com/a/art_6dw5t5on24kwzzav)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Jul 30, 2026 and Oct 18, 2026, about one every 80 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261018.4caf5d8 latest | 2026-10-18 | 4caf5d8 | 2,789 B | A | view · diff |
| git:20260730.532f66f | 2026-07-30 | 532f66f | 4,420 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2789 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
nangongwentian-fe/jay-skills · 12 stars · license none declared · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_6dw5t5on24kwzzav GET https://markdownregistry.com/api/v1/resolve?ref=nangongwentian-fe/jay-skills/maintainable-frontend-styles GET https://markdownregistry.com/api/v1/blob/ec03ad5693d271128e533138fa78492a74184c22f32c0866e268221e285207e1
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.