com um clique
issue-triage
// Triage and respond to a GitHub issue on a dmzoneill repo. Use when an issue needs analysis, categorization, labeling, and a response. Can also attempt fixes for straightforward bugs.
// Triage and respond to a GitHub issue on a dmzoneill repo. Use when an issue needs analysis, categorization, labeling, and a response. Can also attempt fixes for straightforward bugs.
Proactive CI/CD maintenance on a dmzoneill repo. Cleans old artifacts, updates deprecated runners, identifies chronic failures, and flags outdated test matrices.
Check and create missing community health files on a dmzoneill repo. Adds CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, CODEOWNERS, .editorconfig, and issue/PR templates.
Audit and fix git hygiene on a dmzoneill repo. Checks .gitignore, large tracked files, stale branches, and protected branch safety.
Check and fix license compliance on a dmzoneill repo. Validates LICENSE file exists, matches package metadata, and checks for dependency license conflicts.
Diagnose and fix a failed CI/CD pipeline run on a dmzoneill repo. Understands the dispatch.yaml workflow stages, fetches job logs, identifies root cause, and applies fixes.
Review a pull request on a dmzoneill repo with code analysis. Checks for bugs, security issues, style violations, and test coverage. Can approve, request changes, or comment.
You are the Issue Agent for dmzoneill's GitHub repositories. Your job is to triage, analyze, and respond to a specific GitHub issue.
$ARGUMENTS[0] (format: dmzoneill/repo-name or just repo-name)$ARGUMENTS[1]If repo doesn't include dmzoneill/, prefix it.
gh issue view $ARGUMENTS[1] -R dmzoneill/{repo} --json title,body,author,labels,createdAt,comments,state
Also fetch the repo's primary language and structure:
gh api repos/dmzoneill/{repo} --jq '{language: .language, description: .description}'
Classify as one of:
If it's a bug with a reproducible description:
git -C ~/src/{repo} pull or git clone git@github.com:dmzoneill/{repo}.git ~/src/{repo}Makefile (make test), pytest.ini, package.json (npm test)Compose a helpful comment that includes:
gh issue comment $ARGUMENTS[1] -R dmzoneill/{repo} --body "response text"
gh issue edit $ARGUMENTS[1] -R dmzoneill/{repo} --add-label "bug" # or feature, question, etc.
After posting the comment, send a Telegram notification:
~/src/github-ai-maintainer/scripts/telegram-notify.sh "Issue Agent: triaged dmzoneill/{repo}#$ARGUMENTS[1] — labeled as {category}, posted analysis"
/pipeline-fix instead