Skip to Content
Zod Config

AI skills

Give your coding agent up-to-date zod-config docs, with an agent skill, Context7 or llms.txt.

Coding agents often guess an API from older training data. Give yours the current zod-config docs in one of these ways. Each one works on its own: pick the one that fits your agent.

Agent skill

The repository ships an agent skill: a short SKILL.md that tells the agent which API to pick, how adapters and loadEnvConfig work, and the mistakes to avoid. Install it with the skills command-line tool, which supports Claude Code, Cursor, Codex, OpenCode and other agents:

npx skills add alexmarqs/zod-config

It goes into your project's agent folder (for example .claude/skills/). Add -g to install it for every project. The agent loads it when a task touches zod-config.

Context7

Context7 indexes these docs as /alexmarqs/zod-config. With the Context7 MCP server connected to your agent, ask it to use that library:

Add a YAML config file to this app with zod-config. use context7 /alexmarqs/zod-config

To connect the server, see Context7's install guide. In Claude Code, for example:

claude mcp add --transport http context7 https://mcp.context7.com/mcp

Point your agent to the docs

No install: add a few lines to the file your agent reads for project instructions, such as AGENTS.md, CLAUDE.md or .cursor/rules:

AGENTS.md
## zod-config

This project loads its configuration with zod-config. Before writing code that uses it,
read https://zod-config.alexandremarques.io/llms.txt and open the pages it links to.

The site serves these files for agents:

FileWhat it holds
/llms.txtAn index of every page, with a short description and a link to its Markdown.
/llms-full.txtEvery page in one file.
/llms.mdx/docs/<page>.mdOne page as Markdown, e.g. /llms.mdx/docs/env.md.

Every page also has a Copy Markdown button, and an Open menu that sends the page to ChatGPT, Claude and other assistants.

On this page