.claude/skills/speckit-workflows-phasestoissues/SKILL.md
Convert development phases into individual GitHub issues for better tracking and collaboration.
npx skillsauth add pradeepmouli/zod-to-form 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 when working with zod-to-form (core, react, cli, codegen, vite).
tools
Vite plugin for zod-to-form — transforms ?z2f imports into generated form components and optionally replaces <ZodForm> JSX call sites with generated components at build time Use when: You want `import SignupForm from './signup.schema?z2f'` to Just Work in a.... Also: vite, vite-plugin, zod, zod-v4, codegen, forms, form-generation, schema-driven, react-hook-form, build-plugin, jsx-transform.
development
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.
development
Schema walker and processor registry for Zod v4 form generation Use when: You want per-field validation instead of whole-form validation. Also: zod, zod-v4, forms, form-generation, schema, schema-walker, processor-registry, react-hook-form, schema-driven, form-schema, zod-registry.