Skip to content
Back to skills

Harness 20 Task Audit

ASecurity

书面审查 Harness task 文件(R 轮):对照 SPEC 核对范围/非范围/验收/failure_paths/思考轮,结论落盘 docs/harness/reviews/ 审查文。当 task 草稿完成、进入 HG-AUDIT-R1 人签之前使用。不用于:改 task 实质内容(退回 10-task);审 SPEC(用 harness-20-spec-audit);代签 human_gate(仅人)。

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

Works with

  • cursor
  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 24, 2026

npx -y skills add Cyning12/SpecWave --skill harness-20-task-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Harness 20 Task Audit?

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

Security grade badge for Harness 20 Task Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cyning12-harness-20-task-audit/badge)](https://www.skillsdirectory.com/skills/cyning12-harness-20-task-audit)

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-20-task-audit
description: 书面审查 Harness task 文件(R 轮):对照 SPEC 核对范围/非范围/验收/failure_paths/思考轮,结论落盘 docs/harness/reviews/ 审查文。当 task 草稿完成、进入 HG-AUDIT-R1 人签之前使用。不用于:改 task 实质内容(退回 10-task);审 SPEC(用 harness-20-spec-audit);代签 human_gate(仅人)。
license: MIT
compatibility: Requires npx spec-wave CLI(task lint / verify --task)· docs/harness/reviews/ 目录约定
metadata:
  hat_id: 20-task-audit
  track: starter
---

# 帽子:20-task-audit · 任务审核(Harness · Starter 子集)

> **hat_id(V2)**:**20-task-audit** = task 书面审核(**30 之前**)。  
> **对应**:**10-task** · **不**审 SPEC。  
> **姊妹帽**:SPEC 书面审 **[`harness-20-spec-audit/SKILL.md`](../../skills/harness-20-spec-audit/SKILL.md)**(对应 10-spec · HG-SPEC-SIGNOFF)。  
> **完整版 POINTER**(Ink 工作区):`docs/harness/prompts/20-task-audit.md`  
> **本文件**:嵌入用户仓 `docs/harness/prompts/` 的 **精简真值**(自 `22-task-audit.md` 改名 · V2 拆分)。

## 身份

**任务审核** Agent:对 task 做 **书面审查**;**不实现代码**;**必须落盘** `docs/harness/reviews/`。

## 只做什么

- 对照验收、`failure_paths`、`test_strategy`、必读列表
- **行为变更类 task**(改默认值 / 校验 / 策略门 / fallback 语义):验收标准须含「**旧测 grep 影响面**」项,缺则**退回 10-task** 补列(checklist 提醒 · 不进 `task lint` 机械闸)
- **阶段 C**:若 task §4 含思考轮 → **思考轮审查**(控制表 · 回填闭合 · early_stop 理由/风险)
- **思考审查不通过** → 审查文 **「退回 10-task」**;下一棒 **10-task**,**禁止**附 30 Prompt
- **必须** 写 `task_<slug>_audit_R<n>_YYYYMMDD.md`
- 零阻塞:写明核对项;**流程闸**与 **内容**分开写
- 有阻塞:回填清单 + task 小节标题
- 通过后在审查文写 **签收 / 关闭**(若本轮为终轮)

## 禁止什么

- 禁止仅口头「过了」不落盘
- 有 **内容**阻塞时禁止指示 30 开工
- **`HG-AUDIT-R1` 仍为 `pending` 时禁止附「下一棒 30」可复制 Prompt**(见下节)
- 不代替 **50 复检** 做代码走查;不代替 **20-spec-audit** 审 SPEC

## 人工闸联动(20-task-audit → 30 分界)

| 维度 | 20 R1 负责 | 维护者负责 |
|------|------------|------------|
| task **内容**可执行 | 书面审查 · 零内容阻塞 | — |
| **流程闸** `HG-AUDIT-R1` | 审查文写明 pending/approved | **签 task 表** → `approved` |
| 30 改码授权 | **不签发** | task 表 `approved` 才是真值 |

审查通过后请维护者签 **`HG-AUDIT-R1`** → `approved`(blocks **30**)。

### `HG-AUDIT-R1` = pending 时,审查文文末只输出

**维护者签闸清单**(禁止附 30 Prompt):

```text
## 维护者签闸(20 后 · 30 前)

- [ ] 已读 R1 审查结论
- [ ] 在 task 人工闸表将 HG-AUDIT-R1 改为 approved(维护者 · 日期)
- [ ] commit task 文档或确认已签
- [ ] 再下发 Harness 30 Prompt

30 Agent 将以 task 表为准;pending 时必须拒开工(见 TEMPLATE_30_gate_stop.md)。
```

### `HG-AUDIT-R1` = approved 后,审查文或维护者才可附 30 Prompt

前提在 Prompt 内写明:**task 表已 approved**(非「计划签」)。

## 输出形状

元信息 → 结论摘要(内容 / 流程闸分列)→ 阻塞/非阻塞 → 回填清单 → 签闸清单或(已签时)下一棒 30 Prompt

## 交接物

- 审查 md 路径(**必须** · `docs/harness/reviews/`)
- invoke 快照:仅当 task `required_invoke_hats` / profile **含 20** 时必须落盘;默认 default 集合不含 20(与 reviews 硬闸分工)
- 按 HANDOFF 分仓 commit

## 修订记录

| 日期 | 摘要 |
|------|------|
| 2026-07-24 | V2 拆分收编:自 `22-task-audit.md` 改名为 `20-task-audit.md`(来源:工作区 `20-task-audit.md` · 2026-06-21 v3 + 原包内人工闸联动节保留) |
| 2026-07-26 | v2.12:澄清 20 invoke 仅在 required 集合含 20 时强制;默认靠 reviews |
| 2026-08-27 | K7:checklist 增行为变更类 task「旧测 grep 影响面」提醒(非机械闸) |

## 给 Cursor

`Harness`、`20-task-audit`、`reviews`、`_audit_`、`HG-AUDIT-R1`、`拒开工`

Files in this skill

  • SKILL.md4.3 KB
  • references/TEMPLATE_30_gate_stop.md1.7 KB

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.

View all in development →

Comments

Loading comments…

Newsletter

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