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,17 @@
|
||||
{
|
||||
"id": "caveman",
|
||||
"number": "02",
|
||||
"kind": { "en": "COMMUNICATION STYLE", "pt": "ESTILO DE COMUNICAÇÃO" },
|
||||
"title": "caveman",
|
||||
"rule": { "en": "Signal first. Drop filler.", "pt": "Sinal primeiro. Corte o excesso." },
|
||||
"use": {
|
||||
"en": "Use for routine status, handoffs, and technical summaries where speed matters. Short fragments make actions and evidence easy to scan.",
|
||||
"pt": "Use em status, handoffs e resumos técnicos rotineiros onde velocidade importa. Fragmentos curtos facilitam localizar ações e evidências."
|
||||
},
|
||||
"example": { "en": "Built. Tests pass. Published.", "pt": "Feito. Testes passaram. Publicado." },
|
||||
"caution": {
|
||||
"en": "Drop the style for security warnings, irreversible actions, and sequences where terse wording can be misread.",
|
||||
"pt": "Abandone o estilo em alertas de segurança, ações irreversíveis e sequências onde concisão pode causar erro."
|
||||
},
|
||||
"source": "https://github.com/JuliusBrussee/caveman/blob/3b74643f4d910f496babd4e634b1ba7168816f14/skills/caveman/SKILL.md"
|
||||
}
|
||||
Reference in New Issue
Block a user