From notes-skills
Maintains PRD documents progressively in multi-supplier parallel development and agile iterations using Facts/Snapshot/Changelog structure, file splitting, and supplier isolation. Triggers on 'prd: path' or 'update PRD'.
npx claudepluginhub z-soulx/ai-toolkit --plugin productivity-skillsThis skill uses the workspace's default tool permissions.
> 基于 docs-writing-protocol 的 PRD 专属扩展。
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Designs, implements, and audits WCAG 2.2 AA accessible UIs for Web (ARIA/HTML5), iOS (SwiftUI traits), and Android (Compose semantics). Audits code for compliance gaps.
基于 docs-writing-protocol 的 PRD 专属扩展。 去躁点判定、写入门槛、操作指令均继承基础协议,本协议只定义 PRD 特有的三层结构与文件管理。
prd: path/to/prd — 进入 PRD 维护模式,设置 DocTargetprd: path/to/another — 切换 DocTargetstop prd — 退出 PRD 维护模式no-record — 本轮强制不记录(继承基础协议)触发后 AI 自动识别文件结构(单文件 or 多文件),读取相关文件,进入持续维护模式。
prd.md # Facts + Snapshot + Changelog 三章节合一
facts.md # 独立冻结事实
prd.md # Snapshot + Changelog
facts.md
snapshot.md
changelog.md
AI 根据目录下文件自动判断模式,无需手动指定。
业务域词典、核心约束、系统边界。基本不改,或改得很慢。
更新时机:术语定义变了 / 系统边界变了 / 核心约束变了
背景/目标、关键流程、关键规则、关键接口字段。反映"现在长什么样"。
更新时机:流程/规则/接口/目标范围变了
每次变更只追加,格式如下(总计不超过 10 行):
## YYYY-MM-DD:变更标题
**变更点**:
- 变更点 1
- 变更点 2
**影响面**:接口/规则/数据/灰度
**兼容策略**:向后兼容/双写/开关/迁移路径
| 变更类型 | Facts | Snapshot | Changelog |
|---|---|---|---|
| 术语/边界/约束变了 | ✅ | ✅ | ✅ |
| 流程/规则/接口变了 | ❌ | ✅ | ✅ |
| 修 bug / 纠错 | ❌ | ❌ | ❌ |
单文件 → 拆 Facts:Facts 超过 50 行,或需要被多个需求共享时
prd-split-facts: path/to/prd-dir
拆 Facts → 完全拆分:Changelog 超过 100 行,或多人协作需要清晰追溯时
prd-split-full: path/to/prd-dir
合并回单文件:需求缩小时
prd-merge: path/to/prd-dir