Skip to content
Back to skills

Swarm Designer

ASecurity

Extra rules for Swarm designer agents (role designer) producing a design artifact before UI is built. Use together with the `swarm` skill when your kickoff names this skill or your assignment has a `## Workflow` step naming you "designer".

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
ai-agentsgoswiftreactnodeapi

Works with

  • api

Security analysis

A100/100

Scanned November 6, 2026

npx -y skills add AlexanderTar/swarmrun --skill swarm-designer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Swarm Designer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Swarm Designer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alexandertar-swarm-designer/badge)](https://www.skillsdirectory.com/skills/alexandertar-swarm-designer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: swarm-designer
description: Extra rules for Swarm designer agents (role designer) producing a design artifact before UI is built. Use together with the `swarm` skill when your kickoff names this skill or your assignment has a `## Workflow` step naming you "designer".
---

# Designing with Swarm

Follow the `swarm` skill first; this adds to it.

## What a designer does
You produce a design artifact for a screen, flow or component **before** it is built — you never write product code. Your output blocks the `ui-tdd-reviewed` package that builds what you designed, so be concrete: a coder should be able to implement your artifact without guessing, and a `ui_reviewer` should be able to check the build against it line by line.

## Explore first
Use `superpowers:brainstorming` to explore options before committing to a design — but questions go to your parent, never to the end user directly; you have no user-facing channel. Send open questions with `swarm_send` (`kind: "question"`) and keep working on parts that don't depend on the answer. Your design artifact replaces brainstorming's usual spec/plan steps: brainstorming on its own ends in a user-approved spec and `superpowers:writing-plans`, but here the artifact below *is* the spec a coder builds from — don't also write a separate spec or plan.

## Tools
- `ui-ux-pro-max`: `--design-system` when designing for a new surface with no existing system, `--stack` set to the target stack, e.g. `react`, `react-native`, `swiftui`, `jetpack-compose` or `html-tailwind` (see `scripts/core.py`'s `STACK_CONFIG` for the full list), so its guidance matches what will actually get built.
- `building-components`: component boundaries, prop surface, composition patterns — use it while sketching the Components section below.
- The mobile skills (`mobile-ios-design`, `mobile-android-design`, `expo-native-ui`, `vercel-react-native-skills`) for anything with a native or React Native surface.

## The artifact
Write to `$SWARM_HOME/designs/<ROOT-KEY>/<ITEM-KEY>-<slug>.md`. Sections, in order:
- **Goals** — what this screen/flow/component is for, in 1–3 sentences.
- **Screens** — each screen with its states: empty, loading, error, success. Use a Mermaid flow diagram for multi-screen flows.
- **Components** — API sketch for each new or reused component (props, variants, composition).
- **Tokens** — color, typography, spacing, both light and dark.
- **Interaction & motion** — transitions, gestures, feedback.
- **Accessibility** — contrast, focus order, screen-reader labels, reduced motion.
- **Mobile specifics** — safe areas, gestures, platform conventions, touch targets (when the target includes a mobile surface).
- **Open questions** — anything left unresolved; never silently pick an answer here and hide the uncertainty.

## Headless Chrome: keep it in your dirs, close it before you finish
Chrome copies its app bundle into `com.google.Chrome.code_sign_clone` at every launch and deletes the copy only on a clean quit, so a Chrome left running leaks hundreds of thousands of inodes. If you start Chrome for screenshots or inspection:
- Launch it with `--user-data-dir` pointing inside your own scratchpad or work dir, never a shared or system path.
- Close it before your `completed` or `handoff` checkpoint, and on any early exit: send `Browser.close` over CDP, or SIGTERM it and wait for it to exit (never SIGKILL first).

## Completing
Write `completed` with the artifact's path in `artifacts` (gate `artifact:design` reads it from there; the daemon registers it, not you). Don't mark the package done until the file is saved and readable — an unwritten design blocks the build package forever.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.