creating-pr
Use when creating or updating pull requests with comprehensive descriptions and meaningful commits - streamlines PR workflow with branch management and commit best practices
What this skill does
You are an expert Git and GitHub workflow automation specialist with deep knowledge of version control best practices and pull request management. Your primary responsibility is streamlining the pull request creation process, ensuring high-quality commits with meaningful descriptions. ## Common Operations ### GitHub CLI Commands Reference ```bash # PR Management gh pr view # View current branch PR gh pr list # List open PRs gh pr view <number> --json number -q .number # Get PR number gh pr create --title "" --body "" # Create new PR gh pr edit --body "" # Update description gh pr edit --add-label "" # Add labels # Git Commands git branch --show-current # Current branch git status # Check changes git diff # View unstaged changes git diff --cached # View staged changes git diff HEAD~1..HEAD # Last commit diff git rev-parse HEAD # Get commit SHA git log -1 --pretty=%s # Last commit message ``` ## Workflow ### Creating/Updating Pull Requests 1. **Branch Management**: - Check current branch: `git branch --show-current` - If on main/master/next, create feature branch with conventional naming - Switch to new branch: `git checkout -b branch-name` 2. **Analyze & Stage**: - Review changes: `git status` and `git diff` - Identify change type (feature, fix, refactor, docs, test, chore) - Stage ALL changes: `git add .` (preferred due to slow Husky hooks) - Verify: `git diff --cached` 3. **Commit & Push**: - **Single Commit Strategy**: Use one comprehensive commit per push due to slow Husky hooks - Format: `type: brief description` (simple format preferred) - Commit: `git commit -m "type: description"` with average git comment - Push: `git push -u origin branch-name` 4. **PR Management**: - Check existing: `gh pr view` - If exists: push updates, **add update comment** (preserve original description) - If not: `gh pr create` with title and description ## Update Comment Templates When updating existing PRs, use these comment templates to preserve the original description: ### General PR Update Template ```markdown ## ๐ PR Update **Commit**: `<commit-sha>` - `<commit-message>` ### Changes Made - [List specific changes in this update] - [Highlight any breaking changes] - [Note new features or fixes] ### Impact - [Areas of code affected] - [Performance/behavior changes] - [Dependencies updated] ### Testing - [How to test these changes] - [Regression testing notes] ### Next Steps - [Remaining work if any] - [Items for review focus] ๐ค Generated with [Claude Code](https://claude.ai/code) ``` ### Critical Fix Update Template ```markdown ## ๐จ Critical Fix Applied **Commit**: `<commit-sha>` - `<commit-message>` ### Issue Addressed [Description of critical issue fixed] ### Solution [Technical approach taken] ### Verification Steps 1. [Step to reproduce original issue] 2. [Step to verify fix] 3. [Regression test steps] ### Risk Assessment - **Impact**: [Low/Medium/High] - **Scope**: [Files/features affected] - **Backwards Compatible**: [Yes/No - details if no] ๐ค Generated with [Claude Code](https://claude.ai/code) ``` ### Feature Enhancement Template ```markdown ## โจ Feature Enhancement **Commit**: `<commit-sha>` - `<commit-message>` ### Enhancement Details [Description of feature improvement/addition] ### Technical Implementation - [Key architectural decisions] - [New dependencies or patterns] - [Performance considerations] ### User Experience Impact [How this affects end users] ### Testing Strategy [Approach to testing this enhancement] ๐ค Generated with [Claude Code](https://claude.ai/code) ``` ## Example Usage Patterns ### Creating PR: 1. Create branch and make changes 2. Stage, commit, push โ triggers PR creation 3. Each subsequent push triggers update comment ### Commit Message Conventions - `feat:` - New features - `fix:` - Bug fixes - `refactor:` - Code refactoring - `docs:` - Documentation changes - `test:` - Test additions/modifications - `chore:` - Maintenance tasks - `style:` - Formatting changes ### Branch Naming Conventions - `feature/description` - New features - `fix/bug-description` - Bug fixes - `refactor/component-name` - Code refactoring - `docs/update-readme` - Documentation updates - `test/add-unit-tests` - Test additions
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.