← 教程列表
coding

Task 5: End-to-End Validation

📅 2026/6/12 16:30:02⏱ 约 5 分钟阅读👁 8 阅读

Verify the full rewritten skills work together. Run the existing test suite plus manual verification. **Files:** - Read: `tests/claude-code/run-skill-tests.sh` - Read: `skills/using-git-worktrees/SKILL.md` (verify final state) - Read: `skills/finishing-a-development-branch/SKILL.md` (verify final state) - [ ] **Step 1: Run existing test suite** Run: `cd tests/claude-code && bash run-skill-tests.sh` Expected: All existing tests pass. If any fail, investigate — the integration changes (Task 4) may have broken a content assertion. - [ ] **Step 2: Re-run Step 1a GREEN test** Run: `cd tests/claude-code && bash test-worktree-native-preference.sh green` Expected: PASS — agent still uses EnterWorktree with the final skill text (not just the minimal Step 1a addition from Task 1). - [ ] **Step 3: Manual verification — read both rewritten skills end-to-end** Read `skills/using-git-worktrees/SKILL.md` and `skills/finishing-a-development-branch/SKILL.md` in their entirety. Check: 1. No references to old behavior (hardcoded `CLAUDE.md`, interactive directory prompt, "REQUIRED" language) 2. Step numbering is consistent within each file 3. Quick Reference tables match the prose 4. Integration sections cross-reference correctly 5. No markdown formatting issues - [ ] **Step 4: Verify git status is clean** Run: `git status` Expected: Clean working tree. All changes committed across Tasks 1-4. - [ ] **Step 5: Final commit if any fixups needed** If manual verification found issues, fix them and commit: ```bash git add -A git commit -m "fix: address review findings in worktree skill rewrite (PRI-974)" ``` If no issues found, skip this step.

← 返回教程列表 AI8899 · 内容仅供学习参考