用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tools-only/X-Skills --skill new命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | new |
| description | Create a new sprint directory with specs.md template |
| argument-hint | [goal description] |
You are bootstrapping a new sprint for the user.
Find the next sprint number:
# Get current highest sprint number
LAST=$(ls -d .claude/sprint/*/ 2>/dev/null | sort -V | tail -1 | grep -oE '[0-9]+' | tail -1)
if [ -z "$LAST" ]; then
NEXT=1
else
NEXT=$((LAST + 1))
fi
echo $NEXT
mkdir -p .claude/sprint/[NEXT]
Ask the user for sprint details. Present this as a structured question:
What would you like to build in this sprint?
Options to clarify:
Based on user input, create .claude/sprint/[NEXT]/specs.md:
# Sprint [NEXT] Specifications
## Goal
[User's goal description]
## Scope
[List of features/tasks]
## Testing
- QA: [required/optional/skip]
- UI Testing: [required/optional/skip]
- UI Testing Mode: [automated/manual]
## Notes
[Any additional context]
After creating the sprint, suggest:
Sprint [NEXT] created at .claude/sprint/[NEXT]/
Next steps:
1. Review and edit .claude/sprint/[NEXT]/specs.md if needed
2. Run /sprint to start the sprint workflow
3. The architect will analyze specs and create detailed specifications
Tip: For detailed specs, you can add:
- API endpoint details
- UI mockup descriptions
- Database schema changes
- Specific test scenarios
If the user provides a one-liner goal, create the sprint immediately:
Example: /sprint:new Add user authentication with OAuth
Creates:
# Sprint [N] Specifications
## Goal
Add user authentication with OAuth
## Scope
- To be analyzed by architect
## Testing
- QA: required
- UI Testing: required
- UI Testing Mode: automated
Offer templates for common sprint types:
# Sprint [N] Specifications
## Goal
[New feature description]
## Scope
- Backend API endpoints
- Frontend UI components
- Database migrations
- Tests
## Testing
- QA: required
- UI Testing: required
- UI Testing Mode: automated
# Sprint [N] Specifications
## Goal
Fix [bug description]
## Scope
- Root cause analysis
- Fix implementation
- Regression tests
## Testing
- QA: required
- UI Testing: optional
- UI Testing Mode: automated
# Sprint [N] Specifications
## Goal
Refactor [component/system]
## Scope
- Code restructuring
- No functional changes
- Update tests if needed
## Testing
- QA: required
- UI Testing: skip
Report to user:
基于 SOC 职业分类