界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

foundation

foundation

【开发与工程】Foundation framework skills — AttributedString patterns for rich text formatting, alignment, selection, and SwiftUI integration. Use when working with styled text or AttributedString APIs.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: foundation description: Foundation framework skills — AttributedString patterns for rich text formatting, alignment, selection, and SwiftUI integration. Use when working with styled text or AttributedString APIs. allowed-tools: [Read, Glob, Grep] last_verified: 2026-07-16 review_by: 2027-06-22

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.
我的收藏