pr-standards
Use when creating PRs, linking issues, managing PR comments, or creating GitHub issues
What this skill does
# PR & Issue Standards ## PR Creation Guards Run these checks in order before `gh pr create`: **Guard 1 — Check for merged twin** (prevents zombie PRs): ```bash gh pr list --repo JacobPEvans/<repo> --state merged --head <branch> ``` If merged PR exists AND `git log origin/main..HEAD --oneline` is empty: STOP. Remove stale worktree. **Guard 2 — Check for existing open PR** (prevents duplicates): ```bash gh pr list --repo JacobPEvans/<repo> --state open --head <branch> ``` If open PR exists: `git push origin <branch>` instead of creating new PR. **Guard 3 — Find related issues** (enforces linking): ```bash gh issue list --repo JacobPEvans/<repo> --state open --search "<keywords>" ``` Include `Closes #X` or `Related to #X` in PR body. After creation: `gh issue comment <num> --body "Implementation: #<pr>"`. **Guard 4 — Validate branch has commits**: ```bash git log origin/main..HEAD --oneline ``` If empty: no new work. Clean up instead. ## Workaround Classification When reviewing a PR, distinguish a real fix from a workaround. Workarounds become permanent tech debt if merged without acknowledgement. Four red flags: 1. **No upstream issue cited**: PR body does not name a specific upstream bug, version, or repository where the underlying problem lives. 2. **Phantom remediation mechanism**: PR body claims an automated "sync workflow", "auto-update", or "re-trigger" mechanism — verify with `grep -r <name> .` in the repo; if zero matches, the mechanism does not exist and the inline copy will drift silently. 3. **Asymmetric application**: the change is local to 1 of N similar consumers of a shared pattern (e.g. inlines 1 of 6 cross-repo imports), with no written rationale for the asymmetry. 4. **No exit criterion**: PR does not name the condition under which this workaround can be removed (upstream version, infrastructure change, deprecation date). **Three or more red flags → recommend close, not merge.** Workarounds get an upstream issue and an exit criterion before merging, or they are rejected. Origin: 2026-05-22 `ansible-splunk` PRs #216 (asymmetric inline of 1 of 6 imports, references non-existent `gh-aw-sync-upstream` mechanism) and #218 (cron-retrigger band-aid with no exit criterion). Both reached `mergeStateStatus: CLEAN` and would have merged under a mechanical-gate review. ## Issue-PR Bidirectional Linking Every PR body must include (bot PRs exempt): ```markdown ## Related Issues Closes #X ``` Use `Closes #X` for full resolution (auto-closes on merge). Use `Related to #X` for partial. ## AI Mention Policy **NEVER tag AI assistants in PR comments** unless explicitly requesting assistance. Do not tag to acknowledge fixes, notify of changes, or thank for feedback. Just resolve the thread. Exception: explicit requests like `@gemini-code-assist review the security implications of this change`. ## Commit, PR Title & PR Description Style No emoji or gitmoji in commit messages, PR titles, PR descriptions, or release notes. Conventional-commit prefixes (`feat:`, `fix:`, `chore:`, `docs:`, etc.) are required at the start of commit subjects and PR titles only — descriptions and release notes are plain prose. Applies to all PRs — human, AI-assisted, and bot-authored automated fixes. No `🤖`, no `✨`, no `🐛`. The `type(scope):` prefix carries the signal. ## GitHub Issue Standards ### Title Prefixes | Prefix | Use Case | | --- | --- | | `[FEATURE]` | New functionality | | `[BUG]` | Something broken | | `[DOCS]` | Documentation changes | | `[REFACTOR]` | Code improvements | | `[Small Batch]` | Scoped 1-2 week work | ### Required Labels **Type** (pick one): `bug`, `enhancement`, `documentation`, `question` **Priority** (pick one): `priority:critical`, `priority:high`, `priority:medium`, `priority:low` **Size**: `size:xs` (<1d), `size:s` (1-3d), `size:m` (3-5d), `size:l` (1-2w), `size:xl` (2+w) ### Feature Issue Template ```markdown ## Problem **Raw idea**: [concept] **Current pain**: [what's broken] **Size**: [xs|s|m|l|xl] ## Solution Sketch **Core concept**: [approach] **Out of scope**: [boundaries] ## Rabbit Holes - [complexity traps to avoid] ## Done Looks Like - [ ] Acceptance criterion ## Verification Steps - [ ] How to verify ## Metadata **Related Issues**: Blocks: #XX / Blocked by: #YY / Related to: #ZZ ``` ### Bug Issue Template ```markdown ## What Happened [Expected vs actual] ## Steps to Reproduce 1. Step one ## Context **Environment**: [details] ## Done Looks Like - [ ] Bug no longer occurs - [ ] Regression test added ## Verification Steps - [ ] Reproduce steps no longer trigger bug ``` Every issue MUST have explicit, checkbox-format acceptance criteria. ## Related Skills - **review-standards** (code-standards) — Code review process and standards - **rebase-pr** (git-workflows) — Rebase-merge workflow for merging approved PRs - **finalize-pr** (github-workflows) — Finalize PR state before merging - **git-workflow-standards** (git-standards) — Branch and worktree conventions that feed into PRs
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.