update-tests
Installation
SKILL.md
Update Tests Skill
Summary
Goal: Detect changes in docs/test-specs/ feature documents and update corresponding test files to reflect added, modified, or removed TC-IDs.
| Step | Action | Key Notes |
|---|---|---|
| 1 | Accept feature name | Locate spec doc under docs/test-specs/{Feature}/README.md |
| 2 | Detect changes via git diff | Compare current vs previous version of spec doc |
| 3 | Diff TC-IDs old vs new | Identify added, modified, removed TC-IDs |
| 4 | Locate affected test files | Map TC-IDs to existing test methods via Grep |
| 5 | Apply updates | Add new, modify changed, mark removed as skipped |
| 6 | Update sync marker | Write .last-sync with timestamp and TC-ID list |
| 7 | Report changes | Summary of all modifications |