en un clic
triage
// Trigger the issue triage workflow for a specific issue. Usage: /triage {issue_number}
// Trigger the issue triage workflow for a specific issue. Usage: /triage {issue_number}
| name | triage |
| description | Trigger the issue triage workflow for a specific issue. Usage: /triage {issue_number} |
Trigger the automated issue triage GitHub Actions workflow for the specified issue.
Trigger the Issue Triage workflow via workflow_dispatch for issue number $ARGUMENTS.
# Check the argument is a number
issue_number="$ARGUMENTS"
if ! [[ "$issue_number" =~ ^[0-9]+$ ]]; then
echo "Error: provide an issue number, e.g. /triage 275"
exit 1
fi
# Verify the issue exists
gh issue view "$issue_number" --json number,title,state,labels --jq '"#\(.number): \(.title) [\(.state)]"'
Check if the issue already has a triage label. If so, inform the user and ask whether to re-triage (which requires removing the existing triage label first).
for label in "triage: investigated" "triage: needs-info" "triage: duplicate" "triage: not-actionable" "triage: needs-human"; do
gh issue edit "$issue_number" --remove-label "$label" 2>/dev/null || true
done
gh workflow run "Issue Triage" -f issue_number="$issue_number"
# Wait for the run to appear
sleep 5
run_id=$(gh run list --workflow issue-triage.yml --limit 1 --json databaseId --jq '.[0].databaseId')
echo "Workflow run: https://github.com/aaddrick/claude-desktop-debian/actions/runs/$run_id"
# Watch it
gh run watch "$run_id"
After the run completes, show the issue's updated labels and the latest comment:
gh issue view "$issue_number" --json labels --jq '[.labels[].name]'
gh issue view "$issue_number" --json comments --jq '.comments[-1].body'
Use when creating new agents, editing existing agents, or defining specialized subagent roles for the Task tool
Use when given a GitHub issue number and base branch to implement end-to-end
Use after resolving a bug, failed task, or unexpected agent behavior to improve the pipeline skills, agents, hooks, or scripts that contributed to the problem. Also proactively suggest improvements when recurring patterns or inefficiencies are observed.
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Install build and extraction tools needed for building Claude Desktop Debian packages
Run shellcheck and actionlint on shell scripts and GitHub Actions workflows. Use before pushing or when fixing lint issues.