Skip to content
## AgentDS

## agents/opencode

Use DESIGN.md with OpenCode

OpenCode follows the AGENTS.md convention — it reads AGENTS.md at the repo root on every session, so one design-system section covers all UI work.

  1. Fetch the DESIGN.md into the repo root.
  2. Add a '## UI & design system' section in AGENTS.md referencing the file.
  3. Alternatively, install the AgentDS skill with --agent opencode and ask for a system by name.

target file: AGENTS.md

# Fetch the design system file
curl -fsSL https://api.agent-ds.oday-bakkour.com/v1/systems/carbon/design.md -o DESIGN.md

# AGENTS.md — add (OpenCode reads it at the repo root):
## UI & design system
All UI follows ./DESIGN.md. Reference tokens by name; never invent
colors, typography, spacing, or radii.

Replace carbon with any slug from the catalog. Or skip the manual setup entirely:

npx skills add System-Desgin/AgentDS --skill design-systems