mcpbeat

Foundation

rshankras/foundation

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

3k tokens
context cost
the whole folder, loaded on every use
2
files
instructions only
0
copies elsewhere
how many repositories repackaged it
585
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/rshankras/claude-code-apple-skills --skill foundation

The instruction itself

4 sections, as written by the author

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

  • 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.

How to use it

Copy the folder

Take rshankras/foundation from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.