Bulk import steps to sprint SPRINT.yaml
/plugin marketplace add Mission42-ai/m42-claude-plugins/plugin install m42-sprint@m42-claude-pluginsissues --label <label> | file <path.yaml>sonnetBulk import steps from GitHub issues by label or from a YAML file.
Find current sprint directory:
!ls -dt .claude/sprints/*/ 2>/dev/null | head -1 || echo "NO_SPRINT"
From the output above, identify the sprint directory path (e.g., .claude/sprints/YYYY-MM-DD_name/)
Check gh CLI availability (for issues import):
!gh --version 2>/dev/null | head -1 || echo "GH_NOT_AVAILABLE"
Using the sprint directory identified in preflight, use the Read tool to read:
<sprint-dir>/SPRINT.yaml - to get existing steps arrayParse the argument $ARGUMENTS to determine import source.
When argument starts with issues:
--label <label> parametergh issue list --label "<label>" --state open --json number,title,body --limit 50
- prompt: |
Implement GitHub issue #<number>
Title: <issue title>
<issue body>
steps: array in SPRINT.yamlWhen argument starts with file:
test -f "<path>" && echo "FILE_OK" || echo "FILE_NOT_FOUND"
steps:
- prompt: |
Step description here
- prompt: |
Another step description
steps: array in SPRINT.yamlUse the Edit tool to:
steps: arrayNote: Adding steps requires recompilation. This happens automatically when running /run-sprint.
Report:
Example output for issues import:
Steps imported from GitHub issues:
Label: bug
Found: 6 issues
Added: 6 steps
New steps:
- Step 4: Implement GitHub issue #45 - Fix login timeout
- Step 5: Implement GitHub issue #47 - Handle null response
- Step 6: Implement GitHub issue #51 - Update error messages
- Step 7: Implement GitHub issue #52 - Fix pagination
- Step 8: Implement GitHub issue #55 - Resolve memory leak
- Step 9: Implement GitHub issue #58 - Fix date parsing
Updated: .claude/sprints/2024-01-15_bugfix-sprint/SPRINT.yaml
Note: Run /run-sprint to compile and execute
Example output for file import:
Steps imported from file:
Source: steps-to-import.yaml
Found: 3 steps
Added: 3 steps
New steps:
- Step 2: Add user authentication
- Step 3: Improve database module
- Step 4: Update API documentation
Updated: .claude/sprints/2024-01-15_sprint/SPRINT.yaml
Note: Run /run-sprint to compile and execute
/run-sprint