Skip to content
Mobile
Skill

/add-component

Add a SwiftUI component from ShipSwift. 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.

From plugin
shipswift
3.3k3 skills

Claude Code

$ npx -y skills add signerlabs/shipswift --skill add-component --agent claude-code

SKILL.md

add-component.SKILL.md
name: add-component
description: >
  Add a SwiftUI component from ShipSwift. 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.

Add Component from ShipSwift

Add production-ready SwiftUI components to your project from ShipSwift's local source library.

Workflow

1. **Identify the component**: Read `skills/catalog.md` to find the right component. Common mappings:

  • "shimmer" / "loading skeleton" → `SWAnimation/SWShimmer.swift`
  • "donut chart" / "pie chart" → `SWChart/SWDonutChart.swift`
  • "alert" / "popup" → `SWComponent/Feedback/SWAlert.swift`
  • "auth" / "login" → `SWModule/SWAuth/` (all files)
  • "camera" → `SWModule/SWCamera/` (all files)

2. **Read the source file**: Read the Swift file from `ShipSwift/SWPackage/<path>`. The file contains the complete implementation.

3. **Integrate into the project**:

  • Copy the file(s) into the user's project
  • Also copy `SWUtil/` if not already present
  • Adapt naming, colors, and data models to match the project
  • For `+iOS`/`+macOS` files, set the platform filter in Xcode Build Phases

4. **Verify**: Walk through any dependencies or setup steps needed.

Guidelines

  • Types use `SW` prefix (`SWDonutChart`, `SWTypewriter`).
  • View modifiers use `.sw` prefix (`.swShimmer()`, `.swGlowScan()`).
  • Chart components use a generic `CategoryType` pattern with `String` convenience initializer.
  • Internal helper types should be `private` with `SW` prefix.
  • Components in `SWAnimation/`, `SWChart/`, and `SWComponent/` are each self-contained (single file + SWUtil).
  • Modules in `SWModule/` are multi-file — copy the entire folder.
Read more
@signerlabs
Ships withshipswift

AI-native SwiftUI component library — production-ready code that LLMs can use to build real apps. Quick Start · Components · Custom Dev — $5K, 4 weeks · Skills

Stars on GitHub

Momentum

stars in total
3.3k
Star history of signerlabs/shipswift on GitHub, a chart by star-history.com

Other skills on shipswift.

build-feature

build-feature

Build an iOS feature using ShipSwift components. Use when the user says "build", "create", "add a feature", or describes an iOS…

explore-skills

explore-skills

Explore and browse available ShipSwift components. Use when the user says "explore", "browse", "show skills", "list components",…

More skills from other plugins.

deep-code-review

deep-code-review

In-depth design-focused code review - understands codebase context before evaluating PR changes, posts structured feedback to…

expo13d53k
@expo@expoInstall Skill
modlens

modlens

Plug-in vision for text-only models. Hard rule: when a file path or URL with an image extension (.png, .jpg, .jpeg, .webp, .gif,…

modlens4w4.6k
@liustack@liustackInstall Skill
appllama-app-design-skill

appllama-app-design-sk…

Build native-feeling, benchmark-quality mobile app screens (Expo / React Native). Use when designing or implementing any mobile…

appllama2mo3.9k
@appllama@appllamaInstall Skill

Questions about add-component.

Which coding agents can use add-component?
add-component installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.