> ## Documentation Index
> Fetch the complete documentation index at: https://docs.declarativeforms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure coding agents

> Give OpenAI Codex, GitHub Copilot, Claude Code, and other coding agents the Declarative Forms docs context they need.

Use this setup when you want OpenAI Codex, GitHub Copilot, Claude Code, or another coding agent to create or edit Declarative Forms YAML.

## Add context

Use the full docs context when the agent can read a URL:

```text theme={null}
https://docs.declarativeforms.com/llms-full.txt
```

Use the compact docs index when the agent needs a smaller starting point:

```text theme={null}
https://docs.declarativeforms.com/llms.txt
```

If the agent supports capability files, you can also provide:

```text theme={null}
https://docs.declarativeforms.com/skill.md
```

## Use this prompt

```text theme={null}
Use the Declarative Forms documentation at https://docs.declarativeforms.com/llms-full.txt.

Create or update a complete Declarative Forms YAML file for:
<describe the form, audience, fields, routing, validation, and submission destination>

Rules:
- Use version: 1.
- Use only documented field types, validators, connections, completion settings, and top-level properties.
- Keep field and section ids lowercase, stable, and snake_case.
- Preserve existing ids when editing an existing form.
- Include required validators where the respondent must answer.
- Use visible_when or conditional section navigation only when the behavior requires it.
- After the YAML, list any assumptions.
```

## Check the result

* The file starts with `version: 1`.
* Every section has an `id`, `title`, `fields`, and `next`.
* Every field has an `id`, `type`, and `label`.
* Conditional expressions reference values with `data.<field_id>`.
* Connections use `email` or `webhook`.

For field-specific options, use [Field types](/field-types/index).
