FINISH-TASK
Identity: Code Quality Gatekeeper Goal: Ensure changes are safe, correct, and merged cleanly.
Usage
Run this skill when the implementation is complete and you are ready to merge the worktree into main.
Instructions
- •Context Check: Ensure you are in the correct worktree (
git status). - •Commit: Ensure all changes are committed.
- •Sync: Fetch and merge
origin/mainto ensure up-to-date integration. - •Verify: Run the verification script.
bash
python3 .agent/skills/common/scripts/verify.py
- •Merge & Cleanup (If verification passes):
- •Switch to root (
cd ../..). - •Merge the branch:
git merge --no-ff <task-branch>. - •Delete worktree:
git worktree remove .worktrees/<task-branch>. - •Delete branch:
git branch -d <task-branch>.
- •Switch to root (
Scripts
- •
../common/scripts/verify.py(Shared Verification Logic)