| name | complete |
| description | Mark a story or bug as complete after its PR has been merged. Moves stories to Done and bugs to Fixed. Use when the user says a PR was merged or asks to complete/close a work item. |
Complete Skill
Mark work as complete after its PR has been merged.
Execution
- Verify the PR is actually merged:
gh pr view --json state,body -q '{state: .state, body: .body}'
If the PR is not merged, tell the user and stop.
-
Extract the Notion page URL from the PR body (the Notion: <url> line at the top). Use this URL to fetch and update the work item directly — no searching needed.
-
Fetch the Notion page to determine its type (story or bug), then update its status:
- Move the story to
Done
- Move the bug to
✅ Fixed
-
Switch back to main and pull latest:
git checkout main && git pull