github-issue-automation-evidence-fields
Use when building GitHub issue classifiers, dashboards, closeout verifiers, or queue/report automation that depends on comments, approval evidence, or linked PR handoff state.
Best use case
github-issue-automation-evidence-fields is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Use when building GitHub issue classifiers, dashboards, closeout verifiers, or queue/report automation that depends on comments, approval evidence, or linked PR handoff state.
Teams using github-issue-automation-evidence-fields should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/github-issue-automation-evidence-fields/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How github-issue-automation-evidence-fields Compares
| Feature / Agent | github-issue-automation-evidence-fields | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Use when building GitHub issue classifiers, dashboards, closeout verifiers, or queue/report automation that depends on comments, approval evidence, or linked PR handoff state.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# GitHub Issue Automation Evidence Fields
## When to use
Use this skill for the class of tasks where you are building or validating automation over GitHub issues and the automation must classify issues based on evidence beyond labels/title/body, such as:
- issue comments
- approval request / approval marker evidence
- linked or closing PR evidence
- handoff comments
- closeout verification state
- queue dashboards or lane classifiers
Do not use this for simple one-off label changes or issue comments; `github-issues` is enough for those.
## Core pattern: list broad, then enrich
`gh issue list` is good for the broad candidate sweep, but it does not provide enough evidence-bearing detail for robust automation. If your classifier/validator depends on comments or PR linkage, enrich each candidate with `gh issue view`.
```bash
# 1) Broad sweep for candidate numbers and cheap metadata
gh issue list --state open --limit 200 --json number,title,labels,state,updatedAt
# 2) Per-issue enrichment for evidence-bearing fields
gh issue view <number> --json number,title,state,labels,comments,closedByPullRequestsReferences,url
```
## Important gh field gotcha
For linked/closing PR evidence, use:
```bash
gh issue view <number> --json closedByPullRequestsReferences
```
Do not use `closedByPullRequests`; it is not a valid `gh issue view --json` field and will fail.
Quick verification:
```bash
gh issue view <number> --json comments,closedByPullRequestsReferences --jq 'keys'
# expected includes: ["closedByPullRequestsReferences", "comments"]
```
## Classifier design rules
1. Treat missing evidence channels as observability degradation, not proof of absence.
- Example: a missing dispatch ledger means global degraded visibility; it does not prove every issue has no active dispatch.
2. Separate global warnings from per-issue blockers.
- Global warnings belong in top-level report metadata.
- Per-issue warnings should only describe evidence specific to that issue.
3. Do not classify implementation-output / QA-handoff solely from labels.
- Enrich with comments and PR references so unlabeled but real handoff evidence is not missed.
4. For generated queue/report artifacts, include both:
- machine-readable JSON for downstream automation
- human-readable Markdown for morning/overnight operator review
5. For overnight implementation suggestions, cap new dispatch recommendations separately from QA/handoff saturation.
- This avoids over-dispatching while still surfacing review-ready work.
## Minimal Python subprocess helper
```python
import json
import subprocess
def gh_json(args):
proc = subprocess.run(
["gh", *args],
check=True,
text=True,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
)
return json.loads(proc.stdout or "null")
issues = gh_json([
"issue", "list",
"--state", "open",
"--limit", "200",
"--json", "number,title,labels,state,updatedAt",
])
for issue in issues:
detail = gh_json([
"issue", "view", str(issue["number"]),
"--json", "number,title,state,labels,comments,closedByPullRequestsReferences,url",
])
# classify using detail, not the shallow list row alone
```
## Verification checklist
Before trusting an issue-automation report:
- [ ] The broad issue list command succeeded.
- [ ] Evidence-bearing candidates were enriched with `gh issue view`.
- [ ] The code uses `closedByPullRequestsReferences`, not `closedByPullRequests`.
- [ ] Missing external ledgers or optional evidence stores appear as global warnings.
- [ ] Per-issue warnings are only issue-specific.
- [ ] Generated JSON and Markdown reports are deterministic enough for review/diffing.
- [ ] Tests cover unlabeled issues that still have PR/handoff evidence.Related Skills
plan-gated-issue-execution-wave
Execute a multi-issue architecture/planning wave in a plan-gated repo, then safely transition approved issues into implementation with file-based Codex prompts, local approval markers, subprocess monitoring, and cleanup handling for sandbox/hook edge cases.
taxact-browser-automation-patterns
Patterns for automating TaxAct Business online (Ionic SPA) via Chrome browser MCP tools — field interaction, navigation, shadow DOM handling
tax-filing-session-setup-with-github-tracking
Structured workflow for preparing and tracking a tax filing session using prepared documents, task checklist, and GitHub issue cross-referencing
tax-filing-session-setup-with-github-traceability
Structured workflow for setting up a multi-file tax filing session with GitHub issue tracking and prepared-file validation
staged-issue-tree-creation-with-deduplication
Pattern for creating hierarchical GitHub issue trees from phased project plans while checking for duplicate/overlapping issues
plan-gated-issue-validation-workflow
Systematic validation pattern for plan-approved GitHub issues with pre-existing deliverables
plan-gated-issue-implementation
Workflow for executing pre-approved GitHub issues with mandatory validation checkpoints
handle-pdf-download-popups-in-automation
Recover when PDF download buttons open inaccessible popups; fall back to capturing structured data instead
handle-browser-automation-financial-site-blocks
Workflow for working around Chrome extension blocks on financial sites during data collection tasks
github-issue-structure-for-personal-finance-tracking
Pattern for organizing financial analysis work across multiple repos (data/config vs. logic separation)
plan-draft-review-artifact-truthfulness-and-issue-body-alignment
Keep plan drafts truthful during adversarial review loops by verifying real provider artifact state on disk and aligning the GitHub issue body to the bounded plan tranche before claiming approval-readiness.
parallel-llm-wiki-gap-to-issues
Use parallel subagents to mine remaining LLM-wiki/document-intelligence gaps, de-duplicate against existing GitHub issues, then create only the strongest bounded follow-on issues.