一键导入
spec-writer
Write specgraph spec documents with correct YAML frontmatter, evidence requirements, and section structure.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Write specgraph spec documents with correct YAML frontmatter, evidence requirements, and section structure.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Write correct @spec JSDoc annotations in TypeScript/JavaScript source files to link code to specgraph spec documents.
Analyse specgraph verify output and identify what evidence is missing to advance specs to their next state.
Interpret the output of `specgraph verify` and explain what each status means and what to do next.
Write a specgraph evidence waiver for a spec requirement that cannot currently be satisfied, with a clear justification and expiry plan.
| name | spec-writer |
| description | Write specgraph spec documents with correct YAML frontmatter, evidence requirements, and section structure. |
Write a spec document for the feature or component described. Place it in docs/ with a .md extension.
---
id: <UPPERCASE-KEBAB-000> # unique ID, e.g. AUTH-001
title: "Human-readable title"
state: draft | in_progress | accepted | deprecated
kind: functional | non_functional | architecture | interface | constraint
required_evidence:
implementation: E0 # minimum evidence strength needed
# add more dimensions as needed: test_coverage, integration, etc.
# optional:
depends_on: [OTHER-001] # IDs this spec depends on
owner: "Team or person"
tags: [auth, security]
---
| Level | Meaning | Typical source |
|---|---|---|
| E0 | Declared intent | @spec JSDoc annotation |
| E1 | Structural artifact | Beads issue closed, file named after spec |
| E2 | Indexed reference | Cross-reference from another spec |
| E3 | Automated test | Test file with @spec annotation |
| E4 | Runtime proof | CI artifact, coverage report |
draft — early exploration, no evidence requiredin_progress — active development, E0 implementation typically sufficientaccepted — complete, requires E2+ implementation evidencedeprecated — no longer enforcedid stable — downstream annotations and Beads issues reference it.depends_on when this spec only makes sense after another is satisfied.specgraph waivers or docs/waivers/*.md.