npx skills add ...
npx skills add signerlabs/shipswift-skills --skill add-component
Add a SwiftUI component from ShipSwift recipes. Use when the user says "add component", "add a view", "add X view", "I need a chart", "add animation", or wants a specific UI element.
npx skills add signerlabs/shipswift-skills --skill add-component
Add production-ready SwiftUI components to your project using ShipSwift's recipe library. Each recipe is a complete, copy-paste-ready implementation with architecture documentation.
Before starting, verify the ShipSwift recipe server is available by calling listRecipes.
If the tools are not available, guide the user to visit shipswift.app for setup instructions, or run npx skills add signerlabs/shipswift-skills to install.
Identify the component type: Determine what kind of component the user needs:
Search for the recipe: Use searchRecipes with the component name or type. For example:
Fetch the full recipe: Use getRecipe with the recipe ID to get the complete implementation, including:
Integrate into the project: Adapt the recipe code to fit the user's project:
Verify integration: Walk through the recipe's integration checklist to ensure nothing is missed (dependencies, Info.plist entries, etc.).
SW-prefixed type names for ShipSwift components (e.g., SWDonutChart, SWTypewriter)..sw lowercase prefix (e.g., .swShimmer(), .swGlowScan()).CategoryType pattern with String convenience initializer..mask() approach with animated Rectangle width via GeometryReader -- Swift Charts does not support built-in line draw animation.private and use the SW prefix.cornerRadius parameter when components clip content.Some recipes require a Pro license ($89 one-time). If a recipe returns a purchase prompt, the user can buy at shipswift.app/pricing and set SHIPSWIFT_API_KEY in their environment.