$npx -y skills add rshankras/claude-code-apple-skills --skill foundationFoundation framework skills — AttributedString patterns for rich text formatting, alignment, selection, and SwiftUI integration. Use when working with styled text or AttributedString APIs.
| 1 | # Foundation Skills |
| 2 | |
| 3 | Foundation framework patterns for Apple platforms. |
| 4 | |
| 5 | ## When This Skill Activates |
| 6 | |
| 7 | Use this skill when the user: |
| 8 | - Works with **AttributedString** (formatting, attributes, runs) |
| 9 | - Needs **rich text** alignment, selection, or styling logic |
| 10 | - Integrates attributed text with **SwiftUI** |
| 11 | |
| 12 | ## Available Skills |
| 13 | |
| 14 | Paths are relative to THIS file's directory — skills run with cwd set to the |
| 15 | user's project, so resolve each path from this SKILL.md's own location. |
| 16 | |
| 17 | | Skill | Read | Covers | |
| 18 | |-------|------|--------| |
| 19 | | attributed-string | `attributed-string/SKILL.md` | AttributedString formatting, alignment, selection, SwiftUI integration | |
| 20 | |
| 21 | ## How to Route |
| 22 | |
| 23 | 1. Read `attributed-string/SKILL.md` (relative to this file) plus any reference files it lists. |
| 24 | 2. Apply the guidance to the user's code. For TextEditor-based rich text editing UI, see also `../swiftui/text-editing/SKILL.md`. |