@minus-ai/create-skill 0.1.0-beta.15 → 0.1.0-beta.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +4 -0
- package/package.json +1 -1
- package/templates/pipeline-reference.py.tpl +3 -0
package/index.mjs
CHANGED
|
@@ -620,6 +620,10 @@ ${templateDocs[inputType] || templateDocs.custom}
|
|
|
620
620
|
|
|
621
621
|
修改前端代码后,同步更新 \`frontend/src/locales/\` 下的多语言文件。
|
|
622
622
|
|
|
623
|
+
## 交互原则
|
|
624
|
+
- **尽量一次只问一个问题** — 用户没有研发背景,避免同时抛出多个不相关的问题,逐步引导
|
|
625
|
+
- 用简洁的日常语言解释技术概念,避免术语轰炸
|
|
626
|
+
|
|
623
627
|
## 开发约定
|
|
624
628
|
- 新增 pipeline 步骤:在 pipeline.py 中添加 \`async def step_N(self, ctx)\` 方法
|
|
625
629
|
- 新增前端步骤渲染:在 main.tsx 的 \`buildSteps\` 函数中添加步骤配置
|
package/package.json
CHANGED
|
@@ -11,4 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# 唯一容易写反的语义:StepOutcome.input_required 暂停后,用户提交的内容
|
|
13
13
|
# 挂在「下一步」的 ctx.last_user_input,而不是重跑本步。
|
|
14
|
+
# 推论:要生成「基于用户选择」的 LLM 摘要,必须放到下一步(读 last_user_input 再
|
|
15
|
+
# ctx.llm.chat);只分析整体数据的摘要才能随本步 complete/input_required 一起下发。
|
|
16
|
+
# 三种时序见 packages/docs/frontend-guide.md「步骤摘要的三种时序」。
|
|
14
17
|
# ──────────────────────────────────────────────────────────────────────────────
|