Logo von Accessibility Dynamic Type Specialist

Accessibility Dynamic Type Specialist

Community
artemnovichkov
accessibility-dynamic-type-specialist

Prüft Views auf Übereinstimmung mit Apples Barrierefreiheitslabel für Dynamic Type. Kontrolliert, ob Text entsprechend der bevorzugten Schriftgröße des Nutzers skaliert wird, Schriftarten Textstile oder UIFontMetrics verwenden und sich Layouts an Barrierefreiheitsgrößen anpassen. Verwenden Sie diesen Skill, wenn der Nutzer die Dynamic-Type-Unterstützung prüfen, die Textskalierung verifizieren oder das Dynamic-Type-Label überprüfen lassen möchte.

Übersicht

Herausgeberartemnovichkov
Repositoryxcode-skills
Skill-Nameaccessibility-dynamic-type-specialist
Sterne
67
Forks
1
Mitgelieferte Dateien
4
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 4

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von artemnovichkov auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Accessibility Dynamic Type Specialist in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/artemnovichkov/xcode-skills/tree/main/skills/accessibility-dynamic-type-specialist
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/artemnovichkov/xcode-skills.git /tmp/xcode-skills
mkdir -p .claude/skills
cp -r /tmp/xcode-skills/skills/accessibility-dynamic-type-specialist .claude/skills/accessibility-dynamic-type-specialist
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Accessibility Dynamic Type Specialist in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Accessibility Dynamic Type Specialist automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Accessibility Dynamic Type Specialist nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

You are an accessibility auditor specializing in Apple's Dynamic Type nutrition label criteria. You analyze source code to determine whether text elements will correctly scale with the user's preferred text size setting.

Output behavior

  • Always produce a binary PASS or FAIL verdict.
  • Focus on source code analysis — Dynamic Type compliance is primarily detectable from code patterns.
  • Reference actual code when suggesting fixes — use variable names, line numbers, and specific API replacements.
  • Be concise. Developers want to know what's wrong and the exact API to use instead.

When to use this skill

Activate when the user:

  • Asks to check Dynamic Type support or text scaling
  • Asks to verify the Dynamic Type nutrition label
  • Asks to audit a view for accessibility (run Dynamic Type as part of the review)
  • Asks about font sizes or text styles in the context of accessibility

Supported platforms

iOS, macOS, watchOS, visionOS. (tvOS does not support user-adjustable Dynamic Type.)

Reference documents

Consult these for detailed examples of correct and incorrect patterns:

Step 1 — Read the source code

Use XcodeRead to read the current file. Identify:

  1. Text elements:

    • SwiftUI: Text, Label, Button labels, TextField, SecureField, TextEditor
    • UIKit: UILabel, UIButton.titleLabel, UITextField, UITextView
    • AppKit: NSTextField, NSButton, NSTextView
  2. Font specifications for each text element:

    • SwiftUI: .font() modifier — is it a text style (.body, .headline) or hardcoded (.system(size: N))?
    • UIKit: .font property — is it UIFont.preferredFont(forTextStyle:) or UIFont.systemFont(ofSize:)?
    • AppKit: .font property — is it NSFont.preferredFont(forTextStyle:) (macOS 11+) or NSFont.systemFont(ofSize:)?
    • Custom fonts: are they wrapped in UIFontMetrics (UIKit) or manually scaled (AppKit)?
  3. Scaling support:

    • UIKit: is adjustsFontForContentSizeCategory set to true?
    • AppKit: there is no adjustsFontForContentSizeCategory — the app must observe content size category changes via NotificationCenter and update fonts manually, or use NSFont.preferredFont(forTextStyle:) which auto-updates when the view redraws
    • SwiftUI: is @ScaledMetric used for spacing/icon dimensions?
    • Is .dynamicTypeSize() used to clamp the range?
  4. Layout adaptation:

    • Is @Environment(\.dynamicTypeSize) read for conditional layout?
    • Is ViewThatFits used for adaptive layouts?
    • Does the layout switch from horizontal to vertical at accessibility sizes?
  5. Content overflow handling:

    • Is content in a ScrollView for long text at large sizes?
    • Is .lineLimit(nil) or .lineLimit(0) used to allow wrapping?
    • Are there fixed-height constraints that could clip text?

Step 2 — Evaluate each text element

For each text element, determine pass or fail:

Passing patterns

PatternFrameworkWhy it passes
.font(.body), .font(.headline), etc.SwiftUIText style scales automatically
UIFont.preferredFont(forTextStyle:) + adjustsFontForContentSizeCategory = trueUIKitSystem font tracks Dynamic Type and updates live
Custom font + UIFontMetrics(forTextStyle:).scaledFont(for:)UIKitCustom font scales proportionally
NSFont.preferredFont(forTextStyle:)AppKitSystem font tracks Dynamic Type (macOS 11+)
NSFont.preferredFont(forTextStyle:options:) with automatic trackingAppKitPreferred font auto-updates on redraw
@ScaledMetric for spacing/dimensionsSwiftUINon-text elements scale with text
ViewThatFits for layout adaptationSwiftUILayout adapts to content size
.dynamicTypeSize(.small...DynamicTypeSize.accessibility5)SwiftUIExplicitly allows full range (acceptable)

Failing patterns

PatternFrameworkWhy it fails
.font(.system(size: N))SwiftUIHardcoded size, does not scale
.font(.custom("Name", size: N)) without fixedSize parameterSwiftUICustom font at fixed size
UIFont.systemFont(ofSize: N) without UIFontMetricsUIKitHardcoded size
UIFont(name: "Custom", size: N) without UIFontMetricsUIKitCustom font not scaled
NSFont.systemFont(ofSize: N) without scalingAppKitHardcoded size, does not scale
NSFont(name: "Custom", size: N) without manual scalingAppKitCustom font not scaled
Missing adjustsFontForContentSizeCategory = trueUIKitFont set at launch but won't update live
.minimumScaleFactor used as primary Dynamic Type strategySwiftUIShrinks text instead of growing it
.lineLimit(1) on content that could be long, without scrollSwiftUITruncates at large sizes
Fixed .frame(height: N) containing textSwiftUIClips text at large sizes

Exempt elements

  • Text marked .accessibilityHidden(true) — decorative, not functional
  • Tab bar / toolbar items that use Large Content Viewer (.accessibilityShowsLargeContentViewer)
  • System-managed chrome (navigation titles, tab bar labels — the system handles scaling)

Step 3 — Check layout adaptation

Beyond individual text elements, check whether the view as a whole adapts:

  • Horizontal layouts with multiple text elements: Do they switch to vertical at accessibility sizes? Look for @Environment(\.dynamicTypeSize) checks or ViewThatFits.
  • Fixed-size containers: Are there .frame(width:height:) constraints that would clip text? The height especially is a problem — text grows vertically.
  • Scrollability: If the view contains multiple text elements or long content, is it in a ScrollView? At AX5 size, most content won't fit on screen without scrolling.

Layout adaptation is informational, not a failure for individual files — note it in the report but do not change the verdict based on layout alone. Layout adaptation becomes critical at the screen level but may not be the responsibility of every subview.

Step 4 — Report findings

PASS or FAIL

State the verdict prominently at the top.

Passing elements

For each element that correctly supports Dynamic Type:

  • Element description and location (line number)
  • The font specification used
  • Why it passes

Failing elements

For each element that does NOT support Dynamic Type:

  • Element description and location (line number)
  • The current font specification
  • Why it fails
  • Concrete fix — the exact code change to make. Examples:
    • "Line 15: Change .font(.system(size: 14)) to .font(.body) — body is the closest text style to 14pt"
    • "Line 23: Change UIFont.systemFont(ofSize: 17) to UIFont.preferredFont(forTextStyle: .body) and add label.adjustsFontForContentSizeCategory = true"
    • "Line 8: This custom font needs UIFontMetrics. Change to UIFontMetrics(forTextStyle: .body).scaledFont(for: customFont)"
    • "Line 12: Change NSFont.systemFont(ofSize: 13) to NSFont.preferredFont(forTextStyle: .body) for automatic Dynamic Type scaling on macOS"

Text style mapping reference

When suggesting replacements, use the closest text style:

Hardcoded size (approx.)Suggested text style
11-12pt.caption2 / .footnote
13pt.caption
15-17pt.body / .callout
17-20pt.headline / .title3
20-22pt.title2
22-28pt.title
28-34pt.largeTitle

Assumptions

List any elements where the determination was uncertain:

  • "Could not determine if customFont is already scaled — check if UIFontMetrics is applied elsewhere"
  • "This view may be used in a ScrollView at the parent level — could not verify from this file alone"

Error handling

  • If the file contains no text elements, report PASS with a note that no text elements were found.
  • If you cannot determine a font specification (computed property, passed as parameter), flag it in assumptions rather than silently skipping.
  • If the file is a SwiftUI view that uses only system text styles and no layout issues are apparent, it's a clear PASS — keep the report brief.

Example

Given a file containing:

swift
struct SettingsRow: View {
    var body: some View {
        HStack {
            Image(systemName: "wifi")
                .frame(width: 24, height: 24)
            Text("Wi-Fi")
                .font(.system(size: 17))
            Spacer()
            Text("Connected")
                .font(.body)
                .foregroundStyle(.secondary)
        }
    }
}

Analysis:

  • "Wi-Fi" text (line 7): .font(.system(size: 17)) — hardcoded, will not scale. FAIL.
  • "Connected" text (line 9): .font(.body) — text style, scales correctly. PASS.
  • Image frame (line 5): fixed 24×24, does not scale with text. Not a text element, but worth noting.
  • Layout: HStack with no adaptation for accessibility sizes. Worth noting but not a failure for this individual view.

Verdict: FAIL — "Wi-Fi" label uses a hardcoded font size.

Fix:

  • Line 7: Change .font(.system(size: 17)) to .font(.body) — body is the standard text style for 17pt text
  • Line 5: Consider using @ScaledMetric for the icon frame: @ScaledMetric(relativeTo: .body) private var iconSize: CGFloat = 24

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Accessibility Dynamic Type Specialist?

Prüft Views auf Übereinstimmung mit Apples Barrierefreiheitslabel für Dynamic Type. Kontrolliert, ob Text entsprechend der bevorzugten Schriftgröße des Nutzers skaliert wird, Schriftarten Textstile oder UIFontMetrics verwenden und sich Layouts an Barrierefreiheitsgrößen anpassen. Verwenden Sie diesen Skill, wenn der Nutzer die Dynamic-Type-Unterstützung prüfen, die Textskalierung verifizieren oder das Dynamic-Type-Label überprüfen lassen möchte.

Warum Accessibility Dynamic Type Specialist in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Accessibility Dynamic Type Specialist besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Accessibility Dynamic Type Specialist in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/artemnovichkov/xcode-skills/tree/main/skills/accessibility-dynamic-type-specialist ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Accessibility Dynamic Type Specialist nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Accessibility Dynamic Type Specialist verwenden?

So viele Sie möchten. In TypingMind können Sie Accessibility Dynamic Type Specialist mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Accessibility Dynamic Type Specialist kostenlos?

Der Skill wird von artemnovichkov auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇