Tooluck logoTooluck
SKILL.md

foundation

Agent skill fromrshankras/claude-code-apple-skills

Foundation framework skills — AttributedString patterns for rich text formatting, alignment, selection, and SwiftUI integration. Use when working with styled text or AttributedString APIs.

How to install foundation

install foundation
# install the claude-code-apple-skills pack with the skills CLI
npx skills add rshankras/claude-code-apple-skills

# or add only this skill to Claude Code: copy the folder

skills/foundation/

# into

~/.claude/skills/foundation/ (all projects)

.claude/skills/foundation/ (one project)

skills/foundation/SKILL.md

MITFull file
1# Foundation Skills
2
3Foundation framework patterns for Apple platforms.
4
5## When This Skill Activates
6
7Use 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
14Paths are relative to THIS file's directory — skills run with cwd set to the
15user'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
231. Read `attributed-string/SKILL.md` (relative to this file) plus any reference files it lists.
242. Apply the guidance to the user's code. For TextEditor-based rich text editing UI, see also `../swiftui/text-editing/SKILL.md`.

Excerpt shown under the repository's MIT license.

More skills in claude-code-apple-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

pbakaus /

impeccable
108k

The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

2 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates