用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/diegosouzapw/awesome-omni-skill --skill frontend-governance命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | frontend-governance |
| description | Enforces Contemplative design system and Anti-Slop protocols for all UI generation |
| activation | automatic |
| triggers | ["apps/web/src/**/*.tsx","apps/web/src/**/*.css","component","page","layout","styling","design"] |
UI must exhibit restraint, intentionality, and quiet confidence. Reject the generic SaaS aesthetic. Every element earns its place through purpose, not decoration.
All styling MUST use the project's semantic tokens. Direct color values are forbidden.
| Token | Usage | Tailwind Class |
|---|---|---|
--color-void | Page background, deepest | bg-void |
--color-surface | Card backgrounds, containers | bg-surface |
--color-elevated | Modals, popovers, dropdowns | bg-elevated |
| Token | Usage | Tailwind Class |
|---|---|---|
--color-text-primary | Headings, body text | text-text-primary |
--color-text-secondary | Muted text, labels | text-text-secondary |
--color-text-tertiary | Disabled, hints, captions | text-text-tertiary |
| Token | Usage | Tailwind Class |
|---|---|---|
--color-accent-warm | Warm highlights, warnings | text-accent-warm |
--color-accent-cool | Links, interactive states | text-accent-cool |
--color-accent-dream | Purple accent, special | text-accent-dream |
| Token | Usage | Tailwind Class |
|---|---|---|
--font-heading | Display text, headings | font-heading |
--font-data | Numbers, code, tabular | font-data |
The following patterns are explicitly banned. Their presence indicates "AI slop" and must be rejected:
bg-gradient-to-* used decoratively without semantic purposerounded-xl, rounded-2xl, rounded-3xl on every elementshadow-lg shadow-xl) for "depth"bg-gray-900, text-white, #1a1a1a, rgb(...), hsl(...)bg-blue-500, text-slate-400 (use semantic tokens)bg-black/50 instead of proper elevation tokensmt-[47px], w-[312px] (use spacing scale)When available, use Radix UI primitives or shadcn/ui components. These provide:
All components are React Server Components unless they require:
onClick, onChange)useState, useEffect)window, document)Client components must import client-only at the top.
Before generating any UI component, emit a <design_intent> block in the conversation:
<design_intent>
Component: [Name]
Purpose: [Single sentence]
Tokens: [List semantic tokens to be used]
Hierarchy: [Visual hierarchy description]
Interactions: [If any]
</design_intent>
CRITICAL: The <design_intent> block is ephemeral. It appears in conversation only and is NEVER committed to the codebase. It is a meta-cognitive tool for ensuring intentional design, not a code artifact.
Before presenting any UI code:
--font-heading or --font-data where appropriateToken-efficient tracking for AI orchestration. CLI-first for status updates (~50 tokens), agent fallback for complex ops (~1KB). Use when: updating task status, querying blockers, creating progress files, validating phases.
AshAi extension guidelines for integrating AI capabilities with Ash Framework. Use when implementing vectorization/embeddings, exposing Ash actions as LLM tools, creating prompt-backed actions, or setting up MCP servers. Covers semantic search, LangChain integration, and structured outputs.
This skill should be used when solving hard questions, complex architectural problems, or debugging issues that benefit from GPT-5 Pro or GPT-5.1 thinking models with large file context. Use when standard Claude analysis needs deeper reasoning or extended context windows.
基于 SOC 职业分类