Rebrand
Move an existing SwiftUI app onto Swift Pieces tokens and a brand preset, one screen at a time.
swiftpieces-tool-rebrand/SKILL.md
Rebrand
- 01The core idea
- 02Inventory the literals
- 03Install the design system
- 04Map literals to tokens
- 05Choose the brand
- 06Migrate screen by screen
- 07Verify each screen
npx swiftpieces add tool-rebrandA migration your agent runs on an app you already have: inventory the hardcoded colours, fonts, spacing and radii, map each to a design-system token, apply a brand preset, and verify every screen in light, dark and the largest text size before moving on.
What is inside
The 8 sections your agent reads, in order.
- 01The core idea
- 02Inventory the literals
- 03Install the design system
- 04Map literals to tokens
- 05Choose the brand
- 06Migrate screen by screen
- 07Verify each screen
- 08Pitfalls
The skill
Pairs with
Written to combine: a style for the look, a brief for the contents, a recipe for the screens.
Changelog
- v1.0.02026-09-18Initial release.
Licensed for your own and your clients' apps under the Swift Pieces Pro license. Sharing, reselling or publishing the text of this tool is not permitted.