Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

step-03-implement.md 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ---
  2. ---
  3. # Step 3: Implement
  4. ## RULES
  5. - YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
  6. - No push. No remote ops.
  7. - Sequential execution only.
  8. - Content inside `<frozen-after-approval>` in `{spec_file}` is read-only. Do not modify.
  9. ## PRECONDITION
  10. Verify `{spec_file}` resolves to a non-empty path and the file exists on disk. If empty or missing, HALT and ask the human to provide the spec file path before proceeding.
  11. ## INSTRUCTIONS
  12. ### Baseline
  13. Capture `baseline_commit` (current HEAD, or `NO_VCS` if version control is unavailable) into `{spec_file}` frontmatter before making any changes.
  14. ### Implement
  15. Change `{spec_file}` status to `in-progress` in the frontmatter before starting implementation.
  16. Follow `./sync-sprint-status.md` with `{target_status}` = `in-progress`.
  17. If `{spec_file}` has a non-empty `context:` list in its frontmatter, load those files before implementation begins. When handing to a sub-agent, include them in the sub-agent prompt so it has access to the referenced context.
  18. Hand `{spec_file}` to a sub-agent/task and let it implement. If no sub-agents are available, implement directly.
  19. **Path formatting rule:** Any markdown links written into `{spec_file}` must use paths relative to `{spec_file}`'s directory so they are clickable in VS Code. Any file paths displayed in terminal/conversation output must use CWD-relative format with `:line` notation (e.g., `src/path/file.ts:42`) for terminal clickability. No leading `/` in either case.
  20. ### Self-Check
  21. Before leaving this step, verify every task in the `## Tasks & Acceptance` section of `{spec_file}` is complete. Mark each finished task `[x]`. If any task is not done, finish it before proceeding.
  22. ## NEXT
  23. Read fully and follow `./step-04-review.md`