---
title: "Agent workflows"
description: "Brief agents for Figma, brand books, wireframes, upgrades and repeatable QA."
requested_language: nl
language: en
translation_notice: "This page isn't translated yet"
url: https://docs.systhema.app/nl/next/ai-agents/workflows
version: unreleased (main)
docs_index: https://docs.systhema.app/nl/next/llms.txt
---
> This page isn't translated yet. Showing English.


Give an agent the design source, content requirements and acceptance checks. Let it inspect the project before it changes structure. These workflows apply to consumer sites, not development of the Systhema monorepo.

## Establish context first

Ask the agent to confirm the project and installed core version, read the token index and config, then look up relevant APIs in version-matched docs. Use the [conventions](conventions.md) as acceptance criteria.

```text title="Project discovery brief"
Work in this Systhema client site. Read its package.json, installed core version,
systhema.config.ts and token index. If references are missing, run the project's
sync script and read them again. Inspect existing routes and components before
changing the layout. Report which docs version you use.
```

## Build from a Figma file

Provide the exact frames or node IDs, approved assets and a Systhema token export. Token values come through the plugin export; the Figma frames determine structural composition.

```text title="Figma implementation brief"
Implement the supplied Home and Services frames in this Systhema Payload project.
Use the supplied Systhema DTCG export as the design source. Sync after importing
it and read the resulting project references. Map the frames to shipped Systhema
components and native Payload blocks. Use named variants. Keep ordinary content
editable in page blocks. Report missing assets or missing exported modes rather
than substituting raw CSS values. Verify public rendering and live preview.
```

Use `systhema:from-figma-to-code` and `systhema:using-react-components`. A raster mockup without variables is a visual reference, not an authoritative token export. Ask for the design inputs or agree on a separate design pass.

## Build from a brand book

Extract primary and accent colors, neutrals, fonts, logos and intended tone. Identify whether font files are supplied and licensed. Generate the design before styling JSX.

```text title="Brand-book brief"
Build the company site described in this brief using the Payload starter.
Extract brand inputs from the supplied brand book. List uncertain inputs first.
Use systhema design to generate the color system, typography and layout.
Model secondary colors as palettes unless the design requires a full mode.
Review the design diff and contrast checks before applying. Compose pages from
Systhema components and editable native blocks. Explain any font substitution.
```

Use `systhema:design` and, where visual decisions are still open, `systhema:frontend-development`. The [Design CLI guide](design-cli.md) gives the inspect, refine and apply loop.

## Wireframe first

When the brief is about hierarchy, use defaults and approve page structure before branding.

```text title="Wireframe brief"
Create a wireframe for Home, Services, About and Contact with the existing default
tokens. Validate section order, page purposes and primary actions. Do not add
custom CSS, token overrides or brand fonts. Use token-backed media placeholders
and real Systhema components. Keep dark theme switching out of this wireframe.
Wait for structure review before the design pass.
```

Use `systhema:creating-wireframes`. After approval, move to design tokens without replacing the approved content model.

## Upgrade with notes

```text title="Upgrade brief"
Read the installed version and request get_upgrade_notes for the target version.
Review the affected changes before running systhema upgrade --dry-run.
Explain the file plan and database lane. Rehearse against a database copy.
Do not authorize database writes on my behalf. Verify stored content, custom
blocks, preview, forms, locales and publishing after applying approved changes.
```

Use `systhema:cli` and the [upgrade recipe](https://docs.systhema.app/nl/next/guides/recipes/upgrading-a-client-site.md). Include the exact target version in the actual command.

## Run a QA loop

1. Type-check and lint after the change.
2. Render the affected page, using an existing dev server or an authorized build.
3. Inspect the actual viewport, computed layout and console errors.
4. Compare the page with the approved frame or brief.
5. Fix composition and tokens before adding CSS exceptions.
6. Recheck only the affected behavior, then verify related routes and themes.

Check published content while signed out and unsaved client preview separately. Check keyboard navigation, focus, mobile-menu behavior and reduced motion. Test long copy and missing optional media.

The report must name the commands that succeeded and the behavior actually observed. A type check does not prove email delivery, a screenshot does not prove keyboard access, and a build does not prove preserved production data.

Finish launches with the [going-live checklist](https://docs.systhema.app/nl/next/guides/recipes/going-live-checklist.md) and the client's [Editor guide](https://docs.systhema.app/nl/next/editor-guide.md).
