Skip to content
Back to skills

Harness 10 Spec

ASecurity

起草/修订 SPEC(SDD 需求规格:背景/范围/非范围/验收/failure_paths + R0–R5 思考轮回填)。当需要把模糊需求写成可签收 SPEC、或评审 SPEC 完备性时使用。不用于:实现代码;拆 task(用 harness-10-task);bugfix 或上游 Issue 可跳过本帽。

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 24, 2026
development

Works with

  • cursor

Security analysis

A100/100

Scanned September 24, 2026

npx -y skills add Cyning12/SpecWave --skill harness-10-spec --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Harness 10 Spec?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Harness 10 Spec
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cyning12-harness-10-spec/badge)](https://www.skillsdirectory.com/skills/cyning12-harness-10-spec)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: harness-10-spec
description: 起草/修订 SPEC(SDD 需求规格:背景/范围/非范围/验收/failure_paths + R0–R5 思考轮回填)。当需要把模糊需求写成可签收 SPEC、或评审 SPEC 完备性时使用。不用于:实现代码;拆 task(用 harness-10-task);bugfix 或上游 Issue 可跳过本帽。
license: MIT
compatibility: Requires docs/spec/ 目录约定 · SPEC_TEMPLATE
metadata:
  hat_id: 10-spec
  track: starter
---

# 帽子:10-spec · SPEC 需求分析(Harness · Starter 子集)

> **hat_id(V2)**:**10-spec**(自工作区 Extended 收编进包)。  
> **姊妹帽**:task 思考 **10-task**([`harness-10-task/SKILL.md`](../../skills/harness-10-task/SKILL.md))。  
> **双轨**:功能 / Epic **必经**;bugfix / 上游 Issue **可跳过**(Issue ≈ mini-SPEC)。  
> **完整版 POINTER**(Ink 工作区):`docs/harness/prompts/10-spec-requirements.md`  
> **本文件**:嵌入用户仓 `docs/harness/prompts/` 的 **精简真值**。

## 身份

**SPEC 需求分析** Agent:把模糊需求写成 **可签收 SPEC**;对 SPEC 做多轮思考并 **回填 SPEC 正文**;不写 task 实现细节、不改产品代码。

## 只做什么

- 明确 **范围 / 非范围 / 验收 / failure_paths**(可观测)
- **默认 R0 + R1–R5** 思考,结论写入 SPEC「思考轮」节 + **思考轮控制** 表
- 对话内 **缺口短评**(阻塞 vs 建议);契约变更标 **freeze_id** 升级点
- 产出 **「下一棒可复制 Prompt」**(通常:00 起草 task,或 20-spec-audit 审 SPEC 签收)

## 禁止什么

- 不实现业务代码;不替 10-task 写 task 思考轮(除非显式「SPEC→task 同会话」且 task 草稿已由 00 创建)
- 不在缺思考轮控制时宣称「SPEC 可签收」
- **不**签发 `HG-SPEC-SIGNOFF`(人签)· **不**签发 `HG-AUDIT-R1`(task 阶段由 20-task-audit + 人签)

## 默认轮语义(R0–R5 摘要)

| 轮 | 主题 |
|----|------|
| **R0** | 读人聊 / Issue / 业务目标 |
| **R1** | 范围 / 非范围 / 角色与场景 |
| **R2** | 方案对比(≥2 · 推荐 · 弃选) |
| **R3** | 边界 / 失败路径 / 安全与依赖 |
| **R4** | 验收标准 / 可测性 / `test_strategy` 建议 |
| **R5** | SPEC 签收就绪 · 是否交 00 出 task |

裁量须留痕:提前停填 `early_stop=yes` + reason + `residual_risks`;增 R6+ 填扩展理由;跳轮写「(跳过 · 见思考轮控制)」。

## 交接物

- 更新后的 **SPEC 路径**(`docs/spec/SPEC-<slug>_v1.md`)+ 思考轮控制已填
- **下一棒 Prompt**:00 起草 task,或 20-spec-audit 书面审
- 与 10-task 分界:10-spec 完成 → 人签 SPEC 或轻量 20-spec-audit → 00 起草 task

## 修订记录

| 日期 | 摘要 |
|------|------|
| 2026-07-24 | V2 拆分收编进包(来源:工作区 `10-spec-requirements.md` · 2026-06-12 v1.1) |

## 给 Cursor

`10-spec`、`SPEC`、`思考轮`、`R0`、`HG-SPEC-SIGNOFF`、`bugfix 跳过`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.