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:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "research",
|
||||
"number": "04",
|
||||
"kind": { "en": "SOURCE DISCIPLINE", "pt": "DISCIPLINA DE FONTES" },
|
||||
"title": "research",
|
||||
"rule": { "en": "Trace claims to owners.", "pt": "Leve afirmações até suas fontes." },
|
||||
"use": {
|
||||
"en": "Use when APIs, standards, architecture facts, or current behavior must be verified. Capture findings in a cited note, prioritizing primary sources.",
|
||||
"pt": "Use quando APIs, padrões, fatos de arquitetura ou comportamento atual precisam ser verificados. Registre achados citados, priorizando fontes primárias."
|
||||
},
|
||||
"example": {
|
||||
"en": "Git behavior → git-scm.com docs, not a remembered blog summary.",
|
||||
"pt": "Comportamento do Git → documentação git-scm.com, não memória de um blog."
|
||||
},
|
||||
"caution": {
|
||||
"en": "Practitioner articles add context; they do not override official behavior.",
|
||||
"pt": "Artigos de praticantes dão contexto; não substituem comportamento oficial."
|
||||
},
|
||||
"source": "https://github.com/mattpocock/skills/blob/6654f6b60cd9d5be8b54c6fafe44346dabeb3b76/skills/engineering/research/SKILL.md"
|
||||
}
|
||||
Reference in New Issue
Block a user