diff --git a/src/pages/full-guide.astro b/src/pages/full-guide.astro index 3d1c1ed..514f7e2 100644 --- a/src/pages/full-guide.astro +++ b/src/pages/full-guide.astro @@ -55,6 +55,9 @@ const efforts = toRecord(effortEntries); const skillFiles = toRecord(skillFileEntries); const skillWorkflow = toRecord(workflowEntries); const commonSkills = toRecord(commonSkillEntries); +const sortedCommonSkills = Object.values(commonSkills).sort((a, b) => + a.number.localeCompare(b.number), +); const handsOn = promptEntries.find(({ data }) => data.id === 'tiny-tasks')?.data; const install = installEntries.find(({ data }) => data.id === 'install')?.data; if (!handsOn || !install) throw new Error('full-guide content collections are incomplete'); @@ -766,7 +769,16 @@ const base = import.meta.env.BASE_URL;

- Skills + { + /* Under Portuguese the legacy page paints the long skill sentence + here, not "Skills": its `.skills > div:first-child > p` selector + also matches this eyebrow and overwrites it. Reproduced on + purpose -- see .agents/rules/content-i18n.md. */ + } + Skills

Write the right way
once.
Uma skill é um procedimento reutilizável. Ela pode carregar instruções, referências, scripts e assets. Não é memória mágica e não substitui critérios de aceitação. -

01 / trigger clearly
{ - Object.values(commonSkills).map((skill) => ( + /* getCollection's order is not the deck's order. Sort by the + card number so the tabs stay 01..07 as the legacy page has + them, instead of shifting between builds. */ + sortedCommonSkills.map((skill) => (