add-component

>

INSTALLATION
npx skills add https://github.com/signerlabs/shipswift-skills --skill add-component
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

$27

-

Search for the recipe: Use searchRecipes with the component name or type. For example:

  • User says "add a donut chart" -> search "donut"
  • User says "add shimmer loading" -> search "shimmer"
  • User says "add authentication" -> search "auth"

-

Fetch the full recipe: Use getRecipe with the recipe ID to get the complete implementation, including:

  • Full Swift source code
  • Architecture explanation
  • Integration steps
  • Known gotchas

-

Integrate into the project: Adapt the recipe code to fit the user's project:

  • Match existing naming conventions
  • Connect to the user's data models
  • Adjust styling to match the app's design system

-

Verify integration: Walk through the recipe's integration checklist to ensure nothing is missed (dependencies, Info.plist entries, etc.).

Guidelines

  • Use SW-prefixed type names for ShipSwift components (e.g., SWDonutChart, SWTypewriter).
  • View modifier methods use .sw lowercase prefix (e.g., .swShimmer(), .swGlowScan()).
  • Charts components use a generic CategoryType pattern with String convenience initializer.
  • For chart animations, use the .mask() approach with animated Rectangle width via GeometryReader -- Swift Charts does not support built-in line draw animation.
  • Internal helper types should be private and use the SW prefix.
  • Add cornerRadius parameter when components clip content.
  • Support both struct initializer and View modifier API for overlay-type components.

Pro Recipes

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.

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card