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:
co-authored by
Claude Opus 5.5
parent
6e3979bae6
commit
2d9f3e15d4
+9
-8
@@ -70,16 +70,17 @@ if (pointer) {
|
||||
const skillsDir = relative(process.cwd(), dest).split('\\').join('/')
|
||||
const block = [
|
||||
START,
|
||||
`## ipal-kit ${version} — przewodnik dla agenta`,
|
||||
`## ipal-kit ${version} — agent guide`,
|
||||
'',
|
||||
'<!-- Blok zarządzany przez `pnpm exec ipal-skills` — zmiany między znacznikami zostaną nadpisane. -->',
|
||||
'Ten projekt stoi na `@intecion/ipal-kit` (plugin Payload CMS 3). Zanim napiszesz kod:',
|
||||
'<!-- Managed by `pnpm exec ipal-skills` — edits between the markers are overwritten. -->',
|
||||
'This project is built on `@intecion/ipal-kit` (a Payload CMS 3 plugin). Before you write code:',
|
||||
'',
|
||||
'1. Reguły: `node_modules/@intecion/ipal-kit/docs/agent/AGENT.md`.',
|
||||
`2. Wszystko, co daje plugin (opcje, env, trasy, layout, hooki, kolekcje, globale, każdy eksport): skill \`ipal-reference\` — \`${skillsDir}/ipal-reference/SKILL.md\`.`,
|
||||
`3. Nowy projekt albo brak fundamentu: skill \`ipal-setup\`; cała strona: \`ipal-site\`. Lista skilli: \`${skillsDir}/\`.`,
|
||||
'4. Szczegóły modułu: `node_modules/@intecion/ipal-kit/docs/<moduł>.md`.',
|
||||
'5. Funkcja istnieje w pluginie → użyj jej. Brakuje opcji → skill `ipal-plugin-gap`, nigdy łatka w `node_modules`.',
|
||||
'1. Rules: `node_modules/@intecion/ipal-kit/docs/agent/AGENT.md`.',
|
||||
`2. Everything the plugin provides (options, env vars, routes, layout, hooks, collections, globals, every export): the \`ipal-reference\` skill — \`${skillsDir}/ipal-reference/SKILL.md\`.`,
|
||||
`3. New project or missing foundation: the \`ipal-setup\` skill; a whole site: \`ipal-site\`. All skills: \`${skillsDir}/\`.`,
|
||||
'4. Module details: `node_modules/@intecion/ipal-kit/docs/<module>.md`.',
|
||||
'5. If the plugin has it, use it. If an option is missing, use the `ipal-plugin-gap` skill — never patch `node_modules`.',
|
||||
'6. ipal-kit docs, this guide and the skills are in English; write rules, AGENTS.md entries and gap reports in English.',
|
||||
END,
|
||||
].join('\n')
|
||||
const upsert = (file, { create }) => {
|
||||
|
||||
Reference in New Issue
Block a user