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]>
This commit is contained in:
Radosław Smoliński
2026-10-22 17:39:03 +02:00
co-authored by Claude Opus 5.5
parent 6e3979bae6
commit 2d9f3e15d4
47 changed files with 6102 additions and 5355 deletions
+44 -41
View File
@@ -1,54 +1,57 @@
# Dokumentacja @intecion/ipal-kit
# @intecion/ipal-kit documentation
**Zasada nadrzędna:** ipal-kit to plugin — pomaga projektom, nigdy ich nie ogranicza.
Każdy moduł da się wyłączyć osobno, każdą wartość domyślną nadpisać (konfiguracja
projektu wygrywa), bezpieczne ustawienia domyślne mają opcję poluzowania, a plugin
eksportuje klocki (helpery, buildery, hooki), nie tylko gotowe funkcje. Każda strona
modułu ma sekcję „Wyłączenie, nadpisanie, rozszerzenie” — opisuje stan obecnego kodu.
All ipal-kit docs, the agent guide and the agent skills are written in English.
| Kim jesteś | Czytaj |
**Main rule — the plugin helps, never limits:** ipal-kit is a plugin — it helps projects and never
limits them. Every module can be turned off on its own, every default can be overridden (the project
config wins), safe defaults have an option to relax them, and the plugin exports building blocks
(helpers, builders, hooks), not only finished features. Every module page has a "Turn off, override,
extend" section that describes the current code.
| Who you are | Read |
|---|---|
| **Agent AI** pracujący w projekcie | [AGENT.md](./agent/AGENT.md) — reguły, struktura, budowa sekcji, kontrole przed „gotowe” |
| **Agent AI — skille** | [agent/skills/](./agent/skills) — 15 skilli `ipal-*` dla Antigravity/Claude Code, w tym `ipal-reference` (pełna mapa pluginu i każdy eksport), `ipal-setup` (kompletna instalacja), `ipal-site` (strona od briefu do raportu) i skrypty kontrolne (kopiowane do projektu: `pnpm exec ipal-skills`, AGENT.md §14) |
| **Programista** | [PROGRAMISTA.md](./dev/PROGRAMISTA.md) — instalacja, nowy projekt, env, wdrożenie, aktualizacja, publikacja pluginu, Gitea; wdrożenie i health check: [deployment.md](./deployment.md) |
| **Osoba prowadząca agenta AI** | [vibe.md](./dev/vibe.md) — tryb autonomiczny (`/ipal-site`) i gotowe polecenia krok po kroku |
| **AI agent** working in a project | [AGENT.md](./agent/AGENT.md) — rules, structure, building sections, checks before "done" |
| **AI agent — skills** | [agent/skills/](./agent/skills) — 15 `ipal-*` skills for Antigravity/Claude Code, including `ipal-reference` (full map of the plugin and every export), `ipal-setup` (complete installation), `ipal-site` (a site from brief to report) and the check scripts (copied into the project: `pnpm exec ipal-skills`, AGENT.md §14) |
| **Developer** | [PROGRAMISTA.md](./dev/PROGRAMISTA.md) — installation, new project, env, deployment, upgrades, releasing the plugin, Gitea; deployment and health check: [deployment.md](./deployment.md) |
| **Person driving an AI agent** | [vibe.md](./dev/vibe.md) — autonomous mode (`/ipal-site`) and ready-made step-by-step prompts |
Szczegóły API — jeden plik na moduł:
API details — one file per module:
| Moduł | Plik |
| Module | File |
|---|---|
| Role i dostęp do panelu | [access.md](./access.md) |
| Widget dostępności (opcjonalny) | [accessibility.md](./accessibility.md) |
| Roles and admin panel access | [access.md](./access.md) |
| Accessibility widget (optional) | [accessibility.md](./accessibility.md) |
| GA4, GTM, Meta Pixel, Clarity, LinkedIn, TikTok, `defer` | [analytics.md](./analytics.md) |
| Bloki, RenderBlocks, enhanceProps | [blocks.md](./blocks.md) |
| Zgoda cookies, baner, okno ustawień (w pasku / modal / duże ze szczegółami ciasteczek) | [consent.md](./consent.md) |
| Strona w budowie — blokada podstron z popupem (narzędzie deweloperskie) | [construction.md](./construction.md) |
| Routing, archiwa, redirecty, Markdown, wyszukiwarka | [content.md](./content.md) |
| Front strony: `createContentHelpers` (`@/lib/content`), `createPageRoute`, `SiteProviders` | [frontend.md](./frontend.md) |
| Wdrożenie, zmienne produkcyjne, health check | [deployment.md](./deployment.md) |
| Blocks, RenderBlocks, enhanceProps | [blocks.md](./blocks.md) |
| Cookie consent, banner, settings window (in the bar / modal / large with cookie details) | [consent.md](./consent.md) |
| Under construction — locks subpages behind a popup (developer tool) | [construction.md](./construction.md) |
| Routing, archives, redirects, Markdown, search | [content.md](./content.md) |
| Site frontend: `createContentHelpers` (`@/lib/content`), `createPageRoute`, `SiteProviders` | [frontend.md](./frontend.md) |
| Deployment, production variables, health check | [deployment.md](./deployment.md) |
| Seeds: create-only, dry run, backup, production update guard | [seeding.md](./seeding.md) |
| Email SMTP / Graph | [email.md](./email.md) |
| Walidacja env | [env.md](./env.md) |
| Formularze, useForm, honeypot | [forms.md](./forms.md) |
| GA4 + Meta Pixel przez GTM (zdarzenia formularzy) | [gtm-meta-pixel.md](./gtm-meta-pixel.md) |
| Hooki | [hooks.md](./hooks.md) |
| i18n, proxy, przełącznik języka | [i18n.md](./i18n.md) |
| Integracje (global `site-integrations`, statusy, test e-maila) | [integrations.md](./integrations.md) |
| Linki / CTA: buildLinkField, buildLinksField, resolveLinkHref, rowLabel | [links.md](./links.md) |
| Media: kolekcja, nazwy plików, optymalizacja, placeholdery, `mediaImageProps` | [media.md](./media.md) |
| Serwer MCP strony | [mcp.md](./mcp.md) |
| Komunikaty formularzy | [notifications.md](./notifications.md) |
| Strony systemowe, 404, generateStaticParams | [pages.md](./pages.md) |
| Helpery Payload | [payload-helpers.md](./payload-helpers.md) |
| Rich text, spis treści | [richtext.md](./richtext.md) |
| Nagłówki, CSP, 2FA | [security.md](./security.md) |
| Env validation | [env.md](./env.md) |
| Forms, useForm, honeypot | [forms.md](./forms.md) |
| GA4 + Meta Pixel through GTM (form events) | [gtm-meta-pixel.md](./gtm-meta-pixel.md) |
| Hooks | [hooks.md](./hooks.md) |
| i18n, proxy, language switcher | [i18n.md](./i18n.md) |
| Integrations (`site-integrations` global, statuses, test email) | [integrations.md](./integrations.md) |
| Links / CTA: buildLinkField, buildLinksField, resolveLinkHref, rowLabel | [links.md](./links.md) |
| Media: collection, file names, optimization, placeholders, `mediaImageProps` | [media.md](./media.md) |
| Site MCP server | [mcp.md](./mcp.md) |
| Form messages | [notifications.md](./notifications.md) |
| System pages, 404, generateStaticParams | [pages.md](./pages.md) |
| Payload helpers | [payload-helpers.md](./payload-helpers.md) |
| Rich text, table of contents | [richtext.md](./richtext.md) |
| Headers, CSP, 2FA | [security.md](./security.md) |
| SEO, metadata, sitemap, JSON-LD, llms.txt | [seo.md](./seo.md) |
| Statystyki w panelu (bez cookies; historia odwiedzającego za zgodą) | [stats.md](./stats.md) |
| Stats in the admin panel (no cookies; visitor history with consent) | [stats.md](./stats.md) |
| Auto-slug | [slug.md](./slug.md) |
| Motyw jasny / ciemny, przełącznik | [theme.md](./theme.md) |
| Light / dark theme, switcher | [theme.md](./theme.md) |
| R2, `buildImagesConfig`, `MediaPreconnect`, `YouTubeEmbed` | [storage.md](./storage.md) |
| Turnstile | [turnstile.md](./turnstile.md) |
| White-label panelu | [white-label.md](./white-label.md) |
| Admin panel white-label | [white-label.md](./white-label.md) |
Zasada utrzymania: zmiana API modułu → aktualizacja jego pliku w tym samym
commicie. Nowe reguły pracy → AGENT.md. Nowy krok procesu → PROGRAMISTA.md. Nowy etap budowy → vibe.md.
Nie dodawaj kolejnych plików ogólnych.
Maintenance rule: a module's API changes → update its file in the same commit. New working rules →
AGENT.md. New process step → PROGRAMISTA.md. New build stage → vibe.md.
Do not add more general files.