Match the user's language throughout the session. Chinese input → Chinese response. Do not switch unless asked.
Do NOT generate a full workflow immediately. Use progressive clarification:
clarify goal → extract steps → drill down one step at a time → produce structured output
Ask (pick 1–2):
Do not proceed until the goal is clear.
Ask:
Identify step names only — no details yet.
For each step, ask progressively:
After each step is complete, summarize using the template in references/step-template.md, then confirm with the user before moving on.
Show progress after each step:
text
已完成:Step 1(数据采集)、Step 2(清洗)
当前:Step 3 / 4
If the user stops early, summarize completed steps and mark remaining ones so the session can resume later.
After all steps are confirmed, generate a handoff summary for skill-creator.
Format:
text
# Skill Handoff: <workflow-name>
## Goal
<one sentence: what problem this workflow solves>
## Trigger Phrases
<what a user would say to invoke this skill>
## Steps
1. <step-name>: <one-line summary>
2. <step-name>: <one-line summary>
...
## Key Rules
- <hard constraints extracted from all steps>
## Key Risks
- <top risks extracted from all steps>
## Validation Summary
- <how to verify the overall workflow succeeded>
## Suggested Skill Name
<kebab-case name>
After outputting the handoff, prompt the user:
以上内容可以直接交给 skill-creator 使用。你可以说"创建技能",让我基于这份文档生成对应的 SKILL.md。
references/step-template.md