execute-review
DEPRECATED: This skill has been renamed. Please use
agkan-reviewinstead.Skill("agkan-review")
execute-review
Overview
Workflow to retrieve tasks with Review status in agkan, check the merge/close status of GitHub PRs, and automatically update their status.
Workflow
1. Retrieve Review tasks
agkan task list --status review --json
2. Confirm PR URL for each task
Extract the PR URL from the task body in the format PR: <URL>.
If no URL is found, skip the task and output a message indicating manual verification is needed.
3. Check PR status on GitHub
gh pr view <PR URL> --json state,mergedAt
| Field | Meaning |
|---|---|
state |
OPEN / CLOSED / MERGED |
mergedAt |
Merge date/time (null if not merged) |
4. Move status based on PR status
| PR State | agkan Status | Command |
|---|---|---|
MERGED |
done |
agkan task update <id> --status done |
CLOSED (mergedAt is null) |
closed |
agkan task update <id> --status closed |
OPEN |
No change | Skip (still under review) |
Decision Flow
Retrieve all Review tasks
↓
Repeat for each task
↓
Does the body contain "PR: <URL>"?
No → Skip (output message prompting manual verification)
Yes → Check PR status
↓
What is the PR state?
MERGED → Move to done
CLOSED → Move to closed
OPEN → Skip (waiting for review)
↓
Move to next task (repeat until all tasks are processed)
Notes
- PR URL is expected in the format
PR: <URL>within the task body - If PR URL is not found, prompt for manual verification (skip task)
donemeans successful completion,closedmeans suspended or withdrawn- The
ghcommand is required and will not work in environments where it is unavailable
More from gendosu/agkan-skills
agkan-planning-subtask
Use when reviewing a single backlog task to assess decomposition, implementation readiness, and priority ordering.
7agkan
Use when managing tasks with the agkan CLI tool - creating, listing, updating tasks, managing tags, blocking relationships, or tracking project progress with the kanban board.
6agkan-review
Use when checking review tasks against GitHub PR status to automatically move them to done or closed.
6agkan-subtask
Use when a task has been selected and you need to implement it in an isolated (forked) context - handles in_progress update, branch creation, implementation, PR creation, and marking review.
6execute-subtask
[DEPRECATED] Use agkan-subtask instead. Use when a task has been selected and you need to implement it in an isolated (forked) context - handles in_progress update, branch creation, implementation, PR creation, and marking done.
6execute-add
[DEPRECATED] Use agkan-add instead. Use when adding a new task to the backlog — collects title, body, tags, priority, and parent task, then creates it with agkan.
6