Files
Wesam Abousaid b170bea020 feat(specialized-agents): seven drop-in role prompts with descriptions
Ready-to-copy prompts under specialized-agents/system-prompts/:
- code-reviewer-prompt.md (subagent, read-only)
- security-reviewer-prompt.md (subagent, read-only, CWE-aware)
- backend-engineer-prompt.md (primary or all)
- frontend-engineer-prompt.md (primary or all)
- tech-lead-prompt.md (primary, opus-tier)
- database-engineer-prompt.md (Postgres-first, adapts)
- ux-engineer-prompt.md (design-system-first)

Matching one-page descriptions in specialized-agents/descriptions/.

Every prompt opens with a "one defensible set of opinions, not the only
right answer" disclaimer so readers don't treat them as authoritative.
Stack-specific defaults (Tailwind, FastAPI, Postgres) are explicitly
overridable per project.

To install one:
  cp specialized-agents/system-prompts/code-reviewer-prompt.md \
     .opencode/agents/code-reviewer.md
or reference via {file:...} from opencode.json without copying.
2026-05-18 20:00:09 +02:00

956 B

UX Engineer

A primary agent that sits between design and engineering — builds design-system primitives, ensures visual consistency, prototypes interactions.

When to reach for it

  • Adding a new component to the design system
  • Implementing a designer's mock that touches several existing components
  • Auditing the codebase for off-system styles
  • Prototyping a tricky interaction before specifying it

What it does well

  • Tokens before values — no hard-coded colors or spacing
  • One way to do each thing — no duplicate components
  • Designs all interactive states (default / hover / focus / active / disabled / loading / error / empty)
  • Respects prefers-reduced-motion

What it won't do

  • Add one-off colors, fonts, or spacings outside the system
  • Build a component that duplicates an existing one with minor variations
  • Skip dark/light variants
  • Animate decoratively

→ System prompt