Agent guide: ask architecture questions first, ipal-kit first, code rules
- AGENT.md: "Ask before you build" (languages, styling, content, forms, analytics/consent, SEO/GEO, database + media, admin, hosting/DNS) — answers go to AGENTS.md "Project decisions", never guessed; "ipal-kit first" hard rule — a gap is reported to the owner and the agent waits for the decision, no hand-built replacements or silent workarounds; short "Code rules" (SRP, small files, no duplicates, typed, i18n texts, checks) pointing to §8 - ipal-setup stage 0 and ipal-site phase 0: the architecture question list, answered before building; content questions keep defaults - ipal-plugin-gap: report, offer options, wait, record the decision; ipal-block/collection/form/debug and vibe aligned; AGENTS.md template and the ipal-skills pointer block carry the rules - docsConsistency: the rules reach every site-building skill Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
f57d089f55
commit
25719ae7ec
+3
-2
@@ -79,8 +79,9 @@ if (pointer) {
|
||||
`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.',
|
||||
'5. ipal-kit first: if the plugin has it, use it. Broken or not enough → report it with the `ipal-plugin-gap` skill and wait for the owner — no hand-built replacement, never patch `node_modules`.',
|
||||
'6. Before you set up a site: ask the owner the architecture questions (AGENT.md "Ask before you build") and wait for the answers; record them under "Project decisions".',
|
||||
'7. 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