About foundation
Foundation provides guidance for Apple-platform developers working with AttributedString and rich text, including SwiftUI integration. It routes users to focused skill documentation for formatting, alignment, and selection.
Key features
- 01AttributedString guidance
- 02Rich-text alignment and selection
- 03Styling and formatting patterns
- 04SwiftUI integration guidance
Use cases
- 01Formatting AttributedString content
- 02Implementing rich-text selection
- 03Integrating attributed text with SwiftUI
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ rshankras/ claude-code-apple-skills --skill foundationAfter installing, type/foundationin Claude Code to confirm it loaded.
Details
From the project READMEFoundation 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
- Read
attributed-string/SKILL.md(relative to this file) plus any reference files it lists. - Apply the guidance to the user's code. For TextEditor-based rich text editing UI, see also
../swiftui/text-editing/SKILL.md.
Comments
Markdown supported