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,23 @@
|
||||
{
|
||||
"id": "tokens",
|
||||
"number": "07",
|
||||
"kind": { "en": "CONTEXT ECONOMY", "pt": "ECONOMIA DE CONTEXTO" },
|
||||
"title": "token-saver",
|
||||
"rule": {
|
||||
"en": "Keep signal. Strip command noise.",
|
||||
"pt": "Mantenha sinal. Corte ruído de comandos."
|
||||
},
|
||||
"use": {
|
||||
"en": "Use around verbose tests, builds, Git output, and logs. Filtering preserves context for reasoning while retaining full failure output for recovery.",
|
||||
"pt": "Use em testes, builds, saídas Git e logs verbosos. Filtragem preserva contexto para raciocínio e mantém falhas completas para recuperação."
|
||||
},
|
||||
"example": {
|
||||
"en": "200 passing-test lines → one result; failures keep their trace.",
|
||||
"pt": "200 linhas de testes passando → um resultado; falhas mantêm o trace."
|
||||
},
|
||||
"caution": {
|
||||
"en": "Read raw output when exact wording or full diffs matter.",
|
||||
"pt": "Leia saída bruta quando texto exato ou diffs completos importarem."
|
||||
},
|
||||
"source": "https://github.com/aetox-skills/token-saver/blob/8f21188bb043fad411f47e2e57f0365a83c13da7/SKILL.md"
|
||||
}
|
||||
Reference in New Issue
Block a user