@@ -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.
0 commit comments