frontend-governance
Enforces Contemplative design system and Anti-Slop protocols for all UI generation
Best use case
frontend-governance is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Enforces Contemplative design system and Anti-Slop protocols for all UI generation
Teams using frontend-governance should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/frontend-governance/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How frontend-governance Compares
| Feature / Agent | frontend-governance | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Enforces Contemplative design system and Anti-Slop protocols for all UI generation
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Frontend Governance Skill ## Design Philosophy: Contemplative UI must exhibit restraint, intentionality, and quiet confidence. Reject the generic SaaS aesthetic. Every element earns its place through purpose, not decoration. ## Semantic Token System All styling MUST use the project's semantic tokens. Direct color values are forbidden. ### Background Layers | 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` | ### Text Hierarchy | 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` | ### Accent Colors | 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` | ### Typography | Token | Usage | Tailwind Class | | ---------------- | ---------------------- | -------------- | | `--font-heading` | Display text, headings | `font-heading` | | `--font-data` | Numbers, code, tabular | `font-data` | ## Forbidden Patterns (Anti-Slop) The following patterns are explicitly banned. Their presence indicates "AI slop" and must be rejected: ### Visual Anti-Patterns - **Gradient Crutch**: `bg-gradient-to-*` used decoratively without semantic purpose - **Rounded-XL Addiction**: Excessive `rounded-xl`, `rounded-2xl`, `rounded-3xl` on every element - **Skeleton Aesthetic**: Gray placeholder boxes as permanent design elements - **Shadow Spam**: Multiple layered shadows (`shadow-lg shadow-xl`) for "depth" - **Border Radius Inconsistency**: Mixing radius values without system ### Color Anti-Patterns - **Hardcoded Colors**: `bg-gray-900`, `text-white`, `#1a1a1a`, `rgb(...)`, `hsl(...)` - **Tailwind Palette Direct**: `bg-blue-500`, `text-slate-400` (use semantic tokens) - **Opacity Hacks**: `bg-black/50` instead of proper elevation tokens ### Layout Anti-Patterns - **Flexbox Soup**: Nested flex containers without clear hierarchy - **Magic Numbers**: `mt-[47px]`, `w-[312px]` (use spacing scale) - **Container Nesting**: Excessive wrapper divs for spacing ### Typography Anti-Patterns - **Font Size Chaos**: Arbitrary text sizes without hierarchy - **Weight Overload**: Bold everything for emphasis - **Line Height Neglect**: Default line heights on dense text ## Component Guidelines ### Prefer Radix/shadcn Primitives When available, use Radix UI primitives or shadcn/ui components. These provide: - Accessibility out of the box - Keyboard navigation - Focus management - ARIA compliance ### Server Components by Default All components are React Server Components unless they require: - Event handlers (`onClick`, `onChange`) - React hooks (`useState`, `useEffect`) - Browser APIs (`window`, `document`) Client components must import `client-only` at the top. ## Design Intent Protocol 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. ## Validation Checklist Before presenting any UI code: - [ ] All colors use semantic tokens (no hardcoded values) - [ ] Typography uses `--font-heading` or `--font-data` where appropriate - [ ] No forbidden patterns present - [ ] Component has clear visual hierarchy - [ ] Spacing uses Tailwind scale (no magic numbers) - [ ] Server/Client boundary is correct
Related Skills
project-frontend-design
comprehensive design guide for the Meatballs project, combining high-quality frontend principles with the specific "Craft & Chao" design system. Use this skill for all frontend work in this project.
frontend-ui
Create aesthetically pleasing, visually distinctive frontend UIs using research-backed prompting strategies from Anthropic's frontend aesthetics cookbook
frontend-styleguide
Use when asked to create or edit style guides, design systems, component libraries, or update existing frontend components for web projects
frontend-style-layout
Apply consistent styling and layout patterns with Tailwind v4. Use when building page layouts, choosing spacing methods, implementing responsive images, or migrating Tailwind v3 classes to v4. Covers Section Compound Pattern, spacing selection, CLS-free responsive images, and v4 class changes.
frontend-design
Create distinctive, bold UI designs that avoid generic AI aesthetics. This skill should be used when users want frontend components with strong visual identity, creative typography, intentional color palettes, and production-grade animations - specifically to avoid the bland, safe, homogeneous "AI slop" that plagues most generated interfaces.
awesome-copilot-root-agent-governance
Use when: the task directly matches agent governance responsibilities within plugin awesome-copilot-root. Do not use when: a more specific framework or task-focused skill is clearly a better match.
ai-development-governance
AI-augmented development controls, GitHub Copilot governance, LLM security, AI-generated code review per Hack23 Secure Development Policy
data-governance-enrichment
Enrich CRM data: tools, waterfall approach, automation, quality control. Use when designing or improving data enrichment in rev ops.
Openapi Governance
* **Depends on**: None * **Compatible with**: None * **Conflicts with**: None * **Related Skills**: None # Overview Comprehensive guide to OpenAPI governance, API design standards, automated linting,
agent-governance
Implement hooks for permission control and security in custom agents. Use when adding security controls, blocking dangerous operations, implementing audit trails, or designing permission governance.
bgo
Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.
ui-ux-pro-max
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks.