foundation

v2026.09.24

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

GitHub
Install command
npx skhub add rshankras/foundation
Markdown
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.

SkillReadCovers
attributed-stringattributed-string/SKILL.mdAttributedString 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.
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

MIT

Source path

skills/foundation

Default branch

main

Latest commit

9ffb831

Tree SHA

9cacb32