update-pr
Creates comprehensive PR descriptions by systematically reviewing ALL changes - features, bug fixes, tests, docs, and infrastructure. Use when user asks to "update the PR", "prepare PR for review", "write PR description", or "document branch changes". Requires gh CLI.
What this skill does
# Comprehensive PR Description Creator Create thorough PR descriptions that document EVERY meaningful change, not just the headline feature. ## Phase 1: Complete Change Inventory Determine the PR's base branch, then review the full diff, changed files, and all commits since branching. **NEVER assume you know what's in the PR based on branch name or first glance.** PRs often contain secondary bug fixes, performance optimizations, test infrastructure improvements, documentation updates, dependency changes, and configuration adjustments alongside the main feature. ## Phase 2: Categorize Changes Using the diff output, create a categorized inventory of EVERY changed file: | Category | What to look for | |----------|-----------------| | **Core application** | New methods, refactoring, bug fixes, performance improvements | | **Bug fixes** | Scan commit messages for "fix", "bug", "correct", "resolve" | | **Infrastructure** | Interceptors, middleware, base classes, test fixtures | | **Configuration** | Config files, constants, environment settings, package files | | **Tests** | New test files vs modified, test patterns, coverage improvements | | **Documentation** | README, docs folders, inline documentation | | **Build & tooling** | package.json, build configs, CI/CD, scripts | | **UI/Frontend** | Components, styles, state management | For each commit, identify the category (feature, bugfix, test, docs, refactor, perf, chore) and understand WHY the change was made, not just WHAT changed. ## Phase 3: Write Comprehensive Summary Structure the PR description to cover all categories: ```markdown ## Summary [One sentence covering the MAIN change, plus brief mention of other significant improvements] ## User Impact **[Main Feature Category]:** - [Specific user-facing improvements] **[Secondary Categories if applicable — e.g., Reliability, Performance]:** - [Bug fixes with impact] - [Performance improvements] ## Technical Notes ### 1. [Main Feature Name] [Detailed explanation with file references] ### 2. [Bug Fixes / Corrections] [Each bug fix: location, what was wrong, impact, fix] ### 3. [Infrastructure / Performance] [Test improvements, framework changes, optimizations] ### 4. [Configuration & Dependencies] [Constants, config changes, dependency updates] ### 5. [Documentation] [README updates, new docs, removed obsolete content] ## Testing [Comprehensive test results with specific numbers] ## Implementation Approach [List ALL commits with brief explanation of each] --- Generated with [Claude Code](https://claude.com/claude-code) ``` ## Phase 4: Update the PR Show the summary to the user and ask if they want to update the PR. Only update with `gh pr edit` after approval. ## Quality Checklist Before finalizing, verify: - **Completeness**: Every commit is represented in the summary - **Accuracy**: All bug fixes are documented with impact - **Context**: WHY changes were made, not just WHAT changed - **Organization**: Changes grouped logically - **Specificity**: File paths for critical changes - **Impact**: User-facing vs internal changes clearly separated - **Testing**: Actual test results reported, not assumptions ## Gotchas - PRs often contain a week's worth of work across multiple areas. The biggest mistake is focusing only on the main feature and skipping "small" changes like constants, config, docs, and especially bug fixes. - If no PR exists yet, create one first before running the update process. - Shell constructs like `$()`, `&&`, and variable assignments in Bash calls can trigger permission prompts. Prefer simple, single-command calls when possible.
Related in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.