foundation
Foundation framework skills — AttributedString patterns for rich text formatting, alignment, selection, and SwiftUI integration. Use when working with styled text or AttributedString APIs.
npx skills add rshankras/claude-code-apple-skills --skill foundation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Foundation Skills Foundation framework patterns for Apple platforms. ## When This Skill Activates Use this skill when the user: - Works with **AttributedString** (formatting, attributes, runs) - Needs **rich text** alignment, selection, or styling logic - Integrates attributed text with **SwiftUI** ## Available Skills Paths are relative to THIS file's directory — skills run with cwd set to the user's project, so resolve each path from this SKILL.md's own location. | Skill | Read | Covers | |-------|------|--------| | attributed-string | `attributed-string/SKILL.md` | AttributedString formatting, alignment, selection, SwiftUI integration | ## How to Route 1. Read `attributed-string/SKILL.md` (relative to this file) plus any reference files it lists. 2. Apply the guidance to the user's code. For TextEditor-based rich text editing UI, see also `../swiftui/text-editing/SKILL.md`.
- When This Skill Activates
- Available Skills
- How to Route
What does the foundation skill do?
Foundation framework skills — AttributedString patterns for rich text formatting, alignment, selection, and SwiftUI integration. Use when working with styled text or AttributedString APIs.
How do I install it?
Run `npx skills add rshankras/claude-code-apple-skills --skill foundation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
