Install any skill in seconds. Free to start, no credit card required.
Get Started Free →rshankras/foundation
Foundation framework skills — AttributedString patterns for rich text formatting, alignment, selection, and SwiftUI integration.
Passed 20 of 22 test cases with the skill, and 18 of 22 without it.
2 fixed18 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
I need to iterate through an `AttributedString`'s runs, transform text in runs matching a specific attribute, and reassemble the attributed string. What is the pattern for mutating or transforming runs in Swift?
| Checked | Without skill | With skill |
|---|---|---|
| Modifies runs directly using AttributedString's mutable runs collection. | Missed | Passed |
The instructions your model reads when the skill loads.
Foundation framework patterns for Apple platforms.
Use this skill when the user:
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 |
attributed-string/SKILL.md (relative to this file) plus any reference files it lists.../swiftui/text-editing/SKILL.md.test cases passed, vs 18 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.