NAME

App::Dapper::Agents - Explain a Dapper project to AI coding agents.

DESCRIPTION

dapper init writes an AGENTS.md file that tells AI coding agents (and people) how the project works: where pages, layouts and data live, which front matter each kind of page needs, the rules Dapper enforces, and the commands to run. A CLAUDE.md points Claude Code at it.

dapper agents brings AGENTS.md up to date after the project changes. The part Dapper writes sits between <!-- dapper:begin --> and <!-- dapper:end -->; anything outside those lines (your own notes, or a theme's) is kept.

update

Takes a Dapper object (and optionally extra notes for a new file), and writes or updates AGENTS.md in the current directory, and a CLAUDE.md if there isn't one. Returns the list of files written.

guide

Takes a Dapper object and returns the guide to the project, in Markdown.