skills/amia-github-pr-context/SKILL.md
Use when retrieving PR context including metadata, diff, and changed files for code review planning. Trigger with /review-pr [PR_NUMBER]. Loaded by ai-maestro-integrator-agent-main-agent.
npx skillsauth add emasoft/ai-maestro-integrator-agent amia-github-pr-contextInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Retrieves comprehensive GitHub Pull Request context (metadata, changed files, diffs) for code review planning and task delegation.
gh auth status)gh auth status and python3 --versionamia_get_pr_context.pyamia_get_pr_files.pyamia_get_pr_diff.py--pr NUMBER, optionally --repo OWNER/REPO--stat for summary or --files f1.py f2.py for specific filesjq; check exit codes (0=ok, 1=bad params, 2=not found, 3=API error, 4=not authed)Copy this checklist and track your progress:
--pr NUMBER parameter provided| Script | Output | Key Fields |
|--------|--------|------------|
| amia_get_pr_context.py | JSON | number, title, state, author, mergeable, files[], labels[], reviewers[] |
| amia_get_pr_files.py | JSON array | filename, status, additions, deletions, patch (optional) |
| amia_get_pr_diff.py | Diff text or JSON stats | Diff hunks or files_changed, insertions, deletions |
Output discipline: All scripts support
--output-file <path>.
PR Analysis:
Operations:
Extended Guide:
See detailed-guide for full reference:
If a script fails, check the exit code and stderr output. Common issues:
See the detailed guide above for detailed error scenarios.
Full reference: detailed-guide:
python3 amia_get_pr_context.py --pr 123
python3 amia_get_pr_context.py --pr 456 --repo owner/repo-name
python3 amia_get_pr_diff.py --pr 123 --stat
development
Use when enforcing TDD via RED-GREEN-REFACTOR. No production code without a failing test first. Trigger with /enforce-tdd. Loaded by ai-maestro-integrator-agent-main-agent.
data-ai
Use when resuming sessions. Trigger with session resumption. Loaded by ai-maestro-integrator-agent-main-agent.
devops
Software release management and coordination. Use when creating releases, bumping versions, or rolling back deployments. Trigger with release tasks or /amia-create-release. Loaded by ai-maestro-integrator-agent-main-agent.
testing
Use when enforcing quality gates. Trigger with /amia-enforce-gates. Loaded by ai-maestro-integrator-agent-main-agent.