Skip to content

Commit 9953b1f

Browse files
iagolagunaclaude
andcommitted
docs(ai): translate AGENTS.md, constitution, skills, templates and scripts to English
Project documentation standard is English. The initial bootstrap was written in Portuguese; this commit translates all AI artifacts while keeping structure, links and frontmatter intact so the AI Week review checks still pass. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 60a7d43 commit 9953b1f

25 files changed

Lines changed: 601 additions & 580 deletions

File tree

.agents/skills/implementing/SKILL.md

Lines changed: 41 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -6,49 +6,51 @@ type: skill
66

77
# implementing
88

9-
Use esta skill quando o usuário disser "implementa", "implementa essa spec",
10-
"implementa specs/<feature>.md", ou pedir execução autônoma a partir de uma
11-
spec já aprovada.
12-
13-
## Pré-requisitos
14-
15-
- `specs/<feature>/spec.md` existe, aprovado pelo usuário.
16-
- Constituição lida ([.specify/memory/constitution.md](../../../.specify/memory/constitution.md)).
17-
- AGENTS.md lido para limites de autonomia.
18-
19-
Se algum desses faltar, **pare** e peça para o usuário rodar a skill
20-
`specification` primeiro.
21-
22-
## Fluxo
23-
24-
1. **Branch.** `git checkout -b feat/<feature-slug>` (use `fix/<slug>` para
25-
bug fix, `chore/<slug>` para tooling).
26-
2. **Quebrar em tasks.** Liste 3–8 tasks concretas em TodoWrite.
27-
3. **Implementar task-a-task.**
28-
- Para cada task: editar arquivos → rodar `yarn lint --fix` → rodar
29-
`yarn test` no escopo afetado → marcar task completa.
30-
- Nunca pule testes. Princípio 2 da constitution.
31-
4. **Lint & types.** Rode `yarn lint` e `yarn lint:ts` antes de commitar.
32-
5. **i18n.** Se adicionou string visível, rode `yarn lint:locales`.
33-
Princípio 3 da constitution.
34-
6. **Build.** `yarn build` precisa passar.
35-
7. **Commit.** Use `speckit-git-commit` para formatar Conventional Commits.
36-
8. **PR.** Abra com `gh pr create` linkando a spec, princípios afetados,
37-
e plano de teste manual.
9+
Use this skill when the user says "implement it", "implement this spec",
10+
"implement specs/<feature>.md", or asks for autonomous execution from an
11+
already-approved spec.
12+
13+
## Prerequisites
14+
15+
- `specs/<feature>/spec.md` exists and is approved by the user.
16+
- Constitution has been read
17+
([.specify/memory/constitution.md](../../../.specify/memory/constitution.md)).
18+
- AGENTS.md has been read for autonomy limits.
19+
20+
If any of these is missing, **stop** and ask the user to run the
21+
`specification` skill first.
22+
23+
## Flow
24+
25+
1. **Branch.** `git checkout -b feat/<feature-slug>` (use `fix/<slug>`
26+
for bug fixes, `chore/<slug>` for tooling).
27+
2. **Break into tasks.** List 3–8 concrete tasks in TodoWrite.
28+
3. **Implement task by task.**
29+
- For each task: edit files → run `yarn lint --fix` → run
30+
`yarn test` in the affected scope → mark task complete.
31+
- Never skip tests. Principle 2 of the constitution.
32+
4. **Lint & types.** Run `yarn lint` and `yarn lint:ts` before
33+
committing.
34+
5. **i18n.** If a visible string was added, run `yarn lint:locales`.
35+
Principle 3 of the constitution.
36+
6. **Build.** `yarn build` must pass.
37+
7. **Commit.** Use `speckit-git-commit` to format Conventional Commits.
38+
8. **PR.** Open with `gh pr create`, linking the spec, principles
39+
affected, and manual test plan.
3840

3941
## Autonomy limits
4042

41-
Veja [AGENTS.md](../../../AGENTS.md). Em resumo:
43+
See [AGENTS.md](../../../AGENTS.md). In short:
4244

43-
- **Não tocar** `manifest.json`, `package.json`, `.travis.yml`,
44-
`.github/`, `.vtex/deployment.yaml` sem confirmação explícita.
45-
- **Não publicar.** `vtex publish` e `npm publish` são manuais.
46-
- **Não force-push** na branch que já tem PR aberto.
45+
- **Do not touch** `manifest.json`, `package.json`, `.travis.yml`,
46+
`.github/`, `.vtex/deployment.yaml` without explicit confirmation.
47+
- **Do not publish.** `vtex publish` and `npm publish` are manual.
48+
- **Do not force-push** to a branch that already has an open PR.
4749

48-
## Quando reportar de volta
50+
## When to pause and report
4951

50-
Pause e reporte para o usuário quando:
52+
Pause and report back to the user when:
5153

52-
- O build falhar de um jeito que sugere mudança em dep range.
53-
- O typecheck encontrar problema em código que você não tocou.
54-
- Uma decisão de produto/UX não estiver na spec.
54+
- The build fails in a way that suggests a dependency range change.
55+
- Typecheck flags an issue in code you did not touch.
56+
- A product/UX decision is not covered by the spec.

.agents/skills/specification/SKILL.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,53 +6,53 @@ type: skill
66

77
# specification
88

9-
Use esta skill quando o usuário pedir para "criar uma spec", "escrever um SDD",
10-
ou referenciar um arquivo em `specs/`. O entregável é um arquivo
11-
`specs/<feature-slug>/spec.md` com três seções obrigatórias.
9+
Use this skill when the user asks to "create a spec", "write an SDD", or
10+
references a file under `specs/`. The deliverable is a
11+
`specs/<feature-slug>/spec.md` file with three mandatory sections.
1212

13-
## Quando usar
13+
## When to use
1414

15-
- Feature nova que toca o contrato público do `PickupPointsModal`.
16-
- Mudança de arquitetura (novo container, novo fluxo de estado).
17-
- Refactor com impacto cross-cutting (i18n, fetchers, mapa).
15+
- New feature that touches the public contract of `PickupPointsModal`.
16+
- Architectural change (new container, new state flow).
17+
- Refactor with cross-cutting impact (i18n, fetchers, map).
1818

19-
**Não use** para bug fix pontual ou tweak de estilo — vai direto para
20-
`implementing` ou `speckit-git-commit`.
19+
**Do not use** for a one-off bug fix or a styling tweak — go straight to
20+
`implementing` or `speckit-git-commit`.
2121

22-
## Estrutura do entregável
22+
## Deliverable structure
2323

2424
```markdown
2525
# Spec: <feature>
2626

2727
## Business Context
28-
- Problema que estamos resolvendo
29-
- Stakeholders (quem pediu, quem é impactado)
30-
- Métricas de sucesso
28+
- Problem being solved
29+
- Stakeholders (who asked, who is impacted)
30+
- Success metrics
3131

3232
## Architectural Decisions
33-
- Componentes/arquivos afetados
34-
- Alternativas consideradas + por que foram descartadas
35-
- Riscos de backward-compatibility (referenciar Principle 1 da constitution)
33+
- Components/files affected
34+
- Alternatives considered + why they were dropped
35+
- Backward-compatibility risk (cite Principle 1 of the constitution)
3636

3737
## Technical Contract
38-
- Mudanças em props/eventos
39-
- Mudanças em fixtures/mocks
40-
- Plano de testes (golden path + edge cases)
41-
- Plano de i18n (chaves novas, locales tocados)
42-
- Critérios de aceite verificáveis
38+
- Changes to props/events
39+
- Changes to fixtures/mocks
40+
- Test plan (golden path + edge cases)
41+
- i18n plan (new keys, locales touched)
42+
- Verifiable acceptance criteria
4343
```
4444

45-
## Inputs esperados
45+
## Expected inputs
4646

47-
- Descrição em linguagem natural da feature.
48-
- Link para ticket Jira/issue se existir.
49-
- Lista de arquivos suspeitos (se o usuário já investigou).
47+
- Natural-language description of the feature.
48+
- Link to a Jira/issue ticket if one exists.
49+
- List of suspected files (if the user has already investigated).
5050

51-
## Como aplicar
51+
## How to apply
5252

53-
1. Ler [.specify/memory/constitution.md](../../../.specify/memory/constitution.md)
54-
para entender princípios vinculantes.
55-
2. Ler [AGENTS.md](../../../AGENTS.md) para limites de autonomia.
56-
3. Esboçar as 3 seções com `TBD` onde faltar input.
57-
4. Apresentar para o usuário antes de criar o arquivo final.
58-
5. Não implementar nada — apenas spec.
53+
1. Read [.specify/memory/constitution.md](../../../.specify/memory/constitution.md)
54+
to understand binding principles.
55+
2. Read [AGENTS.md](../../../AGENTS.md) for autonomy limits.
56+
3. Sketch the 3 sections with `TBD` markers where input is missing.
57+
4. Present the draft to the user before creating the final file.
58+
5. Do not implement anything — spec only.

.agents/skills/speckit-analyze/SKILL.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,37 @@ type: skill
66

77
# speckit-analyze
88

9-
Auditoria leve antes de abrir o PR. Detecta drift entre os 4 artefatos:
10-
spec → plan → tasks → código.
9+
Lightweight audit before opening the PR. Detects drift across the four
10+
artifacts: spec → plan → tasks → code.
1111

12-
## Quando usar
12+
## When to use
1313

14-
- Depois de `speckit-implement` e antes do `gh pr create`.
15-
- Quando o autor da spec é diferente do implementador.
16-
- Antes de pedir review humano em feature grande.
14+
- After `speckit-implement` and before `gh pr create`.
15+
- When the spec author is different from the implementer.
16+
- Before requesting human review on a large feature.
1717

1818
## Checks
1919

20-
1. **Spec → Plan:** todo critério de aceite da spec aparece como
21-
item no plano?
22-
2. **Plan → Tasks:** todo arquivo listado em "Files to touch" tem ao
23-
menos uma task?
24-
3. **Tasks → Code:** todo arquivo modificado em `git diff` está em
25-
alguma task?
26-
4. **Constitution check:** o diff respeita os 5 princípios?
20+
1. **Spec → Plan:** does every acceptance criterion from the spec
21+
appear as an item in the plan?
22+
2. **Plan → Tasks:** does every file listed under "Files to touch"
23+
have at least one task?
24+
3. **Tasks → Code:** is every file modified in `git diff` covered by
25+
some task?
26+
4. **Constitution check:** does the diff respect the 5 principles?
2727

2828
## Output
2929

30-
Relatório em markdown listando:
30+
A markdown report listing:
3131

32-
- ✅ Items alinhados
33-
- ⚠️ Drift (mudou no código mas não na task / spec)
34-
-Faltando (criterio de aceite sem implementação)
32+
- ✅ Items in sync
33+
- ⚠️ Drift (changed in code but not in the task/spec)
34+
-Missing (acceptance criterion without implementation)
3535

36-
Não corrige nada — só reporta. O usuário decide se atualiza spec/plan
37-
ou se reverte o código.
36+
It does not fix anything — it only reports. The user decides whether to
37+
update spec/plan or revert the code.
3838

39-
## Importante
39+
## Important
4040

41-
`speckit-analyze` é **read-only**. Nunca edita spec, plan, tasks ou
42-
código. Se encontrar drift, retorna o relatório e para.
41+
`speckit-analyze` is **read-only**. It never edits the spec, plan,
42+
tasks or code. If drift is found, it returns the report and stops.

.agents/skills/speckit-checklist/SKILL.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,47 +6,47 @@ type: skill
66

77
# speckit-checklist
88

9-
Gera um checklist de validação para colocar no PR description ou em
10-
`specs/<slug>/checklist.md`. Não é genérico — é derivado da spec e dos
11-
princípios da constituição.
9+
Generates a validation checklist to drop into the PR description or
10+
into `specs/<slug>/checklist.md`. Not generic — it is derived from the
11+
spec and the constitution principles.
1212

13-
## Quando usar
13+
## When to use
1414

15-
- Antes de pedir review humano.
16-
- Em features que tocam checkout-critical paths.
15+
- Before requesting human review.
16+
- On features touching checkout-critical paths.
1717

18-
## Estrutura
18+
## Structure
1919

2020
```markdown
2121
# Checklist — <feature>
2222

2323
## Pre-merge gates
24-
- [ ] `yarn lint` passa
25-
- [ ] `yarn lint:ts` passa
26-
- [ ] `yarn test` passa
27-
- [ ] `yarn lint:locales` passa (se mexeu em i18n)
28-
- [ ] `yarn build` passa
29-
- [ ] CHANGELOG atualizado se mudança visível
24+
- [ ] `yarn lint` passes
25+
- [ ] `yarn lint:ts` passes
26+
- [ ] `yarn test` passes
27+
- [ ] `yarn lint:locales` passes (if i18n was touched)
28+
- [ ] `yarn build` passes
29+
- [ ] CHANGELOG updated if the change is user-visible
3030

3131
## Constitution checks
32-
- [ ] Princípio 1: contrato público preservado ou major bump
33-
- [ ] Princípio 2: testes cobrem golden path + edge case
34-
- [ ] Princípio 3: chaves novas em todos os locales
35-
- [ ] Princípio 4: sem regressão de bundle/TTI
36-
- [ ] Princípio 5: utils novos são puros
32+
- [ ] Principle 1: public contract preserved or major bump
33+
- [ ] Principle 2: tests cover golden path + edge case
34+
- [ ] Principle 3: new keys present in every locale
35+
- [ ] Principle 4: no bundle/TTI regression
36+
- [ ] Principle 5: new utilities are pure
3737

3838
## Manual QA
39-
- [ ] Cenário <X> testado no demo (`yarn start`)
40-
- [ ] Funciona com `searchAddress` vazio
41-
- [ ] Funciona com 0 pickup points retornados
42-
- [ ] Funciona em locale `pt-BR` e `en-US`
39+
- [ ] Scenario <X> tested in the demo (`yarn start`)
40+
- [ ] Works with empty `searchAddress`
41+
- [ ] Works with 0 pickup points returned
42+
- [ ] Works in `pt-BR` and `en-US` locales
4343

4444
## Rollback plan
45-
- Branch revertível? <sim/não>
46-
- Migração de dados? <sim/não>
47-
- Feature flag? <nome>
45+
- Branch revertable? <yes/no>
46+
- Data migration? <yes/no>
47+
- Feature flag? <name>
4848
```
4949

5050
## Template
5151

52-
Veja [.specify/templates/checklist-template.md](../../../.specify/templates/checklist-template.md).
52+
See [.specify/templates/checklist-template.md](../../../.specify/templates/checklist-template.md).

.agents/skills/speckit-clarify/SKILL.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,36 @@ type: skill
66

77
# speckit-clarify
88

9-
Gera perguntas focadas para destravar uma spec com TBDs ou ambiguidades.
10-
Roda entre `speckit-specify` e `speckit-plan`.
9+
Generates focused questions to unblock a spec with TBDs or ambiguities.
10+
Runs between `speckit-specify` and `speckit-plan`.
1111

12-
## Quando usar
12+
## When to use
1313

14-
- `spec.md` tem 2+ `TBD` em campos obrigatórios.
15-
- Critério de aceite vago ("deve funcionar bem").
16-
- Stakeholder não foi explícito em edge cases.
14+
- `spec.md` has 2+ `TBD` markers in required fields.
15+
- Vague acceptance criteria ("it should just work well").
16+
- A stakeholder was not explicit about edge cases.
1717

18-
## Fluxo
18+
## Flow
1919

20-
1. Ler `specs/<slug>/spec.md`.
21-
2. Identificar lacunas em:
22-
- Business Context (quem, por quê, métrica)
23-
- Architectural Decisions (alternativas, riscos)
24-
- Technical Contract (props, fixtures, i18n, aceite)
25-
3. Gerar **no máximo 5 perguntas** por iteração, em ordem de impacto.
26-
4. Aguardar respostas do usuário.
27-
5. Atualizar `spec.md` com as respostaspreservar o histórico em
28-
`## Clarifications` no fim do arquivo.
20+
1. Read `specs/<slug>/spec.md`.
21+
2. Identify gaps in:
22+
- Business Context (who, why, metric)
23+
- Architectural Decisions (alternatives, risks)
24+
- Technical Contract (props, fixtures, i18n, acceptance)
25+
3. Generate **at most 5 questions** per iteration, ordered by impact.
26+
4. Wait for user replies.
27+
5. Update `spec.md` with the answerspreserve history under a
28+
`## Clarifications` section at the end of the file.
2929

30-
## Perguntas boas
30+
## Good questions
3131

32-
- Específicas: "O modal deve fechar ao escolher um pickup? Antes ou
33-
depois do confirm?"
34-
- Acionáveis: a resposta muda o plan.
35-
- Únicas: não repete o que já está respondido na spec.
32+
- Specific: "Should the modal close when a pickup is chosen? Before or
33+
after the confirm step?"
34+
- Actionable: the answer changes the plan.
35+
- Unique: not already answered earlier in the spec.
3636

37-
## Perguntas ruins
37+
## Bad questions
3838

39-
- "Tem mais alguma coisa?"
40-
- "O que você acha?"
41-
- Perguntas que o agente pode responder lendo o código.
39+
- "Anything else?"
40+
- "What do you think?"
41+
- Questions the agent could answer by reading the code.

0 commit comments

Comments
 (0)