Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

gen-commit-test-plan.mdc 1.0 KiB

12345678910111213141516171819202122232425262728
  1. ---
  2. description: When user asks to gen test plan(s) for new/recent commit(s), auto-run the Word generator
  3. alwaysApply: true
  4. ---
  5. # Gen commit test plans (simple ask)
  6. If the user says anything like:
  7. - 「gen test plan」 / 「generate test plan」
  8. - 「new commit test plan」 / 「test plan for commit」
  9. - 「產測試計畫」 / 「產生 commit 測試計畫」
  10. - 「有新 commit,幫我出 test plan」
  11. Then **do this immediately** (do not only explain):
  12. 1. Default range: **new / recent commits** = `HEAD~10..HEAD`
  13. - If user gives a SHA or `A..B`, use that.
  14. - If they say “latest / this commit”, use `HEAD~1..HEAD`.
  15. - If they say “since last deploy” and give a SHA, use `<sha>..HEAD`.
  16. 2. Run from repo root:
  17. ```bash
  18. python scripts/generate_commit_test_plans_docx.py <range>
  19. ```
  20. 3. Tell them the output folder: `docs/deploy/commit-plans/` and point to `_index.md`.
  21. 4. Optionally refine the **latest** commit’s plan from the real diff if steps look too generic.
  22. Team how-to: `docs/deploy/HOW_TO_GENERATE_COMMIT_TEST_PLANS.md`