From srnnkls-tropos
Generate GitHub issue drafts from spec directories, creating initiative/feature/task markdown files with gh CLI commands. Use when converting specs to GitHub issues or setting up issue tracking for features.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-2 --plugin srnnkls-troposThis skill uses the workspace's default tool permissions.
Generate GitHub issue drafts from spec documents following the project's issue management framework.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Generate GitHub issue drafts from spec documents following the project's issue management framework.
Use when you need to create GitHub issues from:
./specs/)Parse path from command argument and verify:
# User provides path like:
# ./specs/active/my-feature
# ./specs/archive/nested-view-refactor
Validate directory exists and contains appropriate files.
Spec indicators:
spec.mdtasks.mdcontext.mdIssue type detection:
Read spec.md frontmatter for issue_type field:
---
issue_type: [Initiative|Feature|Task]
created: [Date]
status: Active
---
If issue_type present in frontmatter:
If issue_type absent:
Template selection based on issue_type:
Initiative → templates/initiative.mdFeature → templates/feature.mdTask → templates/task.mdRead appropriate files based on detected type.
mkdir -p "$SOURCE_DIR/drafts/issues"
Structure created:
./specs/archive/{spec-name}/drafts/issues/
├── initiative-{spec-name}.md
├── issue-001-{short-description}.md
├── issue-002-{short-description}.md
└── ...
Create issue markdown files using templates:
Initiative file: initiative-{name}.md
Feature/Task files: issue-{NNN}-{description}.md
Key points:
Create bash script using scripts/create-issue.sh:
gh issue create commandsgh sub-issue add for hierarchyScript structure:
#!/bin/bash
# Extract YAML → gh issue create → capture numbers → link sub-issues
Include instructions for setting fields via GitHub web UI:
See mapping-guide.md for detailed rules on:
Quick summary:
generate-issues.py: Automates draft generation from specs. Parses content, creates issue files with YAML frontmatter.
create-issue.sh: Creates actual GitHub issues from drafts using gh CLI.
Requirement: Install gh sub-issue extension: gh extension install yahsan2/gh-sub-issue
{source}/drafts/issues/Workflow:
Related:
/spec.issuesgh CLI, gh sub-issue extension