Skills for Real Engineers. Straight from my .agents directory.
design-system
Agent skill fromrshankras/claude-code-apple-skills
Build-time design-system rules that keep an Apple app cheap to restyle — role-named tokens, text styles that carry case and tracking, shared components with a ContentStateView, small views, identifier-based UI tests, and SwiftLint enforcement with a shrinking baseline. iOS, iPadOS, macOS, watchOS. Use when starting an app's UI, setting up tokens, adopting a designer's Figma/Sketch system, or preparing for or doing a redesign.
How to install design-system
npx skills add rshankras/claude-code-apple-skills# or add only this skill to Claude Code: copy the folder
skills/design/design-system/
# into
~/.claude/skills/design-system/ (all projects)
.claude/skills/design-system/ (one project)
1# Design System (build-time rules)23How cheap a redesign is depends almost entirely on how styling was written,4not on how big the app is. In a real ~45k-line SwiftUI app going through a5full redesign, about a third of the estimate was **pure restyling** of screens6that already worked — because of hand-set font sizes and colours, case applied7at call sites, appearance-named tokens, per-screen loading/empty states,83,000-line view files, and UI tests that matched visible text.910This skill is the set of rules that prevents that. `design/typography` covers11*choosing* type and Dynamic Type; `product/ux-spec` writes a12`DESIGN_SYSTEM.md` spec. This skill is about how the code is written so the13look can change in one place.1415## When This Skill Activates1617- Starting the UI of a new app (before the first screen)18- Setting up colour/spacing/type tokens, or adopting a designer's system19- A redesign is coming, or restyling is taking longer than it should20- Reviewing UI code for restyle cost2122## Styling23241. **No raw style values in views.** Fonts, colours, spacing, radius and25 shadow come from tokens. Allowed: `0`, and an icon-size token.262. **Name tokens by role, mirroring the designer's variables.** `Text/Primary`27 → `textPrimary`, `Action/Primary/Background` → `actionPrimaryBackground`.28 Never by appearance (`label2`, `grey600`, `tagSemibold`) — appearance29 names are exactly what a redesign changes.303. **One text style = family + size + weight + line height + tracking +31…
Excerpt shown under the repository's MIT license.
More skills in claude-code-apple-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
