Docs: reconcile agent, developer and module docs with the code
- AGENT.md, skills, PROGRAMISTA, vibe, README and module pages checked against src/ and package.json; every mismatch fixed (consent/analytics loading, revalidation scope, generateStaticParams, construction gating, Turnstile fail modes, email/Graph, MCP, i18n, links, slug, hooks, ...) - New pages: frontend.md, media.md, integrations.md; docs/README.md now indexes every page - Main rule (plugin helps, never limits) at the top of AGENT.md, PROGRAMISTA.md, docs/README.md, README and the setup/plugin-gap skills; module pages gain a "Wyłączenie, nadpisanie, rozszerzenie" section - README/PROGRAMISTA: stop telling projects to install packages ipal-kit already depends on; peer table; publish flow matches prepublishOnly - ipal-skills: refuse --dest without a value or pointing at the project root (previously could delete ipal-* folders in cwd) - docsConsistency: option keys, IPAL_* env names, relative links, README index, AGENT.md section refs, skill frontmatter, frontend.md helper keys, no `pnpm add` of own dependencies Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
12fbd424a5
commit
6e0f59c62b
+14
-3
@@ -1,10 +1,16 @@
|
||||
# Dokumentacja @intecion/ipal-kit
|
||||
|
||||
**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.
|
||||
|
||||
| Kim jesteś | Czytaj |
|
||||
|---|---|
|
||||
| **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) — 14 skilli `ipal-*` dla Antigravity/Claude Code, w tym `ipal-site` (strona od briefu do raportu) i skrypty kontrolne (kopiowane do projektu: `pnpm ipal:skills`, AGENT.md §14) |
|
||||
| **Programista** | [PROGRAMISTA.md](./dev/PROGRAMISTA.md) — instalacja, nowy projekt, env, wdrożenie, aktualizacja, publikacja pluginu, Gitea |
|
||||
| **Agent AI — skille** | [agent/skills/](./agent/skills) — 14 skilli `ipal-*` dla Antigravity/Claude Code, w tym `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 |
|
||||
|
||||
Szczegóły API — jeden plik na moduł:
|
||||
@@ -18,12 +24,17 @@ Szczegóły API — jeden plik na moduł:
|
||||
| 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) |
|
||||
| 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) |
|
||||
@@ -34,7 +45,7 @@ Szczegóły API — jeden plik na moduł:
|
||||
| Statystyki w panelu (bez cookies; historia odwiedzającego za zgodą) | [stats.md](./stats.md) |
|
||||
| Auto-slug | [slug.md](./slug.md) |
|
||||
| Motyw jasny / ciemny, przełącznik | [theme.md](./theme.md) |
|
||||
| Media, R2 | [storage.md](./storage.md) |
|
||||
| R2, `buildImagesConfig`, `MediaPreconnect`, `YouTubeEmbed` | [storage.md](./storage.md) |
|
||||
| Turnstile | [turnstile.md](./turnstile.md) |
|
||||
| White-label panelu | [white-label.md](./white-label.md) |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user