بنقرة واحدة
done-task
Mark a task as done — close the GitHub issue and clean up labels
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Mark a task as done — close the GitHub issue and clean up labels
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
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
| 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.