.github/skills/speckit-workflows-phasestoissues/SKILL.md
Convert development phases into individual GitHub issues for better tracking and collaboration.
npx skillsauth add pradeepmouli/lspeasy speckit-workflows-phasestoissuesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Run the prerequisite check script from repo root and parse the output:
cd "$(git rev-parse --show-toplevel)" && \
source .specify/scripts/bash/common.sh && \
get_feature_paths
This provides:
FEATURE_DIR - Feature directory pathFEATURE_SPEC - Specification file (spec.md)IMPL_PLAN - Implementation plan (plan.md)TASKS - Task list (tasks.md)All paths are absolute.
Get the Git remote URL:
git config --get remote.origin.url
[!CAUTION] ONLY PROCEED TO NEXT STEPS IF THE REMOTE IS A GITHUB URL
Stop immediately if:
Load and parse the specification file ($FEATURE_SPEC / spec.md):
Extract:
Parse Tasks from $TASKS (tasks.md):
- [ ] T001: Task descriptionParse Plan (if exists) from $IMPL_PLAN (plan.md):
Construct a comprehensive GitHub issue for each phase with this structure:
## Description
[Phase description from spec.md]
## Acceptance Criteria
[Acceptance criteria from spec.md]
## Implementation Plan
[High-level approach from plan.md, if available]
### Key Technical Decisions
- [Decision 1]
- [Decision 2]
### Dependencies
- [Dependency 1]
- [Dependency 2]
## Tasks
See sub-issues for individual task tracking.
## Context
**Branch**: `[branch-name]`
**Feature Directory**: `[feature-dir]`
**Phase**: [phase-number]/[total-phases]
**Created from spec-kit workflow**
---
**Note**: Sub-issues will be created for each task. Use `/speckit.workflows.review` to validate implementation against acceptance criteria.
Automatically assign labels based on:
Workflow Type (from branch pattern):
bugfix/* -> bug, bugfixrefactor/* -> refactor, technical-debthotfix/* -> hotfix, urgentmodify/* -> enhancement, modificationdeprecate/* -> deprecation, breaking-changefeature, enhancementPriority (from spec.md if available):
priority: highpriority: mediumpriority: lowStatus:
status: planning (if tasks exist but none completed)status: in-progress (if some tasks completed)For each phase, use the GitHub MCP server tool to create the parent issue:
Required:
owner: Extract from Git remote URLrepo: Extract from Git remote URLtitle: "Phase N: [Phase title]" from spec.mdbody: Formatted issue body from step 4labels: Labels from step 5Capture the issue number for sub-issue creation.
For each task within a phase:
Create task issue using GitHub MCP:
title: "T001: [Task description]" (preserve task ID)body:
## Task Details
[Task description from tasks.md]
## Context
**Parent Phase**: #[phase-issue-number]
**Branch**: [branch-name]
**Feature Directory**: [feature-dir]
---
Part of larger feature spec-kit workflow.
labels: Same labels as parent phase issueLink as sub-issue using mcp_github_github_sub_issue_write:
method: "add"owner: From Git remote URLrepo: From Git remote URLissue_number: Parent phase issue numbersub_issue_id: Task issue ID (not issue number - get from created issue)Important: GitHub sub-issues require issue IDs, not issue numbers. Extract the id field from the created task issue.
If tasks have natural ordering, use mcp_github_github_sub_issue_write with method "reprioritize" to set task order within the phase
labels: Labels from step 5[!CAUTION] UNDER NO CIRCUMSTANCES EVER CREATE ISSUES IN REPOSITORIES THAT DO NOT MATCH THE REMOTE URL
Example:
Repository: github.com/user/repo
Title: Phase 1: User Authentication
Labels: feature, status: planning
Body: [Full formatted content]
After creating the issue, provide instructions to link it:
# Update spec.md with issue link
echo -e "\n## GitHub Issue\n\n#[issue-number]" >> "$FEATURE_SPEC"
# Or add issue number to commit messages
git commit --amend -m "feat: [phase title] (#[issue-number])"
Display result to user:
GitHub Issue Created
Issue: #[number]
Title: [phase title]
URL: https://github.com/[owner]/[repo]/issues/[number]
Tasks Included: [N tasks]
Labels: [label1, label2, ...]
Next Steps:
1. Review issue on GitHub
2. Assign to team members
3. Add to project board/milestone
4. Track progress by checking off tasks
5. Use /speckit.workflows.review when ready for validation
No tasks.md exists:
/speckit.tasks firstNo spec.md exists:
/speckit.plan or creating spec firstMultiple features in repo:
Issue already exists:
No GitHub remote:
User input: $ARGUMENTS
Create a comprehensive, well-structured GitHub issue that represents the development phase with tasks as actionable checkboxes.
tools
Use for ANY rename, file-move, or move-symbol refactor — especially rename-heavy work across multiple files. Claude Code's built-in LSP tool is READ-ONLY (find references, but no rename / file-move / move-symbol). Hand-editing those refactors silently misses re-exports, aliased imports, type-only imports, and {@link} doc references. This skill drives a real language server via the `lspeasy` CLI to apply a correct WorkspaceEdit that catches every reference. Trigger when the user asks to rename a function/class/variable/type project-wide, move a file and fix its importers, or pull a symbol out into another module.
tools
Documentation site for lspeasy Use when: You are building a browser-based LSP client, a WebSocket-backed language....
tools
Documentation site for lspeasy Use when: You are implementing a custom client layer and need the same validation....
tools
Use when working with lspeasy (client, core, server). Covers: lsp, language-server-protocol, lsp-client, language-client, jsonrpc, transport, lsp-server, language-server.