用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/meridian-online/orbit --skill spec-architect命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | spec-architect |
| description | Transform interview conversations into structured YAML specifications with numbered ACs |
| argument-hint | ["interview_file"] |
| allowed-tools | Bash Read Edit Write AskUserQuestion |
| user-invocable | false |
Transform interview conversations into immutable specifications — the "constitution" for workflow execution.
/orb:spec to extract structured requirements from interviewsWhen the input artefact (interview or design note) carries a top-of-file What good looks like user-voice paragraph, that paragraph is the intent contract — quote it or directly reference it in the generated goal (if it compresses to one sentence) or in a leading note on the spec (if it does not). The implementing agent reads prose-level intent from this paragraph; the structured Q&A is supporting evidence, not the contract.
id in ac-NN formatgoal: "Clear primary objective"
constraints:
- "Hard limitation 1"
- "Hard limitation 2"
acceptance_criteria:
- id: ac-01
ac_type: code # code | doc | gate | config
description: "Measurable criterion 1"
verification: "How to verify"
- id: ac-02
ac_type: doc
description: "Measurable criterion 2"
verification: "How to verify"
implementation_notes: # means-level leads from the design session — not constraints
- "Starting context for the implementing agent"
- "Agent can use or override with evidence"
ontology_schema:
name: "DomainModel"
description: "What this models"
fields:
- name: "field_name"
type: "string"
description: "What this field represents"
evaluation_principles:
- principle: "Quality dimension"
weight:
Every acceptance criterion gets a sequential ac-NN ID. These IDs are used by implementers to prefix test function names, creating a machine-checkable link from tests back to the spec.
When a project has multiple specs, AC IDs collide (ac-01 exists in every spec). The test_prefix metadata field disambiguates by scoping test names to the spec:
Spec metadata: test_prefix: remat
Spec AC: ac-03: "Steps execute in declared order"
Test: fn remat_ac03_steps_execute_in_declared_order() { ... }
When test_prefix is absent, tests use the bare ac<NN> prefix (backward-compatible):
Spec AC: ac-03: "Steps execute in declared order"
Test: fn ac03_steps_execute_in_declared_order() { ... }
Choosing a prefix: Use a short, unique label that identifies this spec — a slug (remat, introspect), an abbreviation, or a sequence (s03). Keep it short — it appears in every test name. Avoid version-like prefixes (v03) since metadata.version already carries the version and the overloading is confusing.
Every AC must include an ac_type field. This tells /orb:audit whether to expect a test:
| Type | When to use | Test expected? |
|---|---|---|
code | Functional behaviour implemented in source code | Yes |
doc | Document deliverable (decision record, runbook, design doc) | No |
gate | Manual or process gate (approval step, review checkpoint) | No |
config | Configuration change (env vars, infra settings, CI pipeline) | No |
Default to code when uncertain. Most ACs are code. The type field prevents /orb:audit from reporting false negatives on deliverables that have no test by design.
Be specific and concrete. Extract actual requirements from the conversation, not generic placeholders.
When extracting constraints and acceptance criteria, check whether each one is backed by evidence:
"ATR gate threshold at 66th percentile (frontier sweep: F1=0.527 ATR-high vs 0.335 elsewhere)"# ASSUMPTION — needs validation in a YAML comment. These are risk points that implementation may invalidate.# CONDITIONAL — valid only if <condition>.This traceability prevents specs from silently inheriting stale assumptions from prior work.