83c956c2b6
The seven selector buttons were rendering `kind` and `use`, which belong to the detail panel. ponytail's button read "SIMPLIFICATION INSTINCT" and a full paragraph of prose where today's page reads "SIMPLIFY" and "minimum code that holds". English was wrong, not just Portuguese missing, on all seven. Those two lines are not in `interactiveCopy`, which is why task 05b had nothing to migrate them from: the English lives in the `full-guide/index.html` markup and the Portuguese in `translations.pt`. Adds `label` and `tagline` to the `commonSkills` schema and to all seven entries, both taken verbatim from those two sources, and points the buttons at them. The panel keeps reading `kind` and `use`. This closes the last 13 of the 102 `translations.pt` entries. Coverage in `dist/full-guide/index.html` is now 102 of 102. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
26 lines
1.2 KiB
JSON
26 lines
1.2 KiB
JSON
{
|
||
"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",
|
||
"label": { "en": "REVIEW", "pt": "REVISAR" },
|
||
"tagline": { "en": "standards × spec", "pt": "padrões × especificação" }
|
||
}
|