Files
ipal-kit/docs/agent/skills/ipal-audit/SKILL.md
T
Radosław SmolińskiandClaude Opus 5.5 2d9f3e15d4 Docs in English (part 1), seeding guide, Coolify deployment
- Translate to English every doc the code branches did not touch: AGENT.md,
  developer guide, vibe, CHANGELOG, docs index, module pages, all skills
  except ipal-seo-check (14 pages follow after the security/SEO merge).
  Placeholder marker is now [TO FILL: …]; skill resources renamed to
  section-code.md / nav-code.md. AGENT.md and the ipal-skills pointer
  block say the docs are in English.
- docs/seeding.md: create-only, natural keys, never delete, no users or
  secrets, empty-field globals, fallbackLocale: false, dry run, backup and
  restore, production update guard, seeds vs migrations, Coolify Terminal.
  Seed templates gain --dry-run, the SEED_UPDATE production guard
  (IPAL_SEED_ALLOW_PROD_UPDATE), skip of edited records and a summary.
  "Seeding on production" rule block in AGENT.md.
- Coolify is the single deployment path (deployment, env, developer guide,
  ipal-setup): build vs runtime env, migrations on container start
  (prodMigrations), health check and rolling updates, rollback, backups and
  restore, DNS/Let's Encrypt/CAA. R2: custom domain needs a Cloudflare zone;
  default is media served by the app (R2_PUBLIC_URL empty).
- docsConsistency: no Polish prose outside code/quoted data (pending pages
  listed); IPAL_* names may also be read by shipped skill templates.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 17:39:03 +02:00

2.5 KiB

name, description
name description
ipal-audit 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

The checks from AGENT.md §11 as a script — always the same, no interpretation.

Steps

  1. From the project root, run:
    bash .agents/skills/ipal-audit/scripts/audit.sh --quick   # while working
    bash .agents/skills/ipal-audit/scripts/audit.sh           # before "done" (+ tsc + build)
    
    Options: --help. Do not read the script source — the output is enough.
  2. Show the user the full output (summary + list of violations).
  3. Fix every [ERROR] or — if it is a deliberate exception — add a code comment with the reason and list it in your answer. Each violation names a section in node_modules/@intecion/ipal-kit/docs/agent/AGENT.md — read it before fixing.
  4. [WARNING] — assess it and tell the user what to do about it; do not fix it blindly (e.g. searchParams is OK in a paginated archive route).
  5. Run again until the output is 0 error(s).

"missing: …" — the mandatory set (AGENT.md §0b)

Every [ERROR] missing: X is an item of the set that the code lacks. Wire it following the hint (PROGRAMISTA §2) — do not ask whether it is needed. The only exception: a client decision recorded in AGENTS.md as ipal-audit-skip: <keys> — <reason> (keys in AGENT.md §0b). Never add that line yourself just to make the audit pass.

What the script does not check (do it by hand)

  • Editor test (AGENT.md §11): every text, image, button, section, menu, footer and SEO field can be changed in the panel, in every language.
  • Cookie consent: in Network, before accepting, there are no requests to google-analytics / googletagmanager (except Consent Mode), facebook.net, clarity.ms, licdn, tiktok.
  • Content: fallbacks contain no client data (|| 'Firma X').

Do not say "done" until the full audit (without --quick) has no errors.