Files
ipal-kit/CLAUDE.md
T
Radosław SmolińskiandClaude Opus 5.5 e821d52d19
CI / check (push) Failing after 7m26s
CI / reference (push) Skipped
CI / reference-full (push) Skipped
CLAUDE.md: the plugin is called IAPL (iapl-* skills, iapl-skills)
Both rules keep their meaning word for word; only the names change. Not part of the npm package.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 14:45:26 +01:00

22 lines
1.5 KiB
Markdown

# 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
IAPL (Intecion Advanced Payload Library, package `@intecion/ipal-kit`, formerly 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 IAPL to a project, `docs/agent/AGENT.md` and the `iapl-*` skills (installed by `iapl-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.