dev-playbooks 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +242 -0
- package/README.md +133 -462
- package/bin/devbooks.js +42 -4
- package/package.json +2 -1
- package/scripts/config-discovery.sh +1 -1
- package/scripts/detect-mcp.sh +86 -0
- package/skills/Skill-Development-Guide.md +1 -2
- package/skills/_shared/mcp-enhancement-template-mcp-enhancement.md +30 -113
- package/skills/_shared/references/completeness-thinking-framework.md +86 -0
- package/skills/_shared/references/human-advice-calibration-prompt.md +27 -0
- package/skills/devbooks-archiver/SKILL.md +20 -12
- package/skills/devbooks-archiver/references/archiver-prompt.md +66 -38
- package/skills/devbooks-brownfield-bootstrap/SKILL.md +32 -65
- package/skills/devbooks-coder/SKILL.md +61 -240
- package/skills/devbooks-coder/references/completion-status-and-routing.md +8 -8
- package/skills/devbooks-convergence-audit/SKILL.md +20 -0
- package/skills/devbooks-delivery-workflow/SKILL.md +26 -227
- package/skills/devbooks-delivery-workflow/references/orchestration-bans-and-stage-table.md +45 -0
- package/skills/devbooks-design-backport/SKILL.md +16 -3
- package/skills/devbooks-design-doc/SKILL.md +21 -9
- package/skills/devbooks-docs-consistency/SKILL.md +170 -0
- package/skills/devbooks-docs-consistency/references/completeness-dimensions.yaml +31 -0
- package/skills/devbooks-docs-consistency/references/doc-classification.yaml +11 -0
- package/skills/devbooks-docs-consistency/references/docs-rules-schema.yaml +11 -0
- package/skills/devbooks-docs-consistency/scripts/alias.sh +5 -0
- package/skills/devbooks-docs-consistency/scripts/completeness-checker.sh +153 -0
- package/skills/devbooks-docs-consistency/scripts/doc-classifier.sh +121 -0
- package/skills/devbooks-docs-consistency/scripts/git-adapter.sh +32 -0
- package/skills/devbooks-docs-consistency/scripts/rules-engine.sh +255 -0
- package/skills/devbooks-docs-consistency/scripts/scanner.sh +93 -0
- package/skills/devbooks-docs-consistency/scripts/style-checker.sh +123 -0
- package/skills/devbooks-docs-sync/SKILL.md +23 -318
- package/skills/devbooks-entropy-monitor/SKILL.md +15 -32
- package/skills/devbooks-impact-analysis/SKILL.md +26 -46
- package/skills/devbooks-implementation-plan/SKILL.md +23 -9
- package/skills/devbooks-proposal-author/SKILL.md +21 -15
- package/skills/devbooks-proposal-challenger/SKILL.md +16 -3
- package/skills/devbooks-proposal-judge/SKILL.md +16 -3
- package/skills/devbooks-reviewer/SKILL.md +23 -42
- package/skills/devbooks-router/SKILL.md +22 -356
- package/skills/devbooks-router/references/routing-rules-and-templates.md +120 -0
- package/skills/devbooks-spec-contract/SKILL.md +23 -39
- package/skills/devbooks-test-owner/SKILL.md +68 -309
- package/skills/devbooks-test-reviewer/SKILL.md +15 -5
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [2.3.0] - 2026-01-25
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **MCP Enhancement Features**:
|
|
13
|
+
- New MCP detection script `scripts/detect-mcp.sh`
|
|
14
|
+
- Enhanced MCP integration templates for all skills
|
|
15
|
+
- New MCP-related specification documents and guidance
|
|
16
|
+
|
|
17
|
+
- **Long-term Guidance and Reference Documentation**:
|
|
18
|
+
- New `skills/_shared/references/human-advice-calibration-prompt.md`
|
|
19
|
+
- New `skills/_shared/references/completeness-thinking-framework.md`
|
|
20
|
+
- New `skills/devbooks-delivery-workflow/references/orchestration-bans-and-stage-table.md`
|
|
21
|
+
- New `skills/devbooks-docs-consistency/` directory with consistency checking tools
|
|
22
|
+
- New `skills/devbooks-router/references/` directory
|
|
23
|
+
|
|
24
|
+
- **Specification Documentation Improvements**:
|
|
25
|
+
- Enhanced archiver prompt documentation
|
|
26
|
+
- Improved completion status and routing documentation
|
|
27
|
+
- Updated all skill SKILL.md files
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
|
|
31
|
+
- **Documentation Structure Optimization**:
|
|
32
|
+
- Updated all skill SKILL.md documents
|
|
33
|
+
- Optimized README.md and setup guides
|
|
34
|
+
- Improved MCP recommendation documentation
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## [2.2.1] - 2025-01-20
|
|
39
|
+
|
|
40
|
+
### Fixed
|
|
41
|
+
- Fix changelog display in update command
|
|
42
|
+
- Add complete version change records
|
|
43
|
+
- Include CHANGELOG.md in npm publish files
|
|
44
|
+
- Optimize update command performance
|
|
45
|
+
- Add version check caching (10-minute TTL)
|
|
46
|
+
- Avoid slow repeated network requests
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## [2.2.0] - 2025-01-20
|
|
51
|
+
|
|
52
|
+
### Added
|
|
53
|
+
- Every Code (`@just-every/code`) support
|
|
54
|
+
- Full Skills system support
|
|
55
|
+
- Skills directory: `~/.code/skills/` or `.code/skills/` (project-level)
|
|
56
|
+
- Uses `AGENTS.md` instruction file
|
|
57
|
+
- Install script now supports `--code-only` and `--with-code` options
|
|
58
|
+
- Version check caching (10-minute TTL) to speed up repeated `update` commands
|
|
59
|
+
|
|
60
|
+
### Changed
|
|
61
|
+
- Updated README tools support table
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## [2.1.0] - 2025-01-19
|
|
66
|
+
|
|
67
|
+
### Added
|
|
68
|
+
|
|
69
|
+
- **Version Changelog Display**: When running `dev-playbooks update`, the CLI now displays a formatted changelog summary showing all changes between the current version and the latest version
|
|
70
|
+
- ✅ Automatic fetch from GitHub: Retrieves CHANGELOG.md from the repository
|
|
71
|
+
- 📋 Smart parsing: Extracts and displays only relevant version changes
|
|
72
|
+
- 🎨 Colorized output: Highlights different types of changes (features, warnings, etc.)
|
|
73
|
+
- 🔗 Graceful fallback: Shows GitHub release link if network fails
|
|
74
|
+
- 📊 Content limit: Displays first 10 lines per version to avoid information overload
|
|
75
|
+
|
|
76
|
+
### Improved
|
|
77
|
+
|
|
78
|
+
- **User Experience**: Users can now make informed decisions about updates by reviewing what's new before upgrading
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## [2.0.0] - 2026-01-19
|
|
83
|
+
|
|
84
|
+
### Added
|
|
85
|
+
|
|
86
|
+
#### 🎯 Human-Friendly Document Templates
|
|
87
|
+
|
|
88
|
+
- **结论先行(Bottom Line Up Front)**: Every document (proposal, design, tasks, verification) now has a 30-second executive summary at the top
|
|
89
|
+
- ✅ What will result: List changes in plain language
|
|
90
|
+
- ❌ What won't result: Clearly state what won't change
|
|
91
|
+
- 📝 One-sentence summary: Understandable even for non-technical people
|
|
92
|
+
|
|
93
|
+
- **需求对齐(Alignment Check)**: Proposal phase now includes guided questions to uncover hidden requirements
|
|
94
|
+
- 👤 Role identification: Quick Starter / Platform Builder / Rapid Validator
|
|
95
|
+
- 🎯 Core requirements: Explicit + hidden requirements
|
|
96
|
+
- 💡 Multi-perspective recommendations: Different recommendations based on different roles
|
|
97
|
+
|
|
98
|
+
- **默认批准机制(Default Approval Mechanism)**: Reduce decision fatigue with auto-approval
|
|
99
|
+
- ⏰ User silence = agreement: Auto-approve after timeout
|
|
100
|
+
- 🎛️ Configurable timeout: proposal 48h / design 24h / tasks 24h / verification 12h
|
|
101
|
+
- 🔒 Retain control: Users can reject or customize at any time
|
|
102
|
+
|
|
103
|
+
- **项目级文档(Project-Level Documents)**: Knowledge retention and decision tracking
|
|
104
|
+
- 📋 User Profile (project-profile.md): Record role, requirements, constraints, preferences
|
|
105
|
+
- 📝 Decision Log (decision-log.md): Record all important decisions for retrospection
|
|
106
|
+
|
|
107
|
+
#### New Document Templates
|
|
108
|
+
|
|
109
|
+
- `skills/_shared/references/文档模板-proposal.md` (Chinese)
|
|
110
|
+
- `skills/_shared/references/文档模板-design.md` (Chinese)
|
|
111
|
+
- `skills/_shared/references/文档模板-tasks.md` (Chinese)
|
|
112
|
+
- `skills/_shared/references/文档模板-verification.md` (Chinese)
|
|
113
|
+
- `skills/_shared/references/文档模板-project-profile.md` (Chinese)
|
|
114
|
+
- `skills/_shared/references/文档模板-decision-log.md` (Chinese)
|
|
115
|
+
- `skills/_shared/references/批准配置说明.md` (Chinese)
|
|
116
|
+
- `skills/_shared/references/document-template-proposal.md` (English)
|
|
117
|
+
- `skills/_shared/references/document-template-design.md` (English)
|
|
118
|
+
- `skills/_shared/references/document-template-tasks.md` (English)
|
|
119
|
+
- `skills/_shared/references/document-template-verification.md` (English)
|
|
120
|
+
- `skills/_shared/references/document-template-project-profile.md` (English)
|
|
121
|
+
- `skills/_shared/references/document-template-decision-log.md` (English)
|
|
122
|
+
- `skills/_shared/references/approval-configuration-guide.md` (English)
|
|
123
|
+
|
|
124
|
+
#### Documentation
|
|
125
|
+
|
|
126
|
+
- Added `docs/v2.0.0-修改总结.md`: Comprehensive summary of v2.0.0 changes
|
|
127
|
+
- Updated README.md with v2.0.0 features section (both Chinese and English versions)
|
|
128
|
+
|
|
129
|
+
### Changed
|
|
130
|
+
|
|
131
|
+
- **proposal-author skill**: Updated to use new document templates
|
|
132
|
+
- Now generates documents with "Bottom Line Up Front" section
|
|
133
|
+
- Includes "Alignment Check" to uncover hidden requirements
|
|
134
|
+
- Provides multi-perspective recommendations based on user role
|
|
135
|
+
- References new template files in prompts
|
|
136
|
+
|
|
137
|
+
### Breaking Changes
|
|
138
|
+
|
|
139
|
+
⚠️ **Document Structure Changes**
|
|
140
|
+
|
|
141
|
+
- Existing proposal.md files do not conform to the new structure
|
|
142
|
+
- Migration may be required for existing projects
|
|
143
|
+
- Old format is still supported but not recommended
|
|
144
|
+
|
|
145
|
+
**Mitigation**:
|
|
146
|
+
- Migration script will be provided in future releases
|
|
147
|
+
- Backward compatibility maintained for reading old format
|
|
148
|
+
- New projects will use new format by default
|
|
149
|
+
|
|
150
|
+
⚠️ **Approval Mechanism Changes**
|
|
151
|
+
|
|
152
|
+
- Introduces default approval mechanism which may not fit all team workflows
|
|
153
|
+
- Default strategy is `auto_approve` but can be changed to `require_explicit`
|
|
154
|
+
|
|
155
|
+
**Mitigation**:
|
|
156
|
+
- Configurable approval strategy in `.devbooks/config.yaml`
|
|
157
|
+
- Can disable auto-approval for high-risk projects
|
|
158
|
+
- Timeout values are configurable
|
|
159
|
+
|
|
160
|
+
### Design Philosophy
|
|
161
|
+
|
|
162
|
+
This release is inspired by:
|
|
163
|
+
- Cognitive Load Theory: Minimize extraneous load, maximize germane load
|
|
164
|
+
- Dual Process Theory: Design for both System 1 (fast) and System 2 (slow) thinking
|
|
165
|
+
- Nudge Theory: Use default options to guide better decisions
|
|
166
|
+
- Inverted Pyramid Structure: Put conclusions first, details later
|
|
167
|
+
|
|
168
|
+
**Core Principles**:
|
|
169
|
+
- 🎯 Assume users are non-technical: Use plain language, avoid jargon
|
|
170
|
+
- 🤔 Uncover hidden requirements: Guide users through questions
|
|
171
|
+
- ⏰ Reduce decision fatigue: Default approval with configurable timeout
|
|
172
|
+
- 📋 Knowledge retention: Project-level documents for long-term reference
|
|
173
|
+
|
|
174
|
+
### Upgrade Guide
|
|
175
|
+
|
|
176
|
+
#### For Existing Projects
|
|
177
|
+
|
|
178
|
+
1. Update npm package:
|
|
179
|
+
```bash
|
|
180
|
+
npm install -g dev-playbooks-cn@2.0.0
|
|
181
|
+
# or
|
|
182
|
+
npm install -g dev-playbooks@2.0.0
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
2. (Optional) Migrate existing documents:
|
|
186
|
+
```bash
|
|
187
|
+
# Migration script will be provided in future releases
|
|
188
|
+
devbooks migrate --from 1.x --to 2.0.0
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
3. (Optional) Configure approval mechanism:
|
|
192
|
+
Create `.devbooks/config.yaml`:
|
|
193
|
+
```yaml
|
|
194
|
+
approval:
|
|
195
|
+
default_strategy: auto_approve
|
|
196
|
+
timeout:
|
|
197
|
+
proposal: 48
|
|
198
|
+
design: 24
|
|
199
|
+
tasks: 24
|
|
200
|
+
verification: 12
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
4. (Optional) Create project-level documents:
|
|
204
|
+
```bash
|
|
205
|
+
devbooks init-profile
|
|
206
|
+
devbooks init-decision-log
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
#### For New Projects
|
|
210
|
+
|
|
211
|
+
New projects will automatically use the new document templates. No migration needed.
|
|
212
|
+
|
|
213
|
+
### References
|
|
214
|
+
|
|
215
|
+
- Report: "Protocol 2026: Cognitive Compatibility and Human-Computer Communication Standards in the AI-Native Era"
|
|
216
|
+
- Cognitive Load Theory (CLT)
|
|
217
|
+
- Dual Process Theory
|
|
218
|
+
- Nudge Theory
|
|
219
|
+
- Inverted Pyramid Structure
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
## [1.7.4] - 2026-01-18
|
|
224
|
+
|
|
225
|
+
### Changed
|
|
226
|
+
- Various bug fixes and improvements
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
## [1.7.0] - 2026-01-15
|
|
231
|
+
|
|
232
|
+
### Added
|
|
233
|
+
- Initial release with 18 skills
|
|
234
|
+
- Support for Claude Code, Codex CLI, and other AI tools
|
|
235
|
+
- Quality gates and role isolation
|
|
236
|
+
- MCP integration support
|
|
237
|
+
|
|
238
|
+
---
|
|
239
|
+
|
|
240
|
+
[2.0.0]: https://github.com/Darkbluelr/dev-playbooks-cn/compare/v1.7.4...v2.0.0
|
|
241
|
+
[1.7.4]: https://github.com/Darkbluelr/dev-playbooks-cn/compare/v1.7.0...v1.7.4
|
|
242
|
+
[1.7.0]: https://github.com/Darkbluelr/dev-playbooks-cn/releases/tag/v1.7.0
|