planning-github-issue-tasks
Phase 2 of the GitHub planning workflow. Reads a GitHub issue snapshot, dispatches a plan/prioritize/validate pipeline, and writes docs/<ISSUE_SLUG>-tasks.md with branch names for every planned child issue.
What this skill does
# Planning GitHub Issue Tasks Plan a GitHub issue snapshot into `docs/<ISSUE_SLUG>-tasks.md`. This is the Phase 2 orchestrator for the GitHub planning workflow: it routes stages, dispatches specialists, preserves stage artifacts for resume and critique, and returns a concise handoff. The orchestrator keeps only workflow state, subagent verdicts, paths, counts, and user decisions in context. Detailed contracts, templates, validation checks, and source-backed background are loaded just in time from bundled references or optional external URLs. ## Inputs | Input | Required | Example | | ----- | -------- | ------- | | `ISSUE_SLUG` | Yes | `acme-app-42` | | `RE_PLAN` | No | `true` | | `DECISIONS` | No | `SSO decision changes task dependencies` | Phase 2 is file-driven. `docs/<ISSUE_SLUG>.md` must already exist as the GitHub issue snapshot. ## Progressive Loading Map | Need | Load | | ---- | ---- | | Normal run, dispatch payloads, retry loop | `./references/execution-guide.md` | | Final artifact contract, branch policy, child-issue handling | `./references/output-contract.md` | | Critique-driven re-plan or recovery from stage artifacts | `./references/re-plan-cycle.md` | | Source-backed background or current platform syntax | `./references/external-sources.md` | | Subagent-specific guides, templates, or validation checks | Load only from the dispatched subagent | Bundled paths in this file are relative to this `SKILL.md`; files loaded later use paths relative to their own locations. All bundled files travel with the package. External URLs are optional progressive enhancement: fetch them only when local contracts need background or current syntax, and proceed from bundled references when network access is unavailable. ## Subagent Registry | Subagent | Path | Purpose | | -------- | ---- | ------- | | `task-planner` | `./subagents/task-planner.md` | Decompose the issue and draft the stage 1 plan | | `dependency-prioritizer` | `./subagents/dependency-prioritizer.md` | Add dependency order, priority, and branch names | | `task-validator` | `./subagents/task-validator.md` | Validate the prioritized plan and append QA findings | | `stage-validator` | `./subagents/stage-validator.md` | Check preflight, inter-stage, and final structural gates | ## Workflow | Path | When | Next reference | | ---- | ---- | -------------- | | Normal | `RE_PLAN` is absent or `false` | `./references/execution-guide.md` | | Re-plan | `RE_PLAN=true` with critique decisions | `./references/re-plan-cycle.md`, then `./references/execution-guide.md` | The normal path is: preflight snapshot validation, Stage 1 detailed planning, Stage 1 validation, Stage 2 dependency/branch planning, Stage 2 validation, Stage 3 final validation report, Stage 3 validation, postpipeline validation, handoff. Preserve `docs/<ISSUE_SLUG>-stage-1-detailed.md`, `docs/<ISSUE_SLUG>-stage-2-prioritized.md`, and `docs/<ISSUE_SLUG>-tasks.md` on disk. They are orchestration state for resume, critique, and targeted retries; they are not implementation outputs. Use targeted fix loops only. Re-dispatch the stage that produced the failing artifact, pass only the validator's issue list, rerun only the failing gate, and stop after 3 failed cycles for the same gate. ## Return Format Return only this phase handoff. Use `PLANNING: PASS` only when every stage and stage-validation gate has passed. ```text PLANNING: PASS | FAIL ISSUE_SLUG: <ISSUE_SLUG> File: <final file path or "not written"> Tasks: <N> Branches: <N unique branch names> Cross-cutting questions: <N> Validation warnings: <N> Failure category: PREFLIGHT | STAGE_1 | STAGE_2 | STAGE_3 | POSTPIPELINE | NONE Reason: <one line> Artifacts preserved: <comma-separated paths> ``` ## Example <example> Input: `ISSUE_SLUG=acme-app-42` 1. Load `./references/execution-guide.md` for the dispatch payloads. 2. Dispatch `stage-validator` for `preflight`; it returns `STAGE_VALIDATION: PASS`. 3. Dispatch `task-planner`, `dependency-prioritizer`, and `task-validator` in sequence, validating after each produced artifact. 4. Dispatch `stage-validator` for `postpipeline`; it returns `STAGE_VALIDATION: PASS`. 5. Return the concise `PLANNING: PASS` handoff with preserved artifact paths. </example>
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.