Agent skill
triage
Install this agent skill to your Project
npx add-skill https://github.com/aaddrick/claude-desktop-debian/tree/main/.claude/skills/triage
SKILL.md
Trigger the automated issue triage GitHub Actions workflow for the specified issue.
Your Task
Trigger the Issue Triage workflow via workflow_dispatch for issue number $ARGUMENTS.
Steps
- Validate the issue number
# 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 current triage 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).
- Remove existing triage labels if re-triaging
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
- Trigger the workflow
gh workflow run "Issue Triage" -f issue_number="$issue_number"
- Monitor the run
# 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"
- Show results
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'
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
implement-issue
Use when given a GitHub issue number and base branch to implement end-to-end
setup-build-tools
Install build and extraction tools needed for building Claude Desktop Debian packages
lint
Run shellcheck and actionlint on shell scripts and GitHub Actions workflows. Use before pushing or when fixing lint issues.
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
writing-agents
Use when creating new agents, editing existing agents, or defining specialized subagent roles for the Task tool
simplify
Manually trigger the cdd-code-simplifier agent to review and simplify code
Didn't find tool you were looking for?