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.

Install it, pinned
mdr add nangongwentian-fe/jay-skills/maintainable-frontend-styles@git:20261018.4caf5d8

Pins 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

The exact contents, by fingerprint
mdr add nangongwentian-fe/jay-skills/maintainable-frontend-styles@sha256:ec03ad5693d27112

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_6dw5t5on24kwzzav.svg)](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.

versioncommittedcommitsizeaudit
git:20261018.4caf5d8 latest2026-10-18 4caf5d8 2,789 BA view · diff
git:20260730.532f66f2026-07-30 532f66f 4,420 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 (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

GitHub

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.

More from nangongwentian-fe/jay-skills

buddy-reroll SKILL.md skill
nangongwentian-fe/jay-skills · skills/buddy-reroll/SKILL.md · Reroll a Claude Code companion to match a requested species, rarity or shiny variant. Use for explicit buddy…
git:20261018.4caf5d8 · audit A · 12 stars
chrome-browser-validation SKILL.md skill
nangongwentian-fe/jay-skills · skills/chrome-browser-validation/SKILL.md · 使用官方 @Chrome 插件连接用户现有 Chrome,进行网页调试、交互测试和视觉验收。跨项目适用于开发完成后的浏览器验证及现有网页问题复现;代码静态检查和单元测试不受此浏览器选择约束。
git:20261030.ef8191b · audit A · 12 stars
clean-wechat-wps-storage SKILL.md skill
nangongwentian-fe/jay-skills · skills/clean-wechat-wps-storage/SKILL.md · Scan macOS WeChat/WPS disk usage and move selected data to Trash after the cleanup plan is confirmed. Use for app…
git:20261018.4caf5d8 · audit A · 12 stars
codex-imagegen SKILL.md skill
nangongwentian-fe/jay-skills · skills/codex-imagegen/SKILL.md · Generate or edit images via Codex CLI when no native tool is available, or recover outputs from an existing CLI image…
git:20261018.4caf5d8 · audit A · 12 stars
commit-before-deploy SKILL.md skill
nangongwentian-fe/jay-skills · skills/commit-before-deploy/SKILL.md · 部署 Git 项目前先验证、提交并推送本次发布代码,确认远端提交后才构建和发布。适用于 DEV、UAT、生产等代码部署任务;只编写技能、检查或制定计划不触发发布。
git:20261103.c1852b4 · audit A · 12 stars
daily-work-summary SKILL.md skill
nangongwentian-fe/jay-skills · skills/daily-work-summary/SKILL.md · 按指定仓库和日期,从本人 Git 提交生成每日工作总结。适用于日报与按日期汇总已提交工作。
git:20261018.4caf5d8 · audit A · 12 stars
delivery-context SKILL.md skill
nangongwentian-fe/jay-skills · skills/delivery-context/SKILL.md · Calibrate deliverables to the author's role, actual audience, intended use and acceptance criteria before creating or…
git:20261101.0b2a671 · audit A · 12 stars
dts-docs SKILL.md skill
nangongwentian-fe/jay-skills · skills/dts-docs/SKILL.md · 使用飞渡科技 DTS 产品进行开发、配置、操作或排障时,识别产品和版本并查询匹配的官方文档。适用于 DTS Cloud、CloudMaster、NodeService、Explorer、Engine、JavaScript SDK,以及…
git:20261029.0b1d958 · audit A · 12 stars
find-docs SKILL.md skill
nangongwentian-fe/jay-skills · skills/find-docs/SKILL.md · Look up current library, API and CLI syntax, configuration or version-specific behavior with Context7. Use for…
git:20261018.4caf5d8 · audit A · 12 stars
finish-cleanly SKILL.md skill
nangongwentian-fe/jay-skills · skills/finish-cleanly/SKILL.md · 在任务完成、准备最终交付或用户要求收尾时,核实最终成果并自动清理本任务已无用途的临时文件及重复交付副本。默认只保留最终成果,不反复询问清理许可;保护用户文件、依赖、必要证据及回滚资料。适用于产生本地过程文件的任务收尾,不用于全盘清理或每次中…
git:20261024.480cfc7 · audit A · 12 stars
git-topic-commit-push SKILL.md skill
nangongwentian-fe/jay-skills · skills/git-topic-commit-push/SKILL.md · Group authorized Git changes into coherent commits and push when requested. Use for topical commit or commit-and-push…
git:20261018.4caf5d8 · audit A · 12 stars
goal-first SKILL.md skill
nangongwentian-fe/jay-skills · skills/goal-first/SKILL.md · Understand the user's intended outcome, independently assess the proposed approach, and proactively find better ways to…
git:20261030.252c74d · audit A · 12 stars

Every file in nangongwentian-fe/jay-skills

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