doc-spec

仓库创建 2025年11月10日最近提交 21 天前SkillHot 收录 21 天前
▸ 精选理由

用于在 TDD 前把组件契约与行为清晰写明

这个 Skill 做什么

生成面向实现的组件技术规范(SPEC),定义接口与数据模型

把已经做出的架构或设计决策,写成可以交给开发实现的技术 SPEC,明确组件接口、数据模型和行为契约。在 ADR 决策稳定、准备写测试或开始实现之前使用,确保工程团队拿到的是可执行的说明而不是抽象设计。特点是面向实现的 C4-L3 级别规范,侧重接口与合约,直接指导后续 TDD 和编码。

▸ 展开 SKILL.md 英文原文

Create a Technical Specification (SPEC) - Layer 6 of the SDD flow, defining component interfaces, data models, and behavior contracts. Use when ADR decisions are settled and you need an implementation-ready spec before TDD.

开发编程技术规格接口定义设计文档Claude Code
16
Stars
3
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/vladm3105/aidoc-flow-framework/main/platforms/claude-code-plugin/skills/doc-spec/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/vladm3105/aidoc-flow-framework/main/platforms/claude-code-plugin/skills/doc-spec/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# doc-spec

## Purpose

Create a **Technical Specification (SPEC)** — Layer 6 of the SDD flow. A SPEC is
the implementation-ready, C4-L3 (Component) contract for a single software
component: its interfaces, data models, and behavior — written before any
downstream test or code.

**Layer**: 6 — the unified specification. A SPEC subsumes what older revisions
split into component/data/ux/risk/process specs; there is now **one** SPEC
artifact per component.
**Upstream**: EARS, BDD, ADR (per the necessary-upstream contract; ADR is the
primary source. Upstream PRD/BRD lineage is reachable transitively via the
@-tag chain).
**Downstream**: TDD → IPLAN → Code.

## When to Use

Use `doc-spec` when:

via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有