Agent Skills
› AjayIrkal23/agentic-mercy-10x
› tailwind-design-system
tailwind-design-system
GitHub用于实施或修订 Tailwind CSS v4 的令牌、主题、工具类及组件原语。负责标准化设计系统实现,迁移 v3 至 v4 模式,管理语义化令牌与多主题切换,确保可复用性与无障碍访问,不包含视觉方向决策。
Trigger Scenarios
修改 Tailwind v4 令牌或主题
重构组件原语或工具类约定
将 Tailwind v3 迁移至 v4 模式
Install
npx skills add AjayIrkal23/agentic-mercy-10x --skill tailwind-design-system -g -y
SKILL.md
Frontmatter
{
"name": "tailwind-design-system",
"schema": 1,
"category": "frontend",
"surfaces": [
"frontend"
],
"triggers": {
"paths": [],
"intents": [
"frontend"
],
"keywords": [
"component",
"conventions",
"css",
"design",
"frontend",
"implementing",
"primitives",
"revising",
"system",
"tailwind",
"tailwind-based",
"themes",
"tokens",
"utility"
]
},
"platforms": [
"linux",
"darwin",
"windows"
],
"token-cost": 589,
"description": "Use when implementing or revising Tailwind CSS v4 tokens, themes, utility conventions, or component primitives in a Tailwind-based frontend.",
"disable-model-invocation": false
}
Tailwind Design System
Use When
- A task changes Tailwind v4 tokens, themes, component primitives, or utility conventions.
- You are standardizing a Tailwind-based design system.
- You are migrating Tailwind v3 assumptions to v4 patterns.
Do Not Use
- Choosing the visual direction of the interface.
- Structuring frontend modules or server-data flows.
- Applying exact library syntax without first checking current docs when uncertain.
Owns
- Tailwind v4 token and theming patterns.
- Design-system implementation details for a Tailwind-based stack.
- Tailwind-specific component and utility conventions.
Does Not Own
- Premium UI direction or aesthetic strategy.
- General frontend architecture.
- Non-Tailwind styling systems.
Combine With
frontend-ui-engineeringfor visual direction and production-quality patterns.frontend-structure-standardsfor component boundaries.tool-and-doc-selectionto route Tailwind/CVA/Radix questions to current docs.
Workflow
- Verify the project is using Tailwind v4 before applying v4-specific syntax.
- Confirm whether existing tokens, utilities, theme packs, or component primitives already exist.
- Organize theme work around semantic tokens for surfaces, text, borders, accents, and data-viz roles instead of hardcoded one-off values.
- Keep design-system changes in shared, reusable layers instead of one-off screens.
- Move advanced examples or migrations to references instead of bloating the skill body, and verify current library syntax through docs tools when the exact API matters.
Output Contract
- The Tailwind v4 implementation pattern being applied.
- Any token, theme, or component-primitives changes.
- A note about docs verification when exact syntax is version-sensitive.
See references/tailwind-v4-checklist.md for the detailed implementation checklist.
Theme Structure
- Define one clear theme contract before adding variants: background, surface, text, border, accent, muted, destructive, and chart or status roles.
- Keep named themes as data or token layers that can be swapped without rewriting component code.
- When adding a new theme, document the intended mood, core palette roles, and typography pairing instead of only listing hex values.
- Preserve accessibility and contrast requirements across light, dark, and branded variants.
Version History
- 581d130 Current 2026-07-19 09:14


