with one click
ui-ux-pro-max
Translate human UI/UX requirements into site-design.contract.yaml
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Translate human UI/UX requirements into site-design.contract.yaml
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
研究一个**已知的** GitHub 项目/repo,判断它对 LiYe Systems 的进化有没有可借鉴之处,产出定型的 evolution-recon 报告并归档到 recon-log。Use whenever the user gives a specific GitHub repo URL and asks to 研究/研读/消化/digest/study it, wants to know whether a project 对 LiYe / AGE / loamwise 有没有帮助/可借鉴/值得参考, asks "这个项目对我们有没有用", floats "看看 <repo> 有没有能学的", or types /github-digest — even if they never name the report format. This is the KNOWN-repo research step that sits UPSTREAM of github-scout (which DISCOVERS unknown repos) and source-intake (which INGESTS a chosen repo). Reach for it when the repo is already chosen and the real question is "is it worth our attention / what can LiYe learn". Do NOT use it to search/discover repos (that is github-scout) or to actually vendor/ingest a repo (that is source-intake).
Use when testing SFC v0.2 frontmatter compatibility.
Claude Skills 创建指南与最佳实践
SFC patched skill. Use when "ui-ux" is relevant.
内容研究与写作助手
视觉设计与艺术创作工具
| name | ui-ux-pro-max |
| description | Translate human UI/UX requirements into site-design.contract.yaml |
| domain | 00_Core_Utilities |
| category | creative |
| version | 1.0.0 |
| status | active |
| skeleton | reference |
| triggers | {"commands":["/ui-ux-pro-max"],"patterns":["ui-ux-pro-max"]} |
| inputs | {"required":[],"optional":[]} |
| outputs | {"artifacts":["SKILL.md"]} |
| failure_modes | [{"symptom":"Missing required inputs or context","recovery":"Provide the missing info and retry"},{"symptom":"Unexpected tool/runtime failure","recovery":"Rerun with minimal steps; escalate after 3 failures"}] |
| verification | {"evidence_required":true,"how_to_verify":["node .claude/scripts/sfc_lint.mjs <skill_dir>"]} |
| governance | {"constitution":"_meta/governance/SKILL_CONSTITUTION_v0.1.md","policy":"_meta/policies/DEFAULT_SKILL_POLICY.md"} |
Sole Responsibility: Translate human UI/UX requirements into
tracks/<track_id>/site-design.contract.yaml
This Skill acts as a translator between human design intent and machine-executable contracts. It does NOT generate UI, pages, components, or styles.
| Input | Description | Examples |
|---|---|---|
project_type | Site category | saas, landing, docs, blog, dashboard |
audience | Target users | b2b, b2c, developer, enterprise |
brand_keywords | Design tone descriptors | modern, minimal, professional, playful |
stack | Technical stack | astro, react, tailwind, next |
tracks/<track_id>/site-design.contract.yaml
Contract must:
python _meta/governance/validator.pyknowledge/design/ui-ux/
├── ui_styles.yaml # Style patterns (minimalism, glassmorphism, etc.)
├── color_schemes.yaml # Color palettes by product type
├── font_pairings.yaml # Typography combinations
├── chart_types.yaml # Data visualization guidance
└── ux_guidelines.yaml # UX patterns and anti-patterns
brand_keywords → ui_styles.yaml (find matching style)project_type → color_schemes.yaml (find base palette)font_pairings.yaml (select typography)ux_guidelines.yaml for anti-patterns| Action | Reason |
|---|---|
| Generate UI/pages/components | Builder responsibility |
| Modify contract schema | Schema is frozen |
| Read Builder feedback | One-way data flow (Skill → Builder) |
| Treat knowledge as SSOT | Knowledge is reference, Constitution is SSOT |
Extract structured requirements from user description:
"Build a dark-mode SaaS dashboard for developers"
→ project_type: saas
→ audience: developer
→ brand_keywords: [dark, tech, minimal]
→ stack: [to be specified]
# From ui_styles.yaml (brand_keywords: dark, tech)
matched_style: dark_mode_oled
primary_colors: ["#000000", "#121212"]
effects: [minimal-glow, high-readability]
# From color_schemes.yaml (project_type: saas)
matched_scheme: developer_tools
primary: "#3B82F6"
background: "#0F172A"
# From font_pairings.yaml (keywords: tech, developer)
matched_pairing: developer_mono
heading: JetBrains Mono
body: IBM Plex Sans
Write to tracks/<track_id>/site-design.contract.yaml:
version: "1.0"
kind: site-design
scope: track-instance
enforcement: warning
inherits:
from: _meta/contracts/site-design.contract.yaml
site:
name: <track_id>
stack: [user-specified]
tokens:
colors:
primary: "#3B82F6"
background: "#0F172A"
# ... (derived from knowledge)
typography:
primary_font: "IBM Plex Sans"
heading_font: "JetBrains Mono"
# ...
style:
allowed_modes: [dark]
default_mode: dark
ux:
accessibility:
min_contrast_ratio: 4.5
anti_patterns:
- confirm_shaming
- forced_popup
python _meta/governance/validator.py
Input:
Create design contract for a B2B SaaS analytics dashboard.
Modern, professional, dark mode preferred.
Stack: Astro + Tailwind
Track: analytics-dashboard
Output: tracks/analytics-dashboard/site-design.contract.yaml
Input:
Design contract for a wellness app landing page.
Calm, organic, light colors.
Stack: Next.js + Tailwind
Track: wellness-landing
Output: tracks/wellness-landing/site-design.contract.yaml
tracks/<track_id>/site-design.contract.yaml (read-only)_meta/schemas/contracts.schema.jsonThis skill MUST stop execution once a valid site-design.contract.yaml has been generated and validated.
The skill MUST NOT:
Created: 2026-01-13 | Version: 1.0.0