Agent instructions: mandatory feature set (SEO, GEO, R2, Turnstile, forms) enforced by audits
- AGENT.md §0b: one table of everything every site must have (SEO meta/maps,
JSON-LD, llms.txt + llms-full, Markdown, MCP, AI bots, R2, panel forms,
Turnstile, consent, security, ops, system pages, zero hardcodes), the
forbidden replacements (own forms, nodemailer, reCAPTCHA, hand-written
JSON-LD, static SEO files, raw S3) and an `ipal-audit-skip:` escape hatch that
needs a recorded client decision.
- ipal-audit: "missing: …" errors for every mandatory item and for plugin
replacements; ipal-seo-check: runtime GEO checks (llms, Markdown, MCP,
JSON-LD, AI bots, health). Both verified on bare and complete fixtures.
- Skills (setup, site, form, upgrade, audit, seo-check) and PROGRAMISTA.md
wire the full set from step one; GEO is no longer "optional".
- Fix: createProxy({ markdown: true }) lets /md/... through — multilingual
sites redirected /md/pl/x to /pl/md/pl/x, so the documented Markdown route
never worked — and handles Accept: text/markdown.
- createContentHelpers({ markdownAlternate: true }) adds the text/markdown
alternate link in generatePageMetadata.
- JSDoc/docs JSON-LD examples use JsonLdGraph; docs/CHANGELOG.md for 1.9.0.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: ipal-audit
|
||||
description: Audits an ipal-kit (Payload 3 + Next 16) project against AGENT.md rules with a deterministic script — hardcoded texts/links, forbidden field names, monolithic sections, middleware.ts, missing ISR/generateStaticParams, hex colors, server imports in client components, extra collections, then tsc and build. Use before saying a task is done, after any block/collection/layout change, after an Impeccable pass, and when asked to review or audit the project.
|
||||
description: Audits an ipal-kit (Payload 3 + Next 16) project against AGENT.md rules with a deterministic script — the mandatory feature set (SEO, JSON-LD, llms.txt, Markdown, MCP, R2, Turnstile, panel forms, consent, 2FA, health, env), forbidden replacements (own forms, nodemailer, reCAPTCHA, hand-written JSON-LD), hardcoded texts/links, forbidden field names, monolithic sections, middleware.ts, missing ISR/generateStaticParams, hex colors, server imports in client components, extra collections, then tsc and build. Use before saying a task is done, after any block/collection/layout change, after an Impeccable pass, and when asked to review or audit the project.
|
||||
---
|
||||
|
||||
# ipal-audit
|
||||
@@ -24,6 +24,12 @@ Kontrole z AGENT.md §11 jako skrypt — zawsze te same, bez interpretacji.
|
||||
na ślepo (np. `searchParams` jest OK w trasie archiwum z paginacją).
|
||||
5. Uruchom ponownie, aż wynik to `0 error(s)`.
|
||||
|
||||
## „missing: …” — obowiązkowy komplet (AGENT.md §0b)
|
||||
Każde `[ERROR] missing: X` to pozycja kompletu, której nie ma w kodzie. Wpinasz ją
|
||||
wg wskazówki (PROGRAMISTA §2) — nie pytasz, czy trzeba. Jedyny wyjątek: decyzja
|
||||
klienta zapisana w `AGENTS.md` jako `ipal-audit-skip: <klucze> — <powód>` (klucze
|
||||
w AGENT.md §0b). Nie dopisujesz tej linii sam, żeby „przeszło”.
|
||||
|
||||
## Czego skrypt nie sprawdzi (zrób ręcznie)
|
||||
|
||||
- **Test redaktora** (AGENT.md §11): czy każdy tekst, obraz, przycisk, sekcja,
|
||||
|
||||
Reference in New Issue
Block a user