feat(content): migrate interactiveCopy into six typed collections

Move the six remaining bilingual datasets from app.js:160 into Astro
content collections so GuideSelector has data to drive. Mechanical copy
of 178 strings (160 localized pairs + 18 worker array strings) plus
the non-localized fields (status, path, command, score, icon, title,
number). Source field on commonSkills embedded from skillSources to
match the GuideSelectorData contract; if a URL changes, both this
entry and skillSources/<id>.json must be updated. Status kept on trees
even though GuideSelectorData omits it — index.html renders it.

Did not delete interactiveCopy from app.js: legacy page still consumes
it, and verify.mjs still asserts against it. Did not migrate the
labels (data.labels.*) — those live inside render functions in app.js
and belong to 15d.
This commit is contained in:
Marcos Paulo
2026-09-05 18:48:07 +00:00
parent 99ccc8e249
commit fc063f606a
28 changed files with 507 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
{
"id": "scaffold",
"number": "03",
"title": { "en": "Choose only useful anatomy", "pt": "Escolha apenas a anatomia útil" },
"question": {
"en": "What must be instructions, executable, consulted, or copied?",
"pt": "O que deve ser instrução, executável, consultado ou copiado?"
},
"action": {
"en": "Keep shared guidance in SKILL.md. Add scripts for repeated deterministic work, references for conditional facts, and assets for generated output.",
"pt": "Mantenha orientação comum em SKILL.md. Adicione scripts para trabalho determinístico, referências para fatos condicionais e assets para saída."
},
"output": {
"en": "Smallest folder structure that supports the workflow.",
"pt": "A menor estrutura de pastas que sustenta o fluxo."
},
"proof": {
"en": "Every file has a real caller; no placeholder directories.",
"pt": "Cada arquivo tem um consumidor real; nenhuma pasta placeholder."
}
}