{
  "markdown": "<div align=\"center\">\n\n# SwiftUI Design Skill\n\n> *\"One prompt. A shippable SwiftUI interface.\"*\n\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![Agent-Agnostic](https://img.shields.io/badge/Agent-Agnostic-blueviolet)](https://skills.sh)\n[![Skills](https://img.shields.io/badge/skills.sh-Compatible-green)](https://skills.sh)\n\n</div>\n\n<p align=\"center\">\n  <a href=\"README.md\"><img src=\"https://img.shields.io/badge/English-blue?style=flat-square\" alt=\"English\"></a>\n  <a href=\"README-zh.md\"><img src=\"https://img.shields.io/badge/中文-red?style=flat-square\" alt=\"中文\"></a>\n</p>\n\n**Type one line in your agent. Get back a SwiftUI interface that doesn't look AI-generated.**\n\nIn 3 to 30 minutes, you can design a **signature iOS interface** — not \"AI-made-it-looks-okay\" quality, but something that looks like it was crafted by a designer with taste.\n\nAnti-AI Slop 6 Iron Rules, Design Direction Advisor, Brand Asset Protocol, 5-Dimension Review — all built in. Give the skill your brand palette and it will read your vibe; give nothing and the 5 built-in design languages will still hold their ground.\n\nWorks across agents — Claude Code, Cursor, Codex, OpenCode, Hermes, all supported.\n\n## Install & Go\n\n```bash\nnpx skills add wholiver/swiftui-design-skill -g -y\n```\n\n## What Can It Do\n\n| Capability | Deliverable | Typical Time |\n|------------|-------------|--------------|\n| SwiftUI Interface Design | Compilable SwiftUI code · Design system tokens · Layout patterns | 10–15 min |\n| Design Direction Advisor | 5 schools × N design philosophies · 3 recommended directions · Visual anchor descriptions | 5 min |\n| Brand Asset Integration | brand-spec.md · Color palette · Typography · Spacing system | 5–10 min |\n| Anti-AI Slop Review | Item-by-item check · Concrete fix code · Alternative approaches | 3–5 min |\n| 5-Dimension Review | Radar chart scoring · Keep/Fix/Quick Wins · Actionable fix checklist | 3 min |\n| Layout Pattern Library | 9 common layouts · Copy-paste SwiftUI code | Instant |\n| Animation Design | Spring/parallax/pull-to-refresh · Compilable code | 5–10 min |\n\n## Core Mechanisms\n\n### Anti-AI Slop 6 Iron Rules\n\nThis is the hardest set of rules in the skill. All designs must pass these 6 checks:\n\n| # | Iron Rule | ❌ Forbidden | ✅ Alternative |\n|---|-----------|-------------|----------------|\n| 1 | Start from context | Inventing from a blank canvas | Ask about design system / UI kit / brand assets first |\n| 2 | Junior Designer Mode | Waiting for the perfect solution | Gray placeholder > bad SVG |\n| 3 | Give variants, not finals | One \"final answer\" | 2–3 differentiated directions |\n| 4 | Placeholder > bad implementation | AI-generated clip art | Clean gray placeholder + text label |\n| 5 | System-first, don't fill | Packing every pixel | Every element must justify its existence |\n| 6 | Ban AI slop patterns | Purple-blue gradients, emoji icons, rounded cards + left border | Single warm accent color, SF Symbols, serif headlines |\n\nSee `references/anti-ai-slop.md` for details.\n\n### Design Direction Advisor\n\nWhen requirements are vague, the skill recommends 3 differentiated directions from 5 major design schools:\n\n| School | Characteristics | Signature Style |\n|--------|-----------------|-----------------|\n| **Informational** | Data-first, chart-dense | Bloomberg Terminal |\n| **Editorial** | Magazine layout, serif type, generous whitespace | NYT, Medium |\n| **Expressive** | Bold color, asymmetric layout, motion-forward | Stripe, Linear |\n| **Functional** | Dense tool feel, monospace accents | Things, OmniFocus |\n| **Warm Minimal** | Soft neutrals, rounded corners, subtle texture | Notion, Craft |\n\n### Brand Asset Protocol\n\nA mandatory 5-step hard process when working with a specific brand:\n\n| Step | Action | Purpose |\n|------|--------|---------|\n| 1 · Ask | Does the user have brand guidelines? | Respect existing assets |\n| 2 · Search | Search the brand's official pages | Obtain real materials |\n| 3 · Download | Download actual asset files | PNG/SVG logos, fonts |\n| 4 · Verify | Verify colors match official sources | Cross-check hex values |\n| 5 · Write | Generate brand-spec.md | Record complete design system |\n\nQuality threshold: 5 real brand colors, 10 design tokens, 2 font families, 8pt spacing grid.\n\n### 5-Dimension Review\n\nEvery design must pass a 5-dimension review before delivery:\n\n| Dimension | Scoring Criteria | Minimum Score |\n|-----------|------------------|---------------|\n| 🎯 Philosophy Consistency | Does the design embody the chosen design philosophy? | ≥ 7/10 |\n| 📐 Visual Hierarchy | Is the information priority clear? | ≥ 7/10 |\n| 🔧 Detail Execution | Are spacing, typography, and colors precise? | ≥ 7/10 |\n| ⚡ Functionality | Does the layout serve user goals? | ≥ 7/10 |\n| ✨ Originality | Is there at least 1 signature detail? | ≥ 7/10 |\n\n## File Structure\n\n```\nswiftui-design-skill/\n├── SKILL.md                           ← Core definition (278 lines)\n├── references/\n│   ├── anti-ai-slop.md                ← Anti-AI Slop detailed rules (268 lines)\n│   ├── layout-patterns.md             ← 9 layout patterns + copy-paste code (265 lines)\n│   ├── typography-color.md            ← Typography hierarchy + color system (172 lines)\n│   ├── design-review.md               ← 5-Dimension Review process (151 lines)\n│   └── swift-extensions.md            ← Color/Font/Animation extensions (373 lines, essential)\n└── templates/\n    └── brand-spec.md                  ← Brand spec template (77 lines)\n```\n\n## Difference from swiftui-expert-skill\n\n| | SwiftUI Design Skill | swiftui-expert-skill |\n|---|---|---|\n| **Focus** | Visual design, aesthetics, brand feel | Code quality, performance, correctness |\n| **Question** | \"How does it look?\" | \"Is the code correct?\" |\n| **Output** | Design direction, color palette, layout, review | Code review, Instruments analysis, API modernization |\n| **Complementary** | Use Design first to set direction | Then use Expert to ensure code quality |\n\nThe two skills work together: Design decides **what to build**, Expert ensures **how to build it right**.\n\n## License\n\nMIT — use freely, but please keep the original author attribution.\n",
  "bytes": 6170,
  "sha": "fb838a4f51b8dbb7d491fa7e7a5366cefd71db82bc9d472301e2a5ec702b4940",
  "repo_slug": "wholiver/swiftui-design-skill",
  "fonte": "repo",
  "truncated": false,
  "api": "https://api.agentalog.com/api/listings/skl_wholiver_swiftui_design_skill_swiftui_de_90729ffa/readme"
}