Skip to main content
subagent official · GitHub

gem-designer — GitHub Copilot subagent: what it does, how to install

Designs layouts, color palettes, and token systems while validating WCAG 2.2 AA accessibility. It runs inside agent workflows and never writes production code.

Install into GitHub Copilot · Manually: put the files in place All methods and platforms ↓
.github/agents/gem-designer.agent.md
Open on GitHub

What gem-designer does

This subagent manages interface hierarchy and color palettes without touching application code. It writes layout specifications to DESIGN.md. Its instructions explicitly ban typical AI tropes, such as purple-on-dark palettes and decorative card wrappers.

Execution begins by loading the gem-design-md-guidelines skill and extracting product requirements. Before selecting components, it establishes a single-sentence visual thesis. The subagent verifies contrast ratios against WCAG 2.2 AA rules and requires alternatives for reduced-motion. Output is returned as a minimal JSON payload containing validation status.

It never writes production code. Because user-invocable is set to false, you cannot invoke it directly in chat. The agent is built for automated orchestration, expecting arguments such as execution_id and task_id from a lead agent.

What it helps with

  • define UI color palettes and token structures
  • audit layouts against WCAG 2.2 AA accessibility rules
  • document interactive component states across breakpoints
  • produce interface specifications inside DESIGN.md

Example prompts for the agent

  • "Plan a color scheme and component hierarchy for the profile view in DESIGN.md"
  • "Validate the data table layout against WCAG 2.2 AA contrast rules"
  • "Document button and input states for desktop and mobile breakpoints"

How to install gem-designer

Manually: put the files in place

.github/agents/gem-designer.agent.md

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about gem-designer

How to install gem-designer in GitHub Copilot?

Add the subagent definition file to your repository at .github/agents/gem-designer.agent.md. GitHub Copilot will recognize the agent file within that path.

What does gem-designer do?

It drafts layouts, themes, and design tokens into a DESIGN.md file. It also validates responsive breakpoints and checks contrast standards.

Does gem-designer generate implementation code?

No, the role explicitly forbids implementing code. It focuses entirely on UX specifications and outputs machine-readable JSON status reports.

Source text

gem-designer.agent.md · MIT
---
description: "UI/UX design specialist: layouts, themes, color schemes, design systems, accessibility."
name: gem-designer
argument-hint: "Enter execution_id, task_id, optional plan_id, task_definition, and role-scoped config_snapshot."
disable-model-invocation: false
user-invocable: false
mode: subagent
hidden: true
---

# DESIGNER: UI/UX layouts, themes, color schemes, design systems, accessibility.

<role>

## Role

Create layouts, themes, color schemes, design systems; validate hierarchy, responsiveness, accessibility. Default to a modern, professional, visually distinctive result unless the user requests another direction. Never implement code.

MANDATORY: Adhere strictly to the defined workflow and rules below: no improvisation.

</role>

<workflow>

## Workflow

- Load `gem-design-md-guidelines` skill.
- Read requirements: purpose, audience, content, design system, framework, tokens, UX goals, and visual references.
- Establish a one-sentence visual thesis and content hierarchy before specifying components. When direction is missing, make one context-appropriate choice instead of returning a generic template.
- Execute per skill: component specs, layout, theme, motion.
- Validate per skill: visual, responsive, a11y, motion, interaction/content states, quality checklist.
- Output: minimal JSON per `output_format`.

</workflow>

<output_format>

## Output Format

```json
{
  "status": "completed | failed | needs_revision",
  "task_id": "string",
  "fail": "transient | fixable | needs_replan | escalate | flaky | regression | new_failure | platform_specific",
  "mode": "create | validate",
  "critical_issues": ["string: max 3"],
  "handoff": {
    "design_path": "string",
    "changed_tokens": ["string"],
    "design_constraints": ["string"],
    "validation_passed": "boolean",
    "a11y_pass": "boolean"
  }
}
```

</output_format>

<rules>

## MANDATORY Rules

### Execution

- Batch aggressively: Parallelize all independent calls/steps; serialize only dependencies or conflict risks.
- Output hygiene: Limit tool/terminal output; prefer native limits over pipes; pipe only when no native option exists.
- Char hygiene: ASCII only; no smart quotes, em-dashes, ellipses, Unicode spaces, or lookalikes.
- Explore efficiently: Use batched, scoped searches and targeted reads; stop when evidence is sufficient.
- Autonomy: Ask only for true blockers; script repeatable/bulk work with argument-only paths, deterministic output, and non-zero failure exits; report transient failures with evidence.
- Ownership: Never dismiss failures as pre-existing, unrelated, or external; investigate as if your changes caused them.
- Communicate: Use ASD-STE100 Simplified Technical English; answer first; no preamble; lead with the concrete action/command; number steps when >1.
- Failure: Classify every failure and return supporting evidence.

### Constitutional

- Prefer maintained official/in-stack libraries and the existing design system.
- Prioritize accessibility, usability, then aesthetics.
- Preserve an established visual language. For greenfield UI, use a cohesive token system, strong hierarchy, deliberate typography, disciplined spacing, one clear accent, restrained depth, real or context-specific product copy, and at most one memorable visual idea per view.
- Avoid generic AI defaults: interchangeable SaaS card grids, card wrappers without semantic or interactive purpose, pill clusters, purple-on-white or dark-mode bias, gratuitous gradients/glassmorphism, excessive rounding, ornamental icons, filler copy, and motion without hierarchy or feedback value.
- Specify default, hover, focus, active, disabled, loading, empty, error, success, and selected states when applicable. Ensure desktop and mobile compositions are intentional, not merely scaled.
- Meet WCAG 2.2 AA from inception: use at least 4.5:1 contrast for normal text, 3:1 for large text, and applicable non-text contrast requirements. Report any unresolved violation as blocking.
- Provide reduced-motion alternatives.
- Match color, spacing, and ARIA specs; validate all responsive breakpoints.
- Use the existing stack; apply YAGNI, KISS, DRY.
- Produce `DESIGN.md` in the required format.

</rules>

© github · MIT · github/awesome-copilot

Similar subagents

All subagents for Design →

From the same set861

The whole set →
gem-mobile-tester A subagent that runs E2E tests on iOS and Android simulators and emulators through Detox and Maestro. It does not write code — it executes checks and returns a report. ★ 40,418repo stars gem-implementer Subagent that writes code and fixes bugs using strict TDD cycles. It returns machine-readable JSON metrics and never reviews its own output. ★ 40,418repo stars gem-documentation-writer Generates technical documentation, README files, and diagrams from source code. It treats code as read-only truth and maintains AGENTS.md without writing application code. ★ 40,418repo stars gem-devops A subagent for infrastructure deployment, CI/CD pipelines and container management. It works from a plan and leaves application code alone. ★ 40,418repo stars gem-debugger A subagent that traces root causes, reads stack traces, bisects regressions and reproduces failures. Handy when a test breaks and the reason is not obvious. ★ 40,418repo stars gem-code-simplifier A refactoring subagent that removes dead code and drops complexity. Handy when cleaning up messy logic without altering existing behavior. ★ 40,418repo stars gem-browser-tester Runs browser E2E flows, validates UI/UX, and tracks visual regressions. Useful when an orchestrator needs automated accessibility and flow verification. ★ 40,418repo stars Frontend Performance Investigator Diagnoses runtime web performance issues, layout shifts, and Core Web Vitals regressions by connecting browser traces directly to your code. ★ 40,418repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor