Create GitHub Issue from plan file
Creates GitHub Issue from plan file with phases as checkboxes and updates plan with issue number
/plugin marketplace add iamladi/cautious-computing-machine--github-plugin/plugin install github@cautious-computing-machineBased on the plan file provided, create a GitHub Issue with the implementation phases as checkboxes. Then update the plan file with the Issue number.
plan_file: $1
Read the plan file and extract:
title, type, createdresearch field (if present)Structure the Issue body as:
## Summary
[Extract from plan Overview > Problem Statement and Goals]
---
## Implementation Phases
### Phase 1: [Title from plan]
**Complexity**: [from plan] | **Priority**: [from plan]
- [ ] [Task 1]
- [ ] [Task 2]
### Phase 2: [Title from plan]
...
[Continue for all phases]
---
## Validation Commands
[Extract the bash commands from plan's Validation Commands section]
---
## Acceptance Criteria
- [ ] [From plan]
- [ ] [From plan]
---
## Related Research
[If research files listed in frontmatter, include links]
---
**Plan Document**: plans/[filename].md
**Issue Type**: [type from frontmatter]
**Created**: [from frontmatter]
Determine issue type label from plan type field:
Feature → type:featureBug → type:bugChore → type:choreRefactor → type:refactorEnhancement → type:enhancementDocumentation → type:documentationCreate Issue via gh issue create:
gh issue create \
--title "[type]: [Plan Title]" \
--body "[generated body above]" \
--label "status:planning" \
--label "[type_label]"
Capture Issue number from output (will be #123)
issue: null → issue: 123status: Draft → status: In Progressgit add plans/[filename].md && git commit -m "chore: link plan to Issue #123"test -f "$plan_file" or errorgh issue create --title "..." --body "..." --label "..."Return the Issue URL created:
https://github.com/<owner>/<repo>/issues/<number>https://github.com/iamladi/my-project/issues/123