AGENT SKILL

Diataxis 文档审查

diataxis-review

依据 Diataxis 规范审查文档树——对每一页进行分类、执行结构性检查,并可选择将发现的问题归档为技术债务。

License 许可
Apache-2.0
所属仓库
colliery-io/kairos
最近更新
2026-11-13
Stars
★ 1
Forks
4

01 前言 Front Matter

name
diataxis-review
description
Review a documentation tree against the Diataxis spec — classify every page, run the structural pass, and optionally file findings as tech debt.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

Diataxis Review

The Diataxis reference is the single source of truth for this review — the four modes and their criteria, classification heuristics, mode-mixing anti-patterns, structural checks, finding format, and severity levels live there and nowhere else. Read it end to end before opening a page and apply it verbatim; this file only sequences the work.

How the procedural pages are written is governed by a second source of truth: The Simplified Technical English reference (KAIROS-S-0009). Diataxis decides what a page is for; STE decides how a tutorial, how-to or reference page is worded. Read it before reviewing any page in those three modes, and cite its rule IDs (STE-S2, STE-G1, …) the way you cite Diataxis rules.

Do not apply STE to an explanation page. STE is a controlled language for procedures and is deliberately hostile to argument, so an explanation page is out of its scope — section 1.2 of the reference says so. Flagging an explanation page for a long sentence or a passive voice is a false finding, and one that would flatten exactly the reasoning the mode exists to carry.

1. Scope

Establish which tree is under review: the path the user gave, else the repo's docs root (ask if ambiguous). List every page in scope before classifying any — the structural pass needs the complete inventory.

2. Per-page pass

For each page in scope: determine its declared mode and actual mode(s) with the reference's Section 3 heuristics, then check it against its mode's Section 2 criteria and the Section 4 anti-patterns. Complete when every page in the inventory has a classification and a criteria check — a skipped page is an unfinished review.

3. Tree pass

With the full classification in hand, run the reference's Section 5 checks (S1–S6) across the tree. Complete when each of S1–S6 has an explicit verdict — pass or finding.

4. Report

Emit findings exactly in the reference's Section 6 format and ordering. Lead with the classification table — page, declared mode, actual distribution — for every page reviewed, findings or not. If the tree is clean, say so explicitly above that table.

5. File tech debt (optional)

Offer to file the findings on the team's delivery board. If accepted: resolve the board with whoami/my_boards, then one create_item per accepted finding — item_type: task, task_type: tech_debt, board set to the delivery board, title from the finding's proposed action, content the finding verbatim (rule IDs intact). Report the short codes created.

04 同仓库更多 Skills

colliery-io
colliery-io/kairos

交付看板梳理

triage

梳理交付看板——细化验收标准、确定缺陷优先级、权衡技术债务、归档过期条目、补充待办事项、上报跨团队阻碍。

项目经理工单与问题跟踪管理
★ 1
colliery-io
colliery-io/kairos

对话转行动项 PRD

to-initiative

将当前对话转化为一个附带 PRD 的 Kairos 行动项——无需访谈,仅综合已经讨论过的内容。

产品经理任务规划与分解
★ 1
colliery-io
colliery-io/kairos

Ralph 循环执行任务

ralph

以 Ralph 循环的方式逐个运行 Kairos 任务,依次执行 `/kairos:implement` 的各个步骤。

软件开发工程师定时任务与自动化编排
★ 1
colliery-io
colliery-io/kairos

Ralph 循环执行行动项

ralph-initiative

以 Ralph 循环的方式运行 Kairos 行动项中的未完成任务,按照其 blocks(阻塞)边的顺序执行。

软件开发工程师定时任务与自动化编排
★ 1
colliery-io
colliery-io/kairos

交付团队组建配置

onboard-team

带领一个新的或设置了一半的交付团队与相关人员一起进入可工作状态——包括其团队、成员、看板、代码仓库、团队页面和章程、任务派发以及本地配置连接。先读取、列出缺口、每次写入前先询问;可安全重复运行。

项目经理办公管理与协作
★ 1
colliery-io
colliery-io/kairos

Kairos 任务实现

implement

将一个 Kairos 任务从 Todo(待办)推进到 Completed(已完成)。当用户指定要实现的具体任务或短代码、要求接手下一个待办项,或经过梳理(groomed)的工作被移交执行时使用。

软件开发工程师代码实现
★ 1