issue-pr-templates
Skill1 starsChanged 3 months agoMITView on GitHub
Builds structured GitHub contribution intake - YAML issue forms with required fields and auto-labels, config.yml routing, a pull request template with a working checklist, and starter labels like good first issue. Use when the user asks for issue templates, bug report forms, a PR template, or to stop blank issues. Not for CONTRIBUTING or other prose community files, and not for issue triage.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-skillSkill
- publish-repoSkill
- community-healthSkill
- docs-authorSkill
- docs-siteSkill
- readme-authorSkill
- repo-auditSkill
- repo-discoverabilitySkill
- repo-protectionsSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
Only .yml/.yaml files in that exact directory render.
- Very specific: line 38
If multiple PR templates are requested: GitHub has no picker UI — explain the ?template=name.md query-param workaround and recommend one …
- Distinctive: line 40
Labels: create the ones the forms reference plus the newcomer set:
- Very specific: line 66
Every id must be unique and [a-z0-9-_].
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
issue-pr-templates
Builds the structured intake layer that turns "it's broken, please fix" into
actionable reports. The failure this skill fixes: models write legacy Markdown
issue templates (no required fields), get the YAML forms schema subtly wrong
(forms silently don't render), and forget config.yml routing entirely.
When NOT to use
- CONTRIBUTING/SECURITY/SUPPORT prose files →
community-health. - Triaging or closing existing issues, stale-bot automation → out of scope.
- Requiring PR reviews/checks before merge →
repo-protections. - Configuring GitHub Discussions itself → out of scope (linking to it is in scope).
Workflow
- Read
references/issue-forms-reference.mdfor the exact schema and the annotated examples — do not write forms from memory. - Issue forms in
.github/ISSUE_TEMPLATE/:bug_report.yml— required version + repro-steps fields, environment dropdown where sensible,render: shellfor logs, auto-labelbug.feature_request.yml— problem-first fields (what/why before how), labelenhancement.- Only
.yml/.yamlfiles in that exact directory render; forms only work on the default branch.
config.yml:blank_issues_disabled: truepluscontact_linksrouting questions to Discussions/SUPPORT and security reports to private reporting — never to a public issue form.- PR template: single
.github/PULL_REQUEST_TEMPLATE.md, short actionable checklist (tests run, docs updated, linked issue, no.local/secret files). If multiple PR templates are requested: GitHub has no picker UI — explain the?template=name.mdquery-param workaround and recommend one good default. - Labels: create the ones the forms reference plus the newcomer set:
gh label create "good first issue" --color 7057ff --description "Good for newcomers" --force gh label create "help wanted" --color 008672 --description "Extra attention is needed" --forcegood first issueis surfaced algorithmically by GitHub to newcomers — use it honestly or it backfires. - Validate (deterministic gate):
It runsbash "${CLAUDE_SKILL_DIR}/scripts/validate_forms.sh"check-jsonschema --builtin-schema vendor.github-issue-formsagainst every form (pinned install if missing) and fails on schema violations.
Output spec
Forms + config.yml + PR template in .github/, schema-valid (script exits 0),
every referenced label exists, required fields limited to what reporters can
actually answer (required-everything forms deter reports).
Gotchas
config.ymlis not an issue form — it has a different schema; never pass it to the forms validator (the script already excludes it).- A form that doesn't render usually means: wrong directory,
.mdinstead of.yml, not on the default branch, or a schema violation — check in that order. - Every
idmust be unique and[a-z0-9-_];labelvalues inside body elements are user-visible — write them as questions a reporter understands. - Right-size: a solo project with 2 issues/month needs one bug form at most; elaborate intake before there's traffic is friction without benefit.
Files
references/issue-forms-reference.md— schema, annotated examples, config.yml, PR template, label set, validation command.scripts/validate_forms.sh— schema validation with pinned check-jsonschema; non-zero exit on invalid forms.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

