agentleFS
brbndonbrbndon/AppleDevelopmentFoundation/.agents/skills/apple-design-system/SKILL.md

apple-design-system

Skill2 starsChanged 2 months agoMITView on GitHub

Use when adding or changing reusable design-system tokens or components. Do not use for application branding, app-specific screens, or a general accessibility audit.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Semantic tokens before chrome: Prefer roles (background, label, accent, danger, spacing scale, type styles) over raw hex or one-off sizes.

    line 13
  2. Distinctive:

    Native first: Prefer system materials, typography, and controls.

    line 14
  3. Very specific:

    Verify: Add or update focused tests/examples or a gallery surface when the project has one.

    line 20
  4. Very specific:

    Use swift-testing-verification for meaningful API or token logic changes.

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Apple design system

Change shared semantic tokens or design-system components in the consumer workspace. Keep the system neutral and reusable; do not encode product branding or one-off screen layout here.

Workflow

  1. Inventory first. Locate existing token modules, color/type/space scales, and shared components in the consumer repo. Extend them; do not create a parallel design system without authorization.
  2. Semantic tokens before chrome. Prefer roles (background, label, accent, danger, spacing scale, type styles) over raw hex or one-off sizes. Map tokens to light/dark (and increased contrast when the project supports it).
  3. Native first. Prefer system materials, typography, and controls. Custom tokens should wrap or complement platform defaults, not fight them.
  4. Appearance and motion. New visual tokens must remain readable in light and dark appearance. Prefer Reduce Motion–safe defaults; avoid decorative motion that is the only affordance of meaning.
  5. Polish defaults. Content layer stays solid/opaque; reserve Liquid Glass for system navigation/control chrome (not content lists, cards, or tables). A Liquid Glass request means adopting native TabView, navigation bars, toolbars, and sheets before considering custom effects; never rebuild that chrome with materials, overlays, or safe-area bars. Use brand/accent for primary actions and content highlights, not full custom chrome. Shared interactive targets must remain usable at ~44×44 pt. Prefer system text styles and Regular/Medium/Semibold/Bold; avoid Ultralight/Thin for UI copy.
  6. Differentiate without color alone. Status and state must not rely only on hue when color is the sole signal.
  7. Layering. Tokens feed shared components; app screens consume components/tokens. Do not hardcode magic numbers for shared UI when a token should exist.
  8. Document usage. Name tokens for role, not for a single marketing campaign or temporary experiment. Note deprecations when replacing tokens.
  9. Verify. Add or update focused tests/examples or a gallery surface when the project has one. Build the affected target. Accessibility audits of screens belong to apple-accessibility-review, not this skill alone.

Stop conditions

  • Application branding, campaign colors, or logo work → keep out of the shared system unless the user explicitly wants brand tokens in the consumer design system.
  • App-specific screens or feature copy → feature implementation, not this skill.
  • General accessibility audit of existing UI → apple-accessibility-review.
  • Planning-only request → document proposed tokens/components and migration impact without implementation.

Verification

Use swift-testing-verification for meaningful API or token logic changes. Build affected consumer targets. Report which appearances were checked and residual risk for unchecked contrast modes.

Inputs: shared token or component change. Output: neutral documented behavior, focused tests/examples, and gallery/build verification. Do not introduce branding or implement a planning-only request.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.