Skip to content

Commit 5f1fc6b

Browse files
committed
Create taskstoissues.md
1 parent 177dcad commit 5f1fc6b

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
description: Generate an actionable, dependency-ordered tasks.md for the feature based on available design artifacts.
3+
tools: ['github/github-mcp-server/create_issue']
4+
scripts:
5+
sh: scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks
6+
ps: scripts/powershell/check-prerequisites.ps1 -Json -RequireTasks -IncludeTasks
7+
---
8+
9+
## User Input
10+
11+
```text
12+
$ARGUMENTS
13+
```
14+
15+
You **MUST** consider the user input before proceeding (if not empty).
16+
17+
## Outline
18+
19+
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").
20+
1. From the executed script, extract the path to **tasks**.
21+
1. Get the Git remote by running:
22+
23+
```bash
24+
git config --get remote.origin.url
25+
```
26+
27+
**ONLY PROCEED TO NEXT STEPS IF THE REMOTE IS A GITHUB URL**
28+
29+
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.
30+
31+
**UNDER NO CIRCUMSTANCES EVER CREATE ISSUES IN REPOSITORIES THAT DO NOT MATCH THE REMOTE URL**

0 commit comments

Comments
 (0)