Agent guide: complete plugin coverage, full ipal-setup, pointer block
- New skill ipal-reference: every ipalKit option (incl. nested keys) with default and how to turn it off/override it, what the plugin injects (collections, globals, endpoints, import-map components), every file the project wires with a minimal example and a check, every env var; resources/api.md indexes all 432 exports with import path and purpose - ipal-setup rewritten as a complete start-to-finish install: steps, code, verification and off/override per stage - ipal-skills writes a marked <!-- ipal-kit:start/end --> pointer block into AGENTS.md (creates it if missing) and CLAUDE.md (or creates CLAUDE.md with @AGENTS.md); only the marked block is ever rewritten; --no-pointer skips. tsconfig exclude check now matches whole entries - AGENT.md, PROGRAMISTA, README, docs index: point at ipal-reference and run `pnpm exec ipal-skills` right after install - docsConsistency: the agent guide must mention every export (runtime and types), every plugin option incl. nested keys, every env var the code reads and every @/lib/content helper Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d39bbd01a8
commit
465c5706f8
@@ -95,6 +95,18 @@ placeholders also use the `sharp` you pass to `buildConfig({ sharp })`
|
||||
> uses `lucide-react` at another version (e.g. `0.5xx` or `1.x`), you end up with two
|
||||
> copies and confusing type errors. Pin your project to `~0.400.0` too.
|
||||
|
||||
**Working with an AI agent?** Run this right after installing (and after every upgrade):
|
||||
|
||||
```bash
|
||||
pnpm exec ipal-skills
|
||||
```
|
||||
|
||||
It copies the `ipal-*` agent skills into `.agents/skills/` and adds a marked
|
||||
`<!-- ipal-kit:start -->` block to `AGENTS.md` (plus a `CLAUDE.md` that imports it, if you
|
||||
have none) pointing the agent at the full guide: `AGENT.md`, the `ipal-reference` skill
|
||||
(every option, env var, route and export) and the `ipal-setup` skill. Only the text between
|
||||
the markers is ever rewritten. `--no-pointer` skips that step. There is no `postinstall` script.
|
||||
|
||||
From here, the guide takes over: **[docs/dev/PROGRAMISTA.md](./docs/dev/PROGRAMISTA.md)** —
|
||||
from an empty project to a working site.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user