From 5f1fc6b445111bcd90599e8a6bb7c04a3513f46d Mon Sep 17 00:00:00 2001 From: "den (work)" <53200638+localden@users.noreply.github.com> Date: Tue, 21 Oct 2025 20:09:45 -0700 Subject: [PATCH] Create taskstoissues.md --- templates/commands/taskstoissues.md | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 templates/commands/taskstoissues.md diff --git a/templates/commands/taskstoissues.md b/templates/commands/taskstoissues.md new file mode 100644 index 00000000..7f741f40 --- /dev/null +++ b/templates/commands/taskstoissues.md @@ -0,0 +1,31 @@ +--- +description: Generate an actionable, dependency-ordered tasks.md for the feature based on available design artifacts. +tools: ['github/github-mcp-server/create_issue'] +scripts: + sh: scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks + ps: scripts/powershell/check-prerequisites.ps1 -Json -RequireTasks -IncludeTasks +--- + +## User Input + +```text +$ARGUMENTS +``` + +You **MUST** consider the user input before proceeding (if not empty). + +## Outline + +1. Run `{SCRIPT}` from repo root and parse FEATURE_DIR and AVAILABLE_DOCS list. All paths must be absolute. For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'\''m Groot' (or double-quote if possible: "I'm Groot"). +1. From the executed script, extract the path to **tasks**. +1. Get the Git remote by running: + +```bash +git config --get remote.origin.url +``` + +**ONLY PROCEED TO NEXT STEPS IF THE REMOTE IS A GITHUB URL** + +1. For each task in the list, use the GitHub MCP server to create a new issue in the repository that is representative of the Git remote. + +**UNDER NO CIRCUMSTANCES EVER CREATE ISSUES IN REPOSITORIES THAT DO NOT MATCH THE REMOTE URL** \ No newline at end of file