typography

typography is a skill for Claude Code, Codex from Abdullah4AI/apple-developer-toolkit. It costs 31 tokens per session (759 once invoked), scanned A, original, MIT.

A set of typography rules for SwiftUI interfaces, including text styles, font weights, spacing, and Dynamic Type. Dynamic Type lets text adapt to a user's accessibility size setting.

In plain words
What is it for?
Use it when choosing text styles, building a hierarchy of headings and body text, and styling iOS screens.
Why use it?
It helps text stay readable and visually consistent across screen sizes and accessibility settings.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when choosing text styles, building a hierarchy of headings and body text, and styling iOS screens.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abdullah4ai/apple-developer-toolkit/typography
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Abdullah4AI/apple-developer-toolkit --skill typography
Clone the repo
git clone --depth 1 https://github.com/Abdullah4AI/apple-developer-toolkit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for typography

README.md
[![agentmods](https://agentmods.dev/badge/skills/abdullah4ai/apple-developer-toolkit/typography/github.svg)](https://agentmods.dev/skills/abdullah4ai/apple-developer-toolkit/typography)
Your own site
<a href="https://agentmods.dev/skills/abdullah4ai/apple-developer-toolkit/typography"><img src="https://agentmods.dev/badge/skills/abdullah4ai/apple-developer-toolkit/typography/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for typography

Your own site · 80×15
<a href="https://agentmods.dev/skills/abdullah4ai/apple-developer-toolkit/typography"><img src="https://agentmods.dev/badge/skills/abdullah4ai/apple-developer-toolkit/typography.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 759 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.00759
Opus 5 $0.00015 $0.00380
Sonnet 5 $0.00006 $0.00152
Haiku 4.5 $0.00003 $0.00076

Measured 5d ago against content hash a65dcec76bcc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

typography scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

swiftship/internal/skills/data/ui/typography/SKILL.md · 59 lines

What it actually says

Typography

IOS TYPE SCALE (use system text styles — NEVER .system(size:)):

Style Size Weight SwiftUI Use Case
Large Title 34pt Regular .largeTitle Screen titles (NavigationStack)
Title 28pt Regular .title Section headers
Title 2 22pt Regular .title2 Sub-section headers
Title 3 20pt Regular .title3 Card titles
Headline 17pt Semibold .headline Row titles, emphasized labels
Body 17pt Regular .body Primary content text
Callout 16pt Regular .callout Secondary descriptions
Subheadline 15pt Regular .subheadline Supporting text, timestamps
Footnote 13pt Regular .footnote Tertiary info, disclaimers
Caption 12pt Regular .caption Metadata, labels
Caption 2 11pt Regular .caption2 Smallest readable text

HIERARCHY RULES:

  • ONE .largeTitle per screen (via .navigationTitle with .large display mode).
  • .headline for list row titles and card headings.
  • .body for primary content paragraphs and descriptions.
  • .subheadline or .caption for metadata (dates, counts, secondary info).
  • Visual hierarchy: at least 2 levels of contrast per screen (e.g. .headline + .caption).

FONT WEIGHT GUIDANCE:

  • .regular: body text, descriptions.
  • .medium: subtle emphasis, tab labels.
  • .semibold: section headers, row titles, buttons.
  • .bold: primary action labels, important callouts.
  • AVOID .ultraLight, .thin, .light — poor readability, especially on small screens.

FONT DESIGN:

  • .fontDesign(.rounded): friendly, playful apps (fitness, kids, social).
  • .fontDesign(.serif): editorial, premium (news, reading, luxury).
  • .fontDesign(.monospaced): technical, developer tools, code display.
  • .fontDesign(.default): neutral, professional (productivity, finance).
  • Apply on outermost container — it cascades to all children.

DYNAMIC TYPE:

  • System text styles automatically scale with user's accessibility settings.
  • NEVER use .font(.system(size: N)) — it opts out of Dynamic Type.
  • If a layout breaks at larger type sizes, use .minimumScaleFactor(0.8) as last resort.
  • Test with largest accessibility size: Xcode → Environment Overrides → Dynamic Type.

LINE SPACING & READABILITY:

  • System styles include appropriate leading — don't override unless necessary.
  • For long-form text, .lineSpacing(4) improves readability.
  • Maximum comfortable line length: ~70 characters. Use .frame(maxWidth: 600) for wide screens.

NUMBER & DATA DISPLAY:

  • Use .monospacedDigit() for numbers that change (timers, counters, prices).
  • This prevents layout jitter as digits change width.
  • Example: Text(price).font(.title2).monospacedDigit()
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 59 lines · 31 tokens per session scan A a65dcec76bcc

Subscribe to this mod's changes

typography is a skill published in the GitHub repository Abdullah4AI/apple-developer-toolkit (10 stars, last pushed yesterday), licensed MIT. It adds 31 tokens to every session and 759 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

expo-design-system

Framework (OSS). Build and maintain a design system inside an Expo app - a reusable theme of design tokens (color, spacing, typography, radius, shadow, motion), reusable component structure with variant/size/state prop conventions, and rules for when to extract a repeated view into a shared component. Use when…

expo/skills · 181 tokens

display-glasses-with-jetpack-compose-glimmer

Provides guidelines for developing projected Android XR apps for display glasses using the Jetpack Compose Glimmer UI toolkit. This skill covers foundational Glimmer design principles, workflows for implementing Jetpack Compose Glimmer, and interaction models for the glasses form factor. Use this skill to build an…

android/skills · 91 tokens

flutter-build-responsive-layout

Use LayoutBuilder, MediaQuery, or Expanded/Flexible to create a layout that adapts to different screen sizes. Use when you need the UI to look good on both mobile and tablet/desktop form factors.

flutter/agent-plugins · 51 tokens

omh-apple-design

This is a Hermes-native apple-design workflow skill.

rlaope/oh-my-hermes · 73 tokens

axiom-audit-liquid-glass

Use when the user mentions Liquid Glass review, iOS 26 UI updates, toolbar improvements, or visual effect migration.

CharlesWiltgen/Axiom · 32 tokens

axiom-audit-ux-flow

Use when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app.

CharlesWiltgen/Axiom · 43 tokens