- bin `ipal-kit` (subcommand `create`): the architecture questions (or --answers JSON), rendering from reference/ through starter.manifest.json (placeholders, @starter:if variants, //: alternatives, demo dropped), answers into AGENTS.md "Project decisions" and ipal-doctor.json, local .env with a fresh PAYLOAD_SECRET, install from the shipped lockfile, ipal-skills, ipal-tokens, generate:types/importmap, typecheck, ipal-doctor when shipped, secret check, first commit - @intecion/ipal-kit/starter: the building blocks (renderSite, validateAnswers, applyVariants, collectBundle, lockfileWithoutPlugin, secretFindings …) - build:starter packs reference/ into dist/starter/template.json.gz (90 KB); starter:gate in prepublishOnly: site from the packed tarball, frozen install, seed, build, targeted SEED_ONLY seed in production mode, full seed refused, pnpm start checks - D15: plugin dependencies pinned exactly (nodemailer 10.3.1) - reference/: @starter:if markers (runs as before), manifest generate/variants/rewrite - docs: project-starter.md, AGENT.md, ipal-setup, ipal-site, ipal-reference (+ api.md), README, PROGRAMISTA §2, CHANGELOG, docs/README, reference index Co-Authored-By: Claude Opus 5.5 <[email protected]>
63 lines
4.5 KiB
Markdown
63 lines
4.5 KiB
Markdown
# @intecion/ipal-kit documentation
|
|
|
|
All ipal-kit docs, the agent guide and the agent skills are written in English.
|
|
|
|
**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 |
|
|
|---|---|
|
|
| **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 |
|
|
|
|
API details — one file per module:
|
|
|
|
| Module | File |
|
|
|---|---|
|
|
| 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) |
|
|
| Blocks, RenderBlocks, enhanceProps | [blocks.md](./blocks.md) |
|
|
| Block library: ready sections, page templates | [block-library.md](./block-library.md) |
|
|
| Cookie consent, banner, settings window (in the bar / modal / large with cookie details) | [consent.md](./consent.md) |
|
|
| Cookie scanner: review list of drafts, "Scan cookies", Open Cookie Database lookup (optional) | [cookie-scanner.md](./cookie-scanner.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) |
|
|
| New site in one command (`ipal-kit create`, `@intecion/ipal-kit/starter`) | [project-starter.md](./project-starter.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) |
|
|
| 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) |
|
|
| Image lightbox: enlarge a thumbnail, galleries, rich text images | [lightbox.md](./lightbox.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) |
|
|
| Stats in the admin panel (no cookies; visitor history with consent) | [stats.md](./stats.md) |
|
|
| Auto-slug | [slug.md](./slug.md) |
|
|
| Light / dark theme, switcher | [theme.md](./theme.md) |
|
|
| Design tokens (`--ipal-*`, `tokens.css`, `tailwind.css`, `ipal-tokens`, DESIGN.md) | [design-tokens.md](./design-tokens.md) |
|
|
| R2, `buildImagesConfig`, `MediaPreconnect`, `YouTubeEmbed` | [storage.md](./storage.md) |
|
|
| Turnstile | [turnstile.md](./turnstile.md) |
|
|
| Admin panel white-label | [white-label.md](./white-label.md) |
|
|
|
|
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.
|