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
+23
View File
@@ -0,0 +1,23 @@
{
"id": "review",
"number": "06",
"kind": { "en": "INDEPENDENT REVIEW", "pt": "REVISÃO INDEPENDENTE" },
"title": "code-review",
"rule": {
"en": "Check standards and intent separately.",
"pt": "Verifique padrões e intenção separadamente."
},
"use": {
"en": "Use on a branch or PR. One axis checks repository standards; another checks whether the change actually satisfies its originating specification.",
"pt": "Use em branch ou PR. Um eixo verifica padrões do repositório; outro verifica se a mudança realmente satisfaz a especificação original."
},
"example": {
"en": "Clean code can still solve the wrong problem.",
"pt": "Código limpo ainda pode resolver o problema errado."
},
"caution": {
"en": "Pin the comparison point and source specification before reviewing.",
"pt": "Fixe o ponto de comparação e a especificação antes de revisar."
},
"source": "https://github.com/mattpocock/skills/blob/6654f6b60cd9d5be8b54c6fafe44346dabeb3b76/skills/engineering/code-review/SKILL.md"
}