agentleFS
SZolothSZoloth/skill-pack/skills/design-swarm/SKILL.md

design-swarm

Skill14 starsChanged 3 months agoMITView on GitHub

Orchestrate a team of 10 design agents for holistic UI audit, ideation, and implementation. Use when: "design swarm", "holistic audit", "design review with all lenses", "full design analysis". Modes: audit, ideate, implement (any combination). Targets: screenshots, URLs, file paths, or text briefs.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When invoked, follow these steps exactly:

    line 19
  2. Distinctive:

    After all phases complete:

    line 129
  3. Very specific:

    Call TeamDelete to clean up

    line 131
  4. Distinctive:

    Parallel execution: All agents within a phase run simultaneously.

    line 167

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Design Swarm

Orchestrate 10 specialized design agents — each embodying a different skill/lens — to run holistic audits, ideation sessions, and implementations in parallel.


Orchestration Flow

When invoked, follow these steps exactly:

1. Parse Arguments

Extract from the invocation:

  • Modes: One or more of audit, ideate, implement (default: audit if none specified)
  • Target: The thing to evaluate — one of:
    • Screenshot path (.png, .jpg, .webp)
    • URL (http:// or https://)
    • File path (code file)
    • Text brief (quoted description of an interface)

2. Detect Target Type

SignalTypeNotes
.png, .jpg, .webp, .gifscreenshotRead the image directly
http://, https://urlUse browser tools to snapshot the page
Existing file pathcodeRead the file(s)
Everything elsebriefTreat as text description

3. Load Orchestration Context

Read these files:

  • modules/orchestrator.md — synthesis logic, conflict resolution, final report template
  • references/scoring-rubric.md — universal 1-10 scale
  • references/agent-weights.md — default weights for composite scoring

4. Create Team

TeamCreate(team_name: "design-swarm", description: "Holistic design audit/ideation/implementation")

5. Execute Phases

For each requested mode, in order (audit → ideate → implement):

Phase: Audit

  1. Determine participating agents (see orchestrator.md Phase Gating):
    • Screenshot-only: skip baseline-ui
    • Code-only: all 10
    • URL: all 10 (snapshot first, then inspect code if accessible)
    • Brief: all 10 (theoretical assessment)
  2. Create tasks via TaskCreate — one per participating agent
  3. Spawn agents in parallel via Task tool. For each agent:

    a. Read the agent template: modules/agents/<agent-name>.md b. Read the source knowledge file(s) listed in the template's "Source Knowledge" section c. Construct the agent prompt by combining:

    • The full agent template (structure + evaluation criteria)
    • The full source knowledge content
    • The target context (screenshot/URL snapshot/code/brief)
    • Mode: "audit"
    • The scoring rubric content
    • Instructions to mark task complete and send report via SendMessage to "team-lead"
    Task(
      name: "<agent-name>",
      team_name: "design-swarm",
      subagent_type: "general-purpose",
      run_in_background: true,
      prompt: [constructed prompt above]
    )
  4. Wait for all agents to complete (they'll send reports via SendMessage)
  5. Synthesize per orchestrator.md:
    • Collect all reports
    • Deduplicate findings
    • Aggregate by severity
    • Compute weighted composite score
    • Identify and resolve conflicts
    • Generate the final audit report
  6. Present the synthesized audit report to the user

Phase: Ideate

  1. Create tasks for each agent (blocked by audit synthesis if audit was run)
  2. Spawn agents with the same process as audit, but:
    • Mode: "ideate"
    • Include the synthesized audit findings in each agent's prompt
    • Each agent proposes improvements through their specific lens
  3. Synthesize ideation proposals:
    • Merge overlapping proposals
    • Categorize by impact/effort matrix
    • Produce prioritized improvement roadmap
  4. Present the improvement roadmap to the user

Phase: Implement

  1. Spawn a single general-purpose agent with:
    • The full synthesized audit report
    • The prioritized improvement roadmap
    • References to all relevant source skill files
    • Instructions to implement changes in priority order (critical → serious → moderate → minor)
  2. Present implementation results to the user

6. Shutdown

After all phases complete:

  1. Send shutdown_request to all active agents
  2. Call TeamDelete to clean up

Agent Reference

AgentLensWeightTemplateSource Knowledge
craft-philosophyPrincipled reasoning, tiebreaker1.5modules/agents/craft-philosophy.md~/.claude/skills/design-craft/modules/craft-philosophy.md, ~/.claude/skills/craft-philosophy/SKILL.md
foundationsColor, type, spacing, tokens1.0modules/agents/foundations.md~/.claude/skills/design-craft/modules/foundations.md
interactionForms, gestures, physics, a11y1.0modules/agents/interaction.md~/.claude/skills/design-craft/modules/interaction.md
compositionLayout, IA, content strategy1.0modules/agents/composition.md~/.claude/skills/design-craft/modules/composition.md
critique5-step systematic evaluation1.2modules/agents/critique.md~/.claude/skills/design-craft/modules/critique.md
interface-craftAnimation DSL, polish0.8modules/agents/interface-craft.md~/.agents/skills/interface-craft/SKILL.md
baseline-uiConstraint enforcement1.0modules/agents/baseline-ui.md~/.agents/skills/baseline-ui/SKILL.md
frontend-designVisual aesthetics1.0modules/agents/frontend-design.md~/Documents/samos/.claude/skills/frontend-design/SKILL.md
accessibilityWCAG, ARIA, focus1.2modules/agents/accessibility.md~/.agents/skills/fixing-accessibility/SKILL.md, ~/.claude/skills/design-craft/modules/interaction.md
motionMotion principles + performance0.8modules/agents/motion.md~/.local/share/claude-tools/design-motion-principles/skills/design-motion-principles/SKILL.md, ~/.agents/skills/fixing-motion-performance/SKILL.md

Usage Examples

/design-swarm audit ~/Desktop/screenshot.png
/design-swarm audit ideate https://example.com
/design-swarm audit ideate implement ./src/components/Settings.tsx
/design-swarm ideate "dark mode settings panel with toggle, theme preview, and schedule"
/design-swarm audit implement ./src/pages/Dashboard.tsx

Important Notes

  • Runtime knowledge loading: Agent templates are compact. Source knowledge is read fresh from canonical skill files at spawn time. This prevents knowledge duplication and ensures agents always use the latest skill content.
  • Parallel execution: All agents within a phase run simultaneously. Phases run sequentially when chained.
  • Conflict resolution: The craft-philosophy agent (weight 1.5) serves as tiebreaker. See orchestrator.md for the full protocol.
  • Partial modes: Any combination of modes is valid. ideate without prior audit uses the target directly (no findings context). implement without ideate applies audit findings directly.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.