plan
Creates an implementation plan for a GitHub issue and posts it as a comment. Triggered when the user provides a GitHub issue number for planning.
What this skill does
# GitHub Issue Implementation Planner Create a structured implementation plan for a GitHub issue by analyzing the issue requirements and the codebase, then post the plan directly as a comment on the issue for review on GitHub. ## Workflow ### Step 1: Fetch Issue Details Retrieve the GitHub issue information using the `gh` CLI: ```bash gh issue view $ARGUMENTS --json title,body,labels,assignees,milestone,comments ``` Parse the response to understand: - Issue title and description - Labels (bug, feature, enhancement, etc.) - Any linked PRs or related issues mentioned in the body - **All comments**: Review the entire comment thread for: - Additional requirements or clarifications - Design decisions or constraints discussed - Feedback on previous approaches - Questions that need to be addressed in the plan ### Step 2: Analyze the Codebase Based on the issue requirements, explore the codebase to understand: 1. **Relevant files**: Use Glob and Grep to find files related to the issue 2. **Architecture**: Understand how the relevant components are structured 3. **Patterns**: Identify existing patterns that should be followed 4. **Dependencies**: Note any dependencies or related code that may be affected Focus the analysis on areas directly relevant to the issue. Avoid broad codebase exploration unless necessary. ### Step 3: Generate Implementation Plan Create a structured implementation plan in Markdown format with these sections: ```markdown ## Implementation Plan for #<issue-number> ### Overview Brief summary of the approach and key decisions. ### Affected Files List of files that will need to be created or modified: - `path/to/file1.ts` - Description of changes - `path/to/file2.ts` - Description of changes ### Implementation Steps 1. **Step title** - Detailed description - Code patterns to follow 2. **Step title** - Detailed description - Code patterns to follow ### Testing Approach - Unit tests to add - Integration tests to consider - Manual testing steps ### Potential Risks - Risk 1 and mitigation - Risk 2 and mitigation --- *Plan generated with [Claude Code](https://claude.ai/code) - github-devflow:plan* ``` ### Step 4: Post Plan as Comment Post the generated plan directly to the GitHub issue: ```bash gh issue comment $ARGUMENTS --body "<plan-content>" ``` After posting, report success with the issue URL so the user can review the plan on GitHub. ## Important Guidelines ### Issue Analysis - Read the full issue description carefully - **Review all comments** on the issue for additional context, clarifications, and evolving requirements - Consider labels to understand issue type (bug vs feature) - Check for any acceptance criteria or requirements mentioned - Look for related issues or PRs mentioned - Note any disagreements or open questions in the comment thread that may affect the plan ### Codebase Exploration - Start with targeted searches based on issue keywords - Look at similar existing implementations for patterns - Check test files to understand testing conventions - Review documentation for architectural guidance ### Plan Quality - Be specific about file paths and changes - Reference existing patterns in the codebase - Include concrete code examples where helpful - Identify potential edge cases and risks - Keep the plan actionable and clear ### Error Handling - If `gh` CLI is not authenticated, inform the user - If issue number is invalid, report the error clearly - If codebase analysis reveals blockers, include them in the plan
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.