# Claude Code This project uses the Payload CMS skill at `.claude/skills/payload/`. Start with `.claude/skills/payload/SKILL.md` for a quick reference, then see `.claude/skills/payload/reference/` for detailed docs. ## Main rule: the plugin helps projects, never limits them ipal-kit is a plugin. Every change must leave the consuming project free to adapt it. - Every module and feature can be turned off on its own. Turning one off never takes away anything the project still needs. - Every default can be overridden: access rules, fields, hooks, labels, routes, collections and globals. The project's own config is merged with the plugin's and wins. - Secure defaults are welcome. They come with an option to loosen or extend them, never as a hard lock. - Export the building blocks (helpers, builders, hooks), not only finished features. - Never force a dependency, route, UI or data shape where an option or an exported piece would do. ## Rule: an agent that adds the plugin gets the complete guide When an agent adds ipal-kit to a project, `docs/agent/AGENT.md` and the `ipal-*` skills (installed by `ipal-skills`) must tell it how to set up and use every function the plugin supports. - Every export, option, env var, route, middleware, layout component, admin import-map entry and hook a project must wire is documented, with steps and a way to verify it. - A change that adds or alters a feature updates the agent guide and the matching skill in the same change.