一键导入
speckit-phasestoissues
Convert development phases into individual GitHub issues for better tracking and collaboration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Convert development phases into individual GitHub issues for better tracking and collaboration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review a production UX checkout harness run against the deployed Studio (daikonic). Use after `pnpm --filter @rune-langium/studio run test:prod-ux` (or test:prod-smoke) completes, when the user asks to review/triage a prod checkout run, or when a nightly prod-ux artifact needs auditing. Consumes report/run-manifest.json + screenshots + traces and produces a severity-ranked UX review with per-journey verdicts.
Documentation site and generated agent skills for rune-langium APIs
Documentation site and generated agent skills for rune-langium APIs Use when: Validating a single `.rosetta` file or snippet in memory.
Documentation site and generated agent skills for rune-langium APIs Use when: Embedding a Rune DSL language server in a web application via WebSocket.
Documentation site and generated agent skills for rune-langium APIs Use when: Rendering two or more `RuneTypeGraph` components simultaneously (different....
Runtime <ZodForm> renderer for Zod v4 schemas Use when: You need form rendering in storybook, playgrounds, or low-traffic admin UIs —.... Also: zod, zod-v4, react, forms, form-generation, react-hook-form, schema-driven, dynamic-forms, form-renderer, hookform-resolver, zod-form-renderer.
| name | speckit-phasestoissues |
| description | Convert development phases into individual GitHub issues for better tracking and collaboration. |
| compatibility | Requires spec-kit project structure with .specify/ directory |
| metadata | {"author":"github-spec-kit","source":"workflows:commands/phasestoissues.md"} |
$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.