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.
How do I install this agent skill?
npx skills add https://github.com/signerlabs/shipswift --skill add-componentIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill facilitates a safe workflow for integrating local SwiftUI components into a project. It strictly operates on local source files and catalogs without any network connectivity or external execution.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1 file scanned · No issues
What does this agent skill do?
Add Component from ShipSwift
Add production-ready SwiftUI components to your project from ShipSwift's local source library.
Workflow
-
Identify the component: Read
skills/catalog.mdto 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)
- "shimmer" / "loading skeleton" →
-
Read the source file: Read the Swift file from
ShipSwift/SWPackage/<path>. The file contains the complete implementation. -
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/+macOSfiles, set the platform filter in Xcode Build Phases
-
Verify: Walk through any dependencies or setup steps needed.
Guidelines
- Types use
SWprefix (SWDonutChart,SWTypewriter). - View modifiers use
.swprefix (.swShimmer(),.swGlowScan()). - Chart components use a generic
CategoryTypepattern withStringconvenience initializer. - Internal helper types should be
privatewithSWprefix. - Components in
SWAnimation/,SWChart/, andSWComponent/are each self-contained (single file + SWUtil). - Modules in
SWModule/are multi-file — copy the entire folder.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/signerlabs/shipswift/add-component">View add-component on skillZs</a>