Agent guide: ask architecture questions first, ipal-kit first, code rules

- AGENT.md: "Ask before you build" (languages, styling, content, forms,
  analytics/consent, SEO/GEO, database + media, admin, hosting/DNS) —
  answers go to AGENTS.md "Project decisions", never guessed; "ipal-kit
  first" hard rule — a gap is reported to the owner and the agent waits
  for the decision, no hand-built replacements or silent workarounds;
  short "Code rules" (SRP, small files, no duplicates, typed, i18n texts,
  checks) pointing to §8
- ipal-setup stage 0 and ipal-site phase 0: the architecture question
  list, answered before building; content questions keep defaults
- ipal-plugin-gap: report, offer options, wait, record the decision;
  ipal-block/collection/form/debug and vibe aligned; AGENTS.md template
  and the ipal-skills pointer block carry the rules
- docsConsistency: the rules reach every site-building skill

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-29 11:46:50 +01:00
co-authored by Claude Opus 5.5
parent f57d089f55
commit 25719ae7ec
11 changed files with 195 additions and 52 deletions
+4 -4
View File
@@ -25,9 +25,9 @@ through this procedure. Ask only when you are missing something you cannot get y
`force-dynamic` "to make it work", copying plugin code into the project = **no**).
5. **Prove it**: the same command from step 1 passes + `ipal-audit --quick` +
(rendering/SEO) `ipal-seo-check` on the build.
6. Bug on the ipal-kit side → a workaround in the project **only if it is clean and
marked** (`// WORKAROUND ipal-kit <version>: <description>`) + an **ipal-plugin-gap** report.
Record the case in `AGENTS.md` → "Project decisions" if it may come back.
6. Bug on the ipal-kit side → an **ipal-plugin-gap** report to the owner and **wait for the decision** — no
workaround on your own. Only an approved workaround goes in, marked
(`// WORKAROUND ipal-kit <version>: <description>`) and recorded in `AGENTS.md` → "Project decisions".
## Symptom → cause → fix
@@ -96,4 +96,4 @@ through this procedure. Ask only when you are missing something you cannot get y
- the docs tell you to import something that the entry point does not export;
- you are writing the same boilerplate in a second project in a row (a module candidate).
Then **ipal-plugin-gap**: symptom, minimal reproduction, version, proposed
change in the plugin, workaround used in the project. **Never** edit `node_modules`.
change in the plugin, the owner's decision (and the approved workaround, if any). **Never** edit `node_modules`.