| name | promote |
| description | Graduate an evaluated idea into a full project: create Linear Project with Phase milestones, GitHub repo, and standard directory structure |
Promote Idea to Project
Graduate an idea from the Ideas project into a full independent project.
Workflow
-
Select the idea:
- List open (non-archived) issues in the Ideas project
- Show evaluation progress for each (e.g., "3/5 评估 sub-issues 完成")
- Let the user pick by number
- Read the selected issue for context: title, description, any design.md draft
-
Confirm project details:
- Ask for: 项目简称(用于 repo 名和 Linear Project 名), one-line description, tech stack
- Ask project path: "项目放在哪?默认 ~/Projects/",user confirms or changes
- Show a confirmation summary of all details before proceeding — do NOT create anything until user confirms
-
Create Linear Project:
-
Create Phase Milestones (read ${CLAUDE_SKILL_DIR}/../reference/phase-template.md):
- Phase 1 — 数据准备与开发
- Phase 2 — 验证与Benchmark
- Phase 3 — 深入验证
- Phase 4 — Figure 组装
- Phase 5 — 论文写作
- Phase 6 — 投稿准备
- Phase 7 — 投稿后
- Phase 8 — 发表
-
Create repo:
-
Initialize repo structure (read ${CLAUDE_SKILL_DIR}/../reference/repo-structure.md):
- Create standard directory structure
- Generate CLAUDE.md from template (
${CLAUDE_SKILL_DIR}/../reference/claude-md-template.md)
- In CLAUDE.md, set "当前阶段:Phase 1"
- Copy (not move) files from Ideas workspace (
~/Projects/ideas/<idea-slug>/):
design.md → docs/design.md
framework.svg → docs/paper/figures/fig1-framework.svg (if exists)
literature-review.md → docs/literature-review.md (if exists)
- Keep the original Ideas workspace intact for reference
- Commit (and push if remote repo)
-
Archive the Ideas issue:
- Add a comment: "Promoted to project: . Linear: , GitHub: "
- Mark as Done
-
Report and guide next steps:
## 项目创建完成:<project-name>
Linear Project: <url>
Repo: <GitHub URL or local path>
CLAUDE.md: ✓
design.md: ✓ (从 Ideas 复制)
下一步:
1. cd <project-path>
2. /swf:load 加载项目上下文
3. /swf:plan-next <name> 规划 Phase 1 的第一批 issues
Safety
- ALWAYS confirm with user before creating repo and project
- NEVER create a public repo without explicit user consent