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
@@ -42,6 +42,7 @@ pnpm add @payloadcms/plugin-seo @payloadcms/plugin-form-builder # peer depende
|
||||
pnpm add @clocklimited/[email protected] # 2FA (opcjonalny peer, ale bez twoFactor: false wymagany)
|
||||
pnpm add @payloadcms/storage-s3 # opcjonalny peer — tylko gdy media w R2
|
||||
pnpm add tailwindcss @tailwindcss/postcss
|
||||
pnpm exec ipal-skills # skille agenta + wskaźnik do przewodnika w AGENTS.md / CLAUDE.md (§2.1a)
|
||||
```
|
||||
`nodemailer`, `lucide-react` (`^0.400.0` = tylko `0.400.x`), `slugify`, `server-only` to zwykłe
|
||||
`dependencies` pluginu — instalują się z nim, nie dodawaj ich. Pozostałe peery (`payload`,
|
||||
@@ -113,7 +114,12 @@ layout pod `[locale]` (bo `<html lang>` musi znać język).
|
||||
```
|
||||
`pnpm ipal:skills` po instalacji i po każdej aktualizacji ipal-kit; `.agents/skills/`
|
||||
commituj. (`ipal-skills` to `bin` pakietu — bez skryptu: `pnpm exec ipal-skills`; opcje
|
||||
`--dest <katalog>`, `--dry-run`.)
|
||||
`--dest <katalog>`, `--dry-run`, `--no-pointer`.)
|
||||
Komenda dopisuje też do `AGENTS.md` blok `<!-- ipal-kit:start -->…<!-- ipal-kit:end -->`
|
||||
ze wskaźnikiem na AGENT.md i skille `ipal-reference` / `ipal-setup`, a brakujący `CLAUDE.md`
|
||||
tworzy z linią `@AGENTS.md`. Przy kolejnych uruchomieniach podmienia tylko tekst między
|
||||
znacznikami. Dzięki temu agent otwierający projekt od razu trafia na pełny przewodnik —
|
||||
bez skryptu `postinstall` (pakiet go nie ma i mieć nie będzie).
|
||||
**`tsconfig.json` projektu: `"exclude": ["node_modules", ".agents"]`** — skille mają szablony
|
||||
`.ts`/`.tsx`; bez wykluczenia `tsc` i `next build` sprawdzają je jak kod projektu i padają
|
||||
(`ipal-skills` i `ipal-audit` ostrzegają). W roocie `AGENTS.md` wg szablonu z [AGENT.md §13](../agent/AGENT.md).
|
||||
|
||||
Reference in New Issue
Block a user