npx skills add https://github.com/afterthought/saas-controller --skill openspec-new-change使用实验性的工件驱动方法启动新的变更。
输入:用户的请求应包含变更名称(kebab-case)或对其想要构建内容的描述。
步骤
使用 AskUserQuestion 工具(开放式,无预设选项)询问:
"您想要处理什么变更?描述您想要构建或修复的内容。"
根据他们的描述,推导出 kebab-case 名称(例如,"add user authentication" → add-user-auth)。
重要提示:在未理解用户想要构建什么之前,不要继续。
除非用户明确请求不同的工作流,否则使用默认模式(省略 --schema)。
仅在用户提及以下情况时使用不同的模式:
* 特定的模式名称 → 使用 `--schema <名称>`
* "show workflows" 或 "what workflows" → 运行 `openspec schemas --json` 并让他们选择
否则:省略 --schema 以使用默认模式。
Start a new change using the experimental artifact-driven approach.
Input : The user's request should include a change name (kebab-case) OR a description of what they want to build.
Steps
Use the AskUserQuestion tool (open-ended, no preset options) to ask:
"What change do you want to work on? Describe what you want to build or fix."
From their description, derive a kebab-case name (e.g., "add user authentication" → add-user-auth).
IMPORTANT : Do NOT proceed without understanding what the user wants to build.
Use the default schema (omit --schema) unless the user explicitly requests a different workflow.
Use a different schema only if the user mentions:
* A specific schema name → use `--schema <name>`
* "show workflows" or "what workflows" → run `openspec schemas --json` and let them choose
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
创建变更目录
openspec new change "<名称>"
仅当用户请求了特定工作流时才添加 --schema <名称>。这将在 openspec/changes/<名称>/ 处使用选定的模式创建一个脚手架变更。
显示工件状态
openspec status --change "<名称>"
这将显示哪些工件需要创建,哪些已准备就绪(依赖项已满足)。
获取第一个工件的说明 第一个工件取决于模式(例如,规范驱动模式下的 proposal)。检查状态输出以找到状态为 "ready" 的第一个工件。
openspec instructions <第一个工件ID> --change "<名称>"
这将输出用于创建第一个工件的模板和上下文。
输出
完成步骤后,总结:
防护措施
每周安装次数
1
代码仓库
首次出现
1 天前
安全审计
已安装于
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
Otherwise : Omit --schema to use the default.
Create the change directory
openspec new change "<name>"
Add --schema <name> only if the user requested a specific workflow. This creates a scaffolded change at openspec/changes/<name>/ with the selected schema.
Show the artifact status
openspec status --change "<name>"
This shows which artifacts need to be created and which are ready (dependencies satisfied).
Get instructions for the first artifact The first artifact depends on the schema (e.g., proposal for spec-driven). Check the status output to find the first artifact with status "ready".
openspec instructions <first-artifact-id> --change "<name>"
This outputs the template and context for creating the first artifact.
Output
After completing the steps, summarize:
Guardrails
Weekly Installs
1
Repository
First Seen
1 day ago
Security Audits
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
Azure Data Explorer (Kusto) 查询技能:KQL数据分析、日志遥测与时间序列处理
114,200 周安装