swiftui-microinteractions
Installation
SKILL.md
Generate a complete, compilable SwiftUI animation file in the legendary-Animo style. No placeholders. No TODO comments.
When to Use
- Building a SwiftUI button, gesture, slider, or liquid effect with premium physics
- Need haptic feedback timed correctly to animation phases
- Creating a drag interaction with resistance, snap, or threshold trigger
- Animating SF Symbols with draw-on, breathe, bounce, replace, or variable color effects (iOS 17–26)
- Building a Canvas loader that traces a shape outline with a comet trail (infinity, star, polygon…)
- Editing an existing SwiftUI animation file
Mode Detection
- Edit mode: prompt contains "edit", "update", "add X to", "change", or a
.swiftfilename → read file first, change only what's asked, overwrite file on disk - Create mode: everything else → generate a new complete file and write it to disk
Intent Inference (runs before code generation)
Before generating any code, parse the prompt for under-specified details and resolve them to defaults. Print a 🔍 Inferred from prompt: block so the user can see — and override — what was auto-resolved. Only print lines that were actually inferred (not ones the user explicitly stated).