with one click
done-task
Mark a task as done — close the GitHub issue and clean up labels
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Mark a task as done — close the GitHub issue and clean up labels
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Pick the next task from the GitHub project board for this repository
Run a security-focused review of recent changes using the security-reviewer agent
Run tests for a specific package by name or detect from current working directory
Verify a trace file's integrity and evaluate it against a policy in one step
Run documentation governance checks to verify docs consistency and claim accuracy
Review a pull request against Krynix project standards with code-reviewer agent
Based on SOC occupation classification
| name | done-task |
| description | Mark a task as done — close the GitHub issue and clean up labels |
| allowed-tools | Bash |
| user-invocable | true |
| argument-hint | ["issue-number"] |
Mark a GitHub issue as done and clean up project board state.
Determine the repo name:
REPO_NAME=$(basename $(git rev-parse --show-toplevel))
If no issue number provided ($ARGUMENTS is empty), try to detect from branch name:
BRANCH=$(git branch --show-current)
# Extract issue number from branch like feat/issue-42-description
Update labels and close the issue:
gh issue edit $0 --repo PROJECT-OBA/$REPO_NAME --remove-label "in-progress" --remove-label "ready" --add-label "done"
gh issue close $0 --repo PROJECT-OBA/$REPO_NAME
If there's an open PR for this branch, link it in a comment:
PR_URL=$(gh pr list --repo PROJECT-OBA/$REPO_NAME --head $(git branch --show-current) --json url --jq '.[0].url')
if [ -n "$PR_URL" ]; then
gh issue comment $0 --repo PROJECT-OBA/$REPO_NAME --body "Completed in $PR_URL"
fi
Confirm closure to the user with issue title and number.