
Agent Skills for Apple's text stack: TextKit 1 and 2, UITextView, NSTextView, AttributedString, Core Text, Writing Tools, and the iOS 26 SwiftUI TextEditor.
# Any agent (Vercel skills CLI)
npx skills add sitapix/apple-text
# Claude Code
/plugin marketplace add sitapix/apple-text
/plugin install apple-text@apple-text
For Claude Code installs, prefix slash commands with apple-text: (e.g., /apple-text:txt-audit).
Phrasings that route to the right skill, including ones that don't name the API.
| Prompt |
Triggers |
| "Writing Tools stopped showing the inline rewrite animation — only the floating panel opens now. Started after we added a custom NSTextStorage." |
txt-fallback-triggers |
| "Lines in our editor sometimes render half-drawn — descenders chopped, characters bleeding into the next paragraph." |
txt-textkit-debug |
| "Cursor jumps to the end every time my SwiftUI binding pushes new text into the wrapped UITextView." |
txt-wrap-textview |
| "Cmd-Z undoes one character at a time after a paste — should be one step." |
txt-undo |
| "Diacritics get clipped at the top of my custom NSTextLayoutFragment." |
txt-viewport-rendering |
| "boundingRect returns a single-line size for multi-line text." |
txt-measurement |
| "Cursor jumps unpredictably when I type Arabic mixed with English." |
txt-bidi |
| "VoiceOver skips punctuation in our code editor." |
txt-accessibility |
| Prompt |
Triggers |
| "How do I add a placeholder to UITextView?" |
txt-snippets |
| "Wrap article text around an inline circular thumbnail." |
txt-exclusion-paths |
| "Add cmd-F find UI to my UITextView with replace-all." |
txt-find-replace |
| "Drop an image into my editor as an inline attachment." |
txt-drag-drop |
| "Rewrite is mangling code blocks in our doc editor — protect them from Writing Tools." |
txt-writing-tools |
| "Bind AttributedString to TextEditor on iOS 26 with a formatting toolbar." |
txt-swiftui-texteditor |
| "Building a canvas-based code editor and the keyboard / autocorrect / magnifier are wrong." |
txt-uitextinput |
| Prompt |
Triggers |
| "Review our text-editor module before we ship — flag fallback risks and deprecated APIs." |
txt-audit |
| "Refresh the skills against current Apple docs now that Xcode 26.4 is out." |
txt-refresh-against-sosumi |
"Look up the current AttributedString(markdown:) initializer signature." |
txt-apple-docs |
AGENTS.md covers authoring rules, anti-patterns, and the freshness contract. references/topic-boundaries.md explains sibling splits. Skill content links to sosumi.ai instead of developer.apple.com (the latter renders with JavaScript and returns a stub to non-browser fetches).