Agent skill

foundation

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

rshankrasgithub.com/rshankrasGitHub ↗
claude-coderead-onlyMIT
Install
npx skills add rshankras/claude-code-apple-skills --skill foundation --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 1 KB
Bundled scripts: none
Allowed tools: ReadGlobGrep
Path: skills/foundation/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 589
Language: Swift

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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`.

What's inside
Steps it walks through
  1. When This Skill Activates
  2. Available Skills
  3. How to Route
Ships with 1 file
  • attributed-string/SKILL.md
More from claude-code-apple-skills
All skills →
About this skill
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.

Keep going