From notes-skills
Maintains PRD documents with three-layer structure (Facts/Snapshot/Changelog) for multi-vendor parallel development and agile iteration. Supports progressive file splitting and vendor isolation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/notes-skills:prd-maintenanceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> 基于 docs-writing-protocol 的 PRD 专属扩展。
基于 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
npx claudepluginhub z-soulx/ai-toolkit --plugin doc-processing-skillsWrites Product Requirements Documents (PRDs) for new features (with/without UI), third-party integrations, feature refactoring, and performance/security optimizations. Scans project docs for consistency and embeds traceability metadata.
Manages PRD lifecycle: applies naming conventions, maintains directory structure, enforces status transitions, links PRDs to tasks, runs quality checks, and automates archiving.