用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Azure-Samples/Spec2Cloud --skill constitution命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use when starting or refining a project's requirements, before any planning or coding. Supports sub-commands `sync`, `reverse`, and `validate`.
Use when local verification passed and the feature is ready to ship to Azure.
Use when a plan exists and the application source or IaC needs to be created or updated.
基于 SOC 职业分类
正在显示 SKILL.md
| name | constitution |
| description | Create or update the project constitution (principles, non-negotiables, out-of-scope). |
$ARGUMENTS
$ARGUMENTS is the user's input from the triggering message — assume it's available even if the placeholder appears literally above. Don't ask the user to repeat it unless they provided an empty command.
Gather context. Read specs/constitution.md if it exists (this is an update, not a fresh write). Skim repo context — README.md, top-level docs, project metadata (pyproject.toml, package.json, etc.) — to ground the constitution in reality.
Create if missing. specs/constitution.md should be initialized from assets/constitution-template.md during project setup. If it's missing, copy the template first.
Update specs/constitution.md with these sections:
Guidelines: merge user input with existing content, preserving prior rules unless explicitly overridden; keep it terse — every line should be actionable by /speckit:specify, /speckit:plan, /speckit:tasks; mark genuine unknowns as [NEEDS CLARIFICATION: <question>] rather than inventing constraints; no implementation details, file structures, or task lists — those belong in plan.md and tasks.md.
Report the path to specs/constitution.md and a brief summary of what changed (or "created" if new).