github-issue-pr-attribs
Skill1 starsChanged 44 days agoMITView on GitHub
Standardize GitHub ISSUE and PR metadata (Assignee, Reviewer, Labels, Project, Milestone, Development, Relationship) and ship a strong, well-structured code-review template. Includes ready-to-use issue forms, PR template, and a severity/rubric review model.
- Commits and pushes
In this repository125 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skill-authoringSkill
- apple-notesSkill
- apple-remindersSkill
- findmySkill
- imessageSkill
- agy-customizationsSkill
- antigravity-guideSkill
- awesome-skills-masterSkill
- claude-codeSkill
- codexSkill
- computer-useSkill
- context-modeSkill
- dogfoodSkill
- hermes-agentSkill
- opencodeSkill
- rag-local-lancedbSkill
- skills-sh-registrySkill
- watermarks-removerSkill
- yuanbaoSkill
- libretranslate-markdown-i18nSkill
- mt-markup-preserving-translationSkill
- architecture-diagramSkill
- ascii-artSkill
- ascii-videoSkill
- baoyu-infographicSkill
- claude-designSkill
- comfyuiSkill
- design-mdSkill
- excalidrawSkill
- humanizerSkill
- manim-videoSkill
- p5jsSkill
- popular-web-designsSkill
- portfolio-github-pagesSkill
- pretextSkill
- sketchSkill
- songwriting-and-ai-musicSkill
- touchdesigner-mcpSkill
- jupyter-live-kernelSkill
- suap-iff-apiSkill
- desktop-themingSkill
- hermes-desktop-pluginsSkill
- docker-single-port-multi-instanceSkill
- hybrid-desktop-server-opsSkill
- himalayaSkill
- codebase-inspectionSkill
- git-conventional-commitsSkill
- github-authSkill
- github-code-reviewSkill
- github-issuesSkill
- github-profile-readmeSkill
- github-pr-workflowSkill
- github-repo-managementSkill
- github-starred-kbSkill
- hermes-installed-catalogSkill
- readme-templateSkill
- cv-latex-multilingualSkill
- latex-cv-maintenanceSkill
- gif-searchSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Use it when a repo has no templates, reviews are inconsistent, or the user asks to "padronizar issue/PR", "atribuições em issue e PR", …
- Very specific: line 61
(Optional) Milestone: create a Backlog catch-all if none exists: gh api repos/<owner>/<repo>/milestones -f title=Backlog -f state=open -f …
- Distinctive: line 84
After writing the YAML forms, validate structure (not just parse) before committing:
- Very specific: line 111
Don't rely on gh ... --project for Projects V2 (REST 404s) — use the GraphQL mutation.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Standardize GitHub Issue/PR Metadata + Strong Code Review
Turn ad-hoc issues/PRs into a coherent, repeatable workflow. This skill covers the seven standard assignment fields for both issues and PRs, ships copy-paste issue forms and a PR template, and provides a strong, organized code-review model (fixed comment structure, severity table, per-category rubrics).
Use it when a repo has no templates, reviews are inconsistent, or the user asks to "padronizar issue/PR", "atribuições em issue e PR", "melhorar o code review", or "criar template de issue/PR".
When to Use
- Repo lacks
.github/ISSUE_TEMPLATE/*.ymlorPULL_REQUEST_TEMPLATE.md. - Issues/PRs opened with missing assignee, labels, project, or milestone.
- Code review is unstructured / freeform and hard to scan.
- User wants a reusable standard other agents can apply.
The Seven Standard Assignment Fields
Apply all seven to every issue and PR. API limits noted below.
| Field | Issue | PR |
| Assignee | ✅ (who owns it) | ✅ |
| Reviewer | n/a on issue (set on PR) | ✅ |
| Labels | ✅ | ✅ (inherit issue + type) |
| Project | ✅ (Projects V2) | ✅ |
| Milestone | ✅ (Backlog or semver) | ✅ (same as issue) |
| Development | n/a on issue | ✅ (branch↔issue link) |
| Relationship | parent/child links | Fecha # / Relaciona # |
API reality check (gh / REST)
gh issue createsets:--assignee,--label,--milestone,--project,--body,--title. No reviewer on issues.gh pr createsets:--assignee,--label,--milestone,--project,--head,--base,--title,--body,--reviewer(orgh pr edit --add-reviewer).- Projects V2 are NOT settable via REST
gh issue/pr create --projectreliably when the project is V2 (REST targets legacy Projects v1 and 404s). Use the GraphQL mutationaddProjectV2ItemByIdto attach a V2 project item after creation. Seereferences/projects-v2.md. - Self-review request: a single-owner private repo can't formally request review from the same account; document the reviewer in the PR template/body instead.
- Development link: opening a PR from a branch whose name references the issue (or
Fecha #Nin body) auto-links; the GitHub UI shows it under "Development" on the issue.
Workflow (apply to a real repo)
- Branch from
main:feat/workflow-standard. - Create issue forms in
.github/ISSUE_TEMPLATE/— copytemplates/bug.yml,templates/feature.yml,templates/task.yml. Each pre-setsassignees: [pedroiff0](change to the real default owner) and documents the standard fields in amarkdownblock. - Create PR template
.github/PULL_REQUEST_TEMPLATE.md— copytemplates/PULL_REQUEST_TEMPLATE.md. It has the 7-field assignment checklist + self-review. - Create the review model
docs/CODE_REVIEW.md— copyreferences/code-review-model.md. - Update CONTRIBUTING.md with an "Atribuições padronizadas" section (see
references/contributing-section.md). - (Optional) Milestone: create a
Backlogcatch-all if none exists:gh api repos/<owner>/<repo>/milestones -f title=Backlog -f state=open -f description="..." - Commit only the new files (preserve any existing working tree):
git add .github/... docs/CODE_REVIEW.md CONTRIBUTING.md && git commit -m "docs(workflow): ..." - Open PR with all assignments, post a review comment using the model, merge
--rebase, delete branches.
Strong Code-Review Model (summary)
Full version in references/code-review-model.md. Key pieces:
- Fixed comment structure: Resumo · Verificação automática (table) · Achados por severidade (table) · Itens obrigatórios (checklist) · Decisão.
- Severity table: 🔴 Blocker (no merge) · 🟠 Maior (must fix this PR or follow-up) · 🟡 Menor (style/naming) · 🔵 Nit (optional).
- Decision rule: any 🔴 → ⛔ Blocked; only 🟠/🟡/🔵 → 🔁 Changes requested; nits-only → ✅ Approved.
- Rubrics by category: Security (top priority), Architecture (layers), Data (cents/derived), Tests, UI/UX.
Conventions
- Milestone/Release: releases are semver tags; milestone = target tag.
Backlog= catch-all for unscheduled work. Don't open a milestone per issue. - Project: point V2 project at the repo's roadmap board.
- Labels: at least one category (
bug/enhancement/documentation/testes/ux/seguranca/infra/backlog) + module (modulo:financasetc.) when applicable.
Verification
After writing the YAML forms, validate structure (not just parse) before committing:
python3 - <<'PY'
import glob, yaml, sys
VALID={"markdown","textarea","input","dropdown","checkboxes","radio","code","yaml_metadata"}
errs=[]
for f in sorted(glob.glob(".github/ISSUE_TEMPLATE/*.yml")):
d=yaml.safe_load(open(f))
for k in ("name","description","body","assignees","labels"):
if k not in d: errs.append(f"{f}: falta {k}")
for i,b in enumerate(d.get("body",[])):
t=b.get("type")
if t not in VALID: errs.append(f"{f}[{i}] type {t!r} invalido")
a=b.get("attributes",{})
if t in ("textarea","input","dropdown","radio","checkboxes") and "label" not in a:
errs.append(f"{f}[{i}] {t} sem label")
sys.exit(1 if errs else 0) if errs else print("SCHEMA_OK")
PYAlso confirm assignments landed via API after opening, e.g.:
gh pr view <N> --json assignees,labels,milestone,reviewRequests,projectCards
(Note: projectCards is null on REST for V2 — verify V2 membership via GraphQL, see references/projects-v2.md.)
Pitfalls
- Don't rely on
gh ... --projectfor Projects V2 (REST 404s) — use the GraphQL mutation. - Single-owner private repo: can't self-request review; put reviewer in template/body.
- Issue forms support labels/assignees via YAML, but NOT milestone/project reviewer — set those at create time or post-hoc.
- Preserve any pre-existing working tree; commit only the new workflow files.
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.

