DocsAI & MCP
Prompts that work well
Ways to ask a coding agent for SwipeUI screens that get good results the first time.
Agents do best when you describe the job, the feel and the constraints, and let the tools pick the items.
Describe the job, not the component
- ✅ "Add bottom navigation with four tabs and a centre action for creating a post."
- ❌ "Add tab-bar-action-morph."
Describing the job lets the agent compare candidates and read their "when not to use" notes.
Name the look and feel once
- "Use the cupertino preset with a springy feel across the app."
- "Keep glass to the navigation only."
If you use the design skill, these go in your profile, so you only say them once.
Ask for the checks
- "Run the SwipeUI audit on every screen you change and fix what it finds."
- "Check that each icon button has an accessibility label."
Examples
Build a settings screen with grouped list rows, a theme switch and a sign-out
action in a confirm sheet. Use our existing tokens and the default preset.Replace our home screen's tab bar with a SwipeUI floating tab bar that
minimises on scroll. Keep our four tabs and their icons.Add an onboarding carousel that hands off to our paywall. Respect Reduce
Motion and keep every string short enough for small phones.Today, without the MCP server
Use the Copy prompt button on any item page. It gives your agent the install command and the item's notes for AI tools.