ace-handbook 0.19.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.
- checksums.yaml +7 -0
- data/.ace-defaults/handbook/config.yml +4 -0
- data/.ace-defaults/nav/protocols/guide-sources/ace-handbook.yml +19 -0
- data/.ace-defaults/nav/protocols/tmpl-sources/ace-handbook.yml +10 -0
- data/.ace-defaults/nav/protocols/wfi-sources/ace-handbook.yml +19 -0
- data/CHANGELOG.md +362 -0
- data/LICENSE +21 -0
- data/README.md +42 -0
- data/Rakefile +12 -0
- data/exe/ace-handbook +6 -0
- data/handbook/guides/ai-agent-integration.g.md +625 -0
- data/handbook/guides/atom-pattern.g.md +371 -0
- data/handbook/guides/changelog.g.md +333 -0
- data/handbook/guides/cli-dry-cli.g.md +276 -0
- data/handbook/guides/cli-support-cli.g.md +277 -0
- data/handbook/guides/coding-standards/ruby.md +41 -0
- data/handbook/guides/coding-standards/rust.md +19 -0
- data/handbook/guides/coding-standards/typescript.md +20 -0
- data/handbook/guides/coding-standards.g.md +134 -0
- data/handbook/guides/debug-troubleshooting.g.md +62 -0
- data/handbook/guides/error-handling/ruby.md +29 -0
- data/handbook/guides/error-handling/rust.md +59 -0
- data/handbook/guides/error-handling/typescript.md +38 -0
- data/handbook/guides/error-handling.g.md +207 -0
- data/handbook/guides/meta/agents-definition.g.md +823 -0
- data/handbook/guides/meta/guides-definition.g.md +322 -0
- data/handbook/guides/meta/markdown-definition.g.md +210 -0
- data/handbook/guides/meta/tools-definition.g.md +159 -0
- data/handbook/guides/meta/workflow-instructions-definition.g.md +367 -0
- data/handbook/guides/mono-repo-patterns.g.md +92 -0
- data/handbook/guides/multi-agent-research.g.md +251 -0
- data/handbook/guides/performance/ruby.md +25 -0
- data/handbook/guides/performance/rust.md +48 -0
- data/handbook/guides/performance/typescript.md +32 -0
- data/handbook/guides/performance.g.md +211 -0
- data/handbook/guides/prompt-caching.g.md +83 -0
- data/handbook/guides/quality-assurance/ruby.md +33 -0
- data/handbook/guides/quality-assurance/rust.md +41 -0
- data/handbook/guides/quality-assurance/typescript.md +49 -0
- data/handbook/guides/quality-assurance.g.md +222 -0
- data/handbook/guides/strategic-planning.g.md +69 -0
- data/handbook/guides/troubleshooting/ruby.md +21 -0
- data/handbook/guides/troubleshooting/rust.md +20 -0
- data/handbook/guides/troubleshooting/typescript.md +36 -0
- data/handbook/guides/workflow-context-embedding.g.md +286 -0
- data/handbook/skills/as-handbook-init-project/SKILL.md +34 -0
- data/handbook/skills/as-handbook-manage-agents/SKILL.md +35 -0
- data/handbook/skills/as-handbook-manage-guides/SKILL.md +35 -0
- data/handbook/skills/as-handbook-manage-workflows/SKILL.md +35 -0
- data/handbook/skills/as-handbook-parallel-research/SKILL.md +29 -0
- data/handbook/skills/as-handbook-perform-delivery/SKILL.md +35 -0
- data/handbook/skills/as-handbook-review-guides/SKILL.md +32 -0
- data/handbook/skills/as-handbook-review-workflows/SKILL.md +32 -0
- data/handbook/skills/as-handbook-synthesize-research/SKILL.md +29 -0
- data/handbook/skills/as-handbook-update-docs/SKILL.md +35 -0
- data/handbook/skills/as-release/SKILL.md +50 -0
- data/handbook/skills/as-release-bump-version/SKILL.md +28 -0
- data/handbook/skills/as-release-rubygems-publish/SKILL.md +58 -0
- data/handbook/skills/as-release-update-changelog/SKILL.md +28 -0
- data/handbook/templates/completed-work-documentation.md +59 -0
- data/handbook/templates/cookbooks/cookbook.template.md +237 -0
- data/handbook/templates/research-comparison.template.md +175 -0
- data/handbook/workflow-instructions/handbook/init-project.wf.md +629 -0
- data/handbook/workflow-instructions/handbook/manage-agents.wf.md +379 -0
- data/handbook/workflow-instructions/handbook/manage-guides.wf.md +294 -0
- data/handbook/workflow-instructions/handbook/manage-workflows.wf.md +292 -0
- data/handbook/workflow-instructions/handbook/parallel-research.wf.md +328 -0
- data/handbook/workflow-instructions/handbook/perform-delivery.wf.md +267 -0
- data/handbook/workflow-instructions/handbook/research.wf.md +247 -0
- data/handbook/workflow-instructions/handbook/review-guides.wf.md +348 -0
- data/handbook/workflow-instructions/handbook/review-workflows.wf.md +299 -0
- data/handbook/workflow-instructions/handbook/synthesize-research.wf.md +429 -0
- data/handbook/workflow-instructions/handbook/update-docs.wf.md +338 -0
- data/lib/ace/handbook/atoms/provider_registry.rb +70 -0
- data/lib/ace/handbook/cli/commands/status.rb +36 -0
- data/lib/ace/handbook/cli/commands/sync.rb +36 -0
- data/lib/ace/handbook/cli.rb +51 -0
- data/lib/ace/handbook/models/skill_document.rb +25 -0
- data/lib/ace/handbook/molecules/skill_projection.rb +54 -0
- data/lib/ace/handbook/organisms/provider_syncer.rb +106 -0
- data/lib/ace/handbook/organisms/skill_inventory.rb +54 -0
- data/lib/ace/handbook/organisms/status_collector.rb +181 -0
- data/lib/ace/handbook/version.rb +7 -0
- data/lib/ace/handbook.rb +28 -0
- metadata +227 -0
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
---
|
|
2
|
+
doc-type: workflow
|
|
3
|
+
title: Review Guides
|
|
4
|
+
purpose: Documentation for ace-handbook/handbook/workflow-instructions/handbook/review-guides.wf.md
|
|
5
|
+
ace-docs:
|
|
6
|
+
last-updated: 2026-03-12
|
|
7
|
+
last-checked: 2026-03-21
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Review Guides
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
|
|
14
|
+
Systematically review multiple development guide files for compliance with standards, consistency, conceptual focus, and
|
|
15
|
+
quality. This meta-workflow provides batch review capabilities for handbook maintainers to ensure guides follow
|
|
16
|
+
established patterns and maintain coherent coverage of development principles and standards.
|
|
17
|
+
|
|
18
|
+
## Prerequisites
|
|
19
|
+
|
|
20
|
+
* Understanding of guide definition principles and standards
|
|
21
|
+
* Access to handbook guide standards
|
|
22
|
+
* Knowledge of existing guide patterns and organization
|
|
23
|
+
* List of guide files to review (or intent to review all)
|
|
24
|
+
|
|
25
|
+
## Project Context Loading
|
|
26
|
+
|
|
27
|
+
* Load guide standards: `ace-handbook/handbook/guides/meta/guides-definition.g.md`
|
|
28
|
+
* Load markdown standards: `ace-handbook/handbook/guides/meta/markdown-definition.g.md`
|
|
29
|
+
* Load example guides from `ace-handbook/handbook/guides/`
|
|
30
|
+
|
|
31
|
+
## Process Steps
|
|
32
|
+
|
|
33
|
+
1. **Define Review Scope:**
|
|
34
|
+
* Determine which guides to review:
|
|
35
|
+
* All guides in `guides/`
|
|
36
|
+
* Specific subset based on criteria (category, recent changes, specific domain)
|
|
37
|
+
* Individual guides provided by user
|
|
38
|
+
* Identify review objectives:
|
|
39
|
+
* Standards compliance and conceptual focus
|
|
40
|
+
* Language modularity implementation
|
|
41
|
+
* Cross-reference integrity
|
|
42
|
+
* Content gaps and coverage analysis
|
|
43
|
+
2. **Gather Guide Inventory:**
|
|
44
|
+
* List all guide files to review:
|
|
45
|
+
|
|
46
|
+
find guides -name "*.g.md" -type f
|
|
47
|
+
{: .language-bash}
|
|
48
|
+
|
|
49
|
+
* Identify language-specific sub-guides:
|
|
50
|
+
|
|
51
|
+
find guides -name "*.md" -not -name "*.g.md" -type f
|
|
52
|
+
{: .language-bash}
|
|
53
|
+
|
|
54
|
+
* Group guides by category (Core Process, Standards, Technical, etc.)
|
|
55
|
+
* Note file relationships and cross-references
|
|
56
|
+
3. **Initialize Review Process:**
|
|
57
|
+
* Create review session directory:
|
|
58
|
+
|
|
59
|
+
mkdir -p dev-taskflow/current/v.X.Y.Z-release/guide-review/$(date +%Y%m%d)
|
|
60
|
+
{: .language-bash}
|
|
61
|
+
|
|
62
|
+
* Create review summary template:
|
|
63
|
+
|
|
64
|
+
# Guide Review Session - [Date]
|
|
65
|
+
|
|
66
|
+
## Review Scope
|
|
67
|
+
* Total guides reviewed: [N main guides]
|
|
68
|
+
* Language sub-guides reviewed: [N sub-guides]
|
|
69
|
+
* Review criteria: [Conceptual focus, standards compliance, consistency]
|
|
70
|
+
|
|
71
|
+
## Coverage Analysis
|
|
72
|
+
* Core development processes: [Status]
|
|
73
|
+
* Standards and best practices: [Status]
|
|
74
|
+
* Technical implementation guides: [Status]
|
|
75
|
+
* Meta and documentation guides: [Status]
|
|
76
|
+
|
|
77
|
+
## Summary Results
|
|
78
|
+
* ✅ Compliant guides: [N]
|
|
79
|
+
* ⚠️ Guides needing minor improvements: [N]
|
|
80
|
+
* ❌ Guides needing major revision: [N]
|
|
81
|
+
* 📝 Content gaps identified: [N]
|
|
82
|
+
|
|
83
|
+
## Detailed Findings
|
|
84
|
+
[Individual guide assessments]
|
|
85
|
+
|
|
86
|
+
## Recommended Actions
|
|
87
|
+
[Prioritized improvement tasks]
|
|
88
|
+
{: .language-markdown}
|
|
89
|
+
4. **Review Each Guide Systematically:**
|
|
90
|
+
|
|
91
|
+
For each guide file, assess the following areas:
|
|
92
|
+
|
|
93
|
+
**Conceptual Focus Compliance:**
|
|
94
|
+
|
|
95
|
+
* ✅ Focuses on "why" (principles, concepts, standards)
|
|
96
|
+
* ✅ Explains rationale behind recommendations
|
|
97
|
+
* ✅ Avoids step-by-step procedures (leaves those to workflows)
|
|
98
|
+
* ✅ Provides decision-making context
|
|
99
|
+
**Structure and Organization:**
|
|
100
|
+
|
|
101
|
+
* ✅ Uses proper `.g.md` naming convention
|
|
102
|
+
* ✅ Follows noun-phrase naming pattern
|
|
103
|
+
* ✅ Has clear, scannable structure with headings
|
|
104
|
+
* ✅ Organized logically for quick reference
|
|
105
|
+
**Language Modularity:**
|
|
106
|
+
|
|
107
|
+
* ✅ Main guide is language-agnostic (if applicable)
|
|
108
|
+
* ✅ Language-specific details extracted to sub-guides
|
|
109
|
+
* ✅ Proper subdirectory structure for language variants
|
|
110
|
+
* ✅ Clear navigation between main and sub-guides
|
|
111
|
+
**Content Quality:**
|
|
112
|
+
|
|
113
|
+
* ✅ Information is accurate and up-to-date
|
|
114
|
+
* ✅ Examples illustrate concepts (not procedures)
|
|
115
|
+
* ✅ Terminology is consistent with project standards
|
|
116
|
+
* ✅ Cross-references are accurate and helpful
|
|
117
|
+
5. **Analyze Language Modularity Implementation:**
|
|
118
|
+
|
|
119
|
+
For guides with language-specific content:
|
|
120
|
+
|
|
121
|
+
**Main Guide Assessment:**
|
|
122
|
+
|
|
123
|
+
* Does it contain language-specific implementation details?
|
|
124
|
+
* Are general principles clearly separated from specifics?
|
|
125
|
+
* Does it properly reference language sub-guides?
|
|
126
|
+
**Sub-Guide Assessment:**
|
|
127
|
+
|
|
128
|
+
* Are language-specific guides appropriately focused?
|
|
129
|
+
* Do they follow the `[topic]/[language].md` pattern?
|
|
130
|
+
* Do they integrate well with main guide principles?
|
|
131
|
+
* Are they consistent across different languages?
|
|
132
|
+
**Cross-Reference Validation:**
|
|
133
|
+
|
|
134
|
+
* Are links between main and sub-guides accurate?
|
|
135
|
+
* Do sub-guides reference back to main principles?
|
|
136
|
+
* Are external references to guides correct?
|
|
137
|
+
6. **Document Review Findings:**
|
|
138
|
+
|
|
139
|
+
For each guide, create a standardized assessment:
|
|
140
|
+
|
|
141
|
+
### [Guide Name] - [filename.g.md]
|
|
142
|
+
|
|
143
|
+
**Overall Status:** ✅ Compliant | ⚠️ Minor Issues | ❌ Major Issues
|
|
144
|
+
**Category:** [Core Process | Standards | Technical | Meta]
|
|
145
|
+
|
|
146
|
+
**Conceptual Focus Assessment:**
|
|
147
|
+
* Principle-based content: ✅/❌
|
|
148
|
+
* Avoids procedures: ✅/❌
|
|
149
|
+
* Provides decision context: ✅/❌
|
|
150
|
+
|
|
151
|
+
**Structure Assessment:**
|
|
152
|
+
* Naming convention: ✅/❌
|
|
153
|
+
* Scannable organization: ✅/❌
|
|
154
|
+
* Logical flow: ✅/❌
|
|
155
|
+
|
|
156
|
+
**Language Modularity Assessment:**
|
|
157
|
+
* Main guide language-agnostic: ✅/❌/N/A
|
|
158
|
+
* Sub-guides properly structured: ✅/❌/N/A
|
|
159
|
+
* Clear navigation: ✅/❌/N/A
|
|
160
|
+
|
|
161
|
+
**Content Quality Assessment:**
|
|
162
|
+
* Accuracy: ✅ Current | ⚠️ Minor issues | ❌ Outdated
|
|
163
|
+
* Consistency: ✅ Consistent | ⚠️ Some issues | ❌ Inconsistent
|
|
164
|
+
* Completeness: ✅ Complete | ⚠️ Minor gaps | ❌ Major gaps
|
|
165
|
+
|
|
166
|
+
**Cross-Reference Assessment:**
|
|
167
|
+
* Internal links: ✅ Working | ⚠️ Some broken | ❌ Many broken
|
|
168
|
+
* External references: ✅ Accurate | ⚠️ Some issues | ❌ Incorrect
|
|
169
|
+
|
|
170
|
+
**Issues Identified:**
|
|
171
|
+
* [Specific issue 1]
|
|
172
|
+
* [Specific issue 2]
|
|
173
|
+
|
|
174
|
+
**Recommended Actions:**
|
|
175
|
+
* [Priority level] [Specific action needed]
|
|
176
|
+
{: .language-markdown}
|
|
177
|
+
|
|
178
|
+
7. **Analyze Guide Coverage and Organization:**
|
|
179
|
+
|
|
180
|
+
**Coverage Assessment:**
|
|
181
|
+
|
|
182
|
+
* Are all major development areas covered?
|
|
183
|
+
* Are there gaps in standards or best practices?
|
|
184
|
+
* Do guides complement each other effectively?
|
|
185
|
+
* Are there overlaps that could be consolidated?
|
|
186
|
+
**Organization Assessment:**
|
|
187
|
+
|
|
188
|
+
* Is the categorization in README.md logical?
|
|
189
|
+
* Are related guides clearly connected?
|
|
190
|
+
* Is the progression from basic to advanced clear?
|
|
191
|
+
* Are cross-references helping navigation?
|
|
192
|
+
8. **Check Cross-Reference Integrity:**
|
|
193
|
+
* Verify all internal links work correctly
|
|
194
|
+
* Check references to workflow instructions
|
|
195
|
+
* Validate external links and references
|
|
196
|
+
* Ensure bi-directional references where appropriate
|
|
197
|
+
9. **Prioritize Improvement Actions:**
|
|
198
|
+
|
|
199
|
+
**Critical Issues (Fix Immediately):**
|
|
200
|
+
|
|
201
|
+
* Guides that are procedural instead of conceptual
|
|
202
|
+
* Broken cross-references or navigation
|
|
203
|
+
* Serious inaccuracies or outdated information
|
|
204
|
+
* Major structural problems
|
|
205
|
+
**High Priority Issues (Fix Soon):**
|
|
206
|
+
|
|
207
|
+
* Language modularity violations
|
|
208
|
+
* Inconsistent terminology usage
|
|
209
|
+
* Missing cross-references
|
|
210
|
+
* Content gaps in important areas
|
|
211
|
+
**Medium Priority Issues (Plan for Fix):**
|
|
212
|
+
|
|
213
|
+
* Minor accuracy updates
|
|
214
|
+
* Improved examples or explanations
|
|
215
|
+
* Better organization or structure
|
|
216
|
+
* Enhanced scanability
|
|
217
|
+
**Low Priority Issues (Nice to Have):**
|
|
218
|
+
|
|
219
|
+
* Additional examples
|
|
220
|
+
* Minor formatting improvements
|
|
221
|
+
* Enhanced cross-references
|
|
222
|
+
10. **Generate Comprehensive Review Report:**
|
|
223
|
+
* Compile complete assessment of guide collection
|
|
224
|
+
* Include coverage analysis and gap identification
|
|
225
|
+
* Document cross-reference integrity status
|
|
226
|
+
* Provide actionable improvement roadmap
|
|
227
|
+
* Suggest organizational improvements
|
|
228
|
+
|
|
229
|
+
## Review Criteria and Standards
|
|
230
|
+
|
|
231
|
+
### Conceptual Focus Requirements
|
|
232
|
+
|
|
233
|
+
* Explains principles and rationale ("why")
|
|
234
|
+
* Avoids step-by-step procedures ("how")
|
|
235
|
+
* Provides decision-making context
|
|
236
|
+
* Links to workflows for implementation
|
|
237
|
+
|
|
238
|
+
### Structure Standards
|
|
239
|
+
|
|
240
|
+
* Uses `.g.md` naming convention
|
|
241
|
+
* Follows noun-phrase naming pattern
|
|
242
|
+
* Organized with clear, scannable headings
|
|
243
|
+
* Logical flow from concepts to specifics
|
|
244
|
+
|
|
245
|
+
### Language Modularity Standards
|
|
246
|
+
|
|
247
|
+
* Main guides are language-agnostic
|
|
248
|
+
* Language-specific content in sub-guides
|
|
249
|
+
* Sub-guide pattern: `[topic]/[language].md`
|
|
250
|
+
* Clear navigation between variants
|
|
251
|
+
|
|
252
|
+
### Content Quality Standards
|
|
253
|
+
|
|
254
|
+
* Information is accurate and current
|
|
255
|
+
* Examples illustrate concepts, not procedures
|
|
256
|
+
* Terminology matches project standards
|
|
257
|
+
* Cross-references are accurate and helpful
|
|
258
|
+
|
|
259
|
+
## Automated Review Checks
|
|
260
|
+
|
|
261
|
+
### Basic Compliance Checks
|
|
262
|
+
|
|
263
|
+
# Check for proper .g.md naming
|
|
264
|
+
find guides -name "*.md" -not -name "*.g.md" -not -path "*/guides/*/" -type f
|
|
265
|
+
|
|
266
|
+
# Check for procedural language in guides
|
|
267
|
+
grep -r "step.*:" guides/*.g.md
|
|
268
|
+
grep -r "first.*then" guides/*.g.md
|
|
269
|
+
|
|
270
|
+
# Check for broken internal links
|
|
271
|
+
grep -r "](\./" guides/ --include="*.md"
|
|
272
|
+
{: .language-bash}
|
|
273
|
+
|
|
274
|
+
### Language Modularity Checks
|
|
275
|
+
|
|
276
|
+
# Find guides with potential language-specific content
|
|
277
|
+
grep -r "ruby\|python\|javascript\|typescript" guides/*.g.md
|
|
278
|
+
|
|
279
|
+
# Check sub-guide organization
|
|
280
|
+
find guides -mindepth 2 -name "*.md" -type f
|
|
281
|
+
{: .language-bash}
|
|
282
|
+
|
|
283
|
+
### Cross-Reference Validation
|
|
284
|
+
|
|
285
|
+
# Check for broken README references
|
|
286
|
+
grep -f <(find guides -name "*.g.md" -exec basename {} \;) guides/README.md
|
|
287
|
+
|
|
288
|
+
# Validate workflow references
|
|
289
|
+
grep -r "workflow-instructions/" guides/ --include="*.md"
|
|
290
|
+
{: .language-bash}
|
|
291
|
+
|
|
292
|
+
## Success Criteria
|
|
293
|
+
|
|
294
|
+
* All targeted guides systematically reviewed
|
|
295
|
+
* Conceptual focus compliance assessed for each guide
|
|
296
|
+
* Language modularity implementation validated
|
|
297
|
+
* Cross-reference integrity verified
|
|
298
|
+
* Coverage gaps and organizational issues identified
|
|
299
|
+
* Prioritized improvement plan created
|
|
300
|
+
* Review session documented with actionable recommendations
|
|
301
|
+
|
|
302
|
+
## Common Review Patterns
|
|
303
|
+
|
|
304
|
+
### New Guide Review
|
|
305
|
+
|
|
306
|
+
* Verify conceptual focus from start
|
|
307
|
+
* Check proper naming and structure
|
|
308
|
+
* Validate language modularity decisions
|
|
309
|
+
* Ensure integration with existing guides
|
|
310
|
+
|
|
311
|
+
### Existing Guide Maintenance
|
|
312
|
+
|
|
313
|
+
* Update for current standards and practices
|
|
314
|
+
* Check for procedural drift
|
|
315
|
+
* Validate cross-references still accurate
|
|
316
|
+
* Consider language modularity improvements
|
|
317
|
+
|
|
318
|
+
### Collection-Wide Analysis
|
|
319
|
+
|
|
320
|
+
* Identify coverage gaps and overlaps
|
|
321
|
+
* Analyze organizational effectiveness
|
|
322
|
+
* Plan systematic improvements
|
|
323
|
+
* Consider consolidation opportunities
|
|
324
|
+
|
|
325
|
+
## Error Handling
|
|
326
|
+
|
|
327
|
+
**Guide contains procedural content:**
|
|
328
|
+
|
|
329
|
+
* Identify specific procedural sections
|
|
330
|
+
* Determine if content should move to workflow instructions
|
|
331
|
+
* Plan refactoring to maintain conceptual focus
|
|
332
|
+
|
|
333
|
+
**Language modularity violations found:**
|
|
334
|
+
|
|
335
|
+
* Extract language-specific content to sub-guides
|
|
336
|
+
* Refactor main guide to be language-agnostic
|
|
337
|
+
* Create clear navigation between variants
|
|
338
|
+
|
|
339
|
+
**Significant coverage gaps identified:**
|
|
340
|
+
|
|
341
|
+
* Document gaps with priority assessment
|
|
342
|
+
* Plan new guide creation or existing guide expansion
|
|
343
|
+
* Consider impact on overall guide organization
|
|
344
|
+
|
|
345
|
+
## Usage Example
|
|
346
|
+
|
|
347
|
+
> "Review all development guides in guides/ for conceptual focus compliance, language modularity implementation, and
|
|
348
|
+
> identify any coverage gaps in our development standards"
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
---
|
|
2
|
+
doc-type: workflow
|
|
3
|
+
title: Review Workflows
|
|
4
|
+
purpose: Documentation for ace-handbook/handbook/workflow-instructions/handbook/review-workflows.wf.md
|
|
5
|
+
ace-docs:
|
|
6
|
+
last-updated: 2026-03-12
|
|
7
|
+
last-checked: 2026-03-21
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Review Workflows
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
|
|
14
|
+
Systematically review multiple workflow instruction files for compliance with standards, consistency, and quality. This
|
|
15
|
+
meta-workflow provides batch review capabilities for handbook maintainers to ensure workflow instructions follow
|
|
16
|
+
established patterns and maintain high quality across the entire collection.
|
|
17
|
+
|
|
18
|
+
## Prerequisites
|
|
19
|
+
|
|
20
|
+
* Understanding of workflow instruction standards and principles
|
|
21
|
+
* Access to handbook guides and workflow standards
|
|
22
|
+
* Knowledge of existing workflow patterns
|
|
23
|
+
* List of workflow files to review (or intent to review all)
|
|
24
|
+
|
|
25
|
+
## Project Context Loading
|
|
26
|
+
|
|
27
|
+
* Load workflow standards: `ace-handbook/handbook/guides/meta/workflow-instructions-definition.g.md`
|
|
28
|
+
* Load markdown standards as needed from `ace-handbook/handbook/guides/meta/markdown-definition.g.md`
|
|
29
|
+
* Load a current workflow example via `ace-bundle wfi://handbook/manage-workflows`
|
|
30
|
+
* Load a current maintenance example via `ace-bundle wfi://handbook/update-docs`
|
|
31
|
+
|
|
32
|
+
## Process Steps
|
|
33
|
+
|
|
34
|
+
1. **Define Review Scope:**
|
|
35
|
+
* Determine which workflows to review:
|
|
36
|
+
* All workflows in `handbook/workflow-instructions/`
|
|
37
|
+
* Specific subset based on criteria (new, recently modified, specific category)
|
|
38
|
+
* Individual workflows provided by user
|
|
39
|
+
* Identify review objectives:
|
|
40
|
+
* Standards compliance check
|
|
41
|
+
* Consistency review across workflows
|
|
42
|
+
* Quality assessment and improvement
|
|
43
|
+
* Template synchronization validation
|
|
44
|
+
2. **Gather Workflow Inventory:**
|
|
45
|
+
* List all workflow files to review:
|
|
46
|
+
|
|
47
|
+
find workflow-instructions -name "*.wf.md" -type f
|
|
48
|
+
{: .language-bash}
|
|
49
|
+
|
|
50
|
+
* Group workflows by category or type for systematic review
|
|
51
|
+
* Note file modification dates and sizes for context
|
|
52
|
+
* Create review tracking structure
|
|
53
|
+
3. **Initialize Review Process:**
|
|
54
|
+
* Create review session directory:
|
|
55
|
+
|
|
56
|
+
mkdir -p dev-taskflow/current/v.X.Y.Z-release/workflow-review/$(date +%Y%m%d)
|
|
57
|
+
{: .language-bash}
|
|
58
|
+
|
|
59
|
+
* Create review summary template:
|
|
60
|
+
|
|
61
|
+
# Workflow Review Session - [Date]
|
|
62
|
+
|
|
63
|
+
## Review Scope
|
|
64
|
+
* Total workflows reviewed: [N]
|
|
65
|
+
* Review criteria: [Standards compliance, consistency, quality]
|
|
66
|
+
|
|
67
|
+
## Summary Results
|
|
68
|
+
* ✅ Compliant workflows: [N]
|
|
69
|
+
* ⚠️ Workflows needing minor fixes: [N]
|
|
70
|
+
* ❌ Workflows needing major fixes: [N]
|
|
71
|
+
|
|
72
|
+
## Detailed Findings
|
|
73
|
+
[Individual workflow assessments]
|
|
74
|
+
|
|
75
|
+
## Recommended Actions
|
|
76
|
+
[Prioritized improvement tasks]
|
|
77
|
+
{: .language-markdown}
|
|
78
|
+
4. **Review Each Workflow Systematically:**
|
|
79
|
+
|
|
80
|
+
For each workflow file, assess the following areas:
|
|
81
|
+
|
|
82
|
+
**Structure Compliance:**
|
|
83
|
+
|
|
84
|
+
* ✅ Contains required sections: Goal, Prerequisites, Project Context Loading, Process Steps
|
|
85
|
+
* ✅ Uses proper markdown structure and formatting
|
|
86
|
+
* ✅ Follows verb-first naming convention (.wf.md)
|
|
87
|
+
* ✅ Has clear, single-sentence goal statement
|
|
88
|
+
**Self-Containment:**
|
|
89
|
+
|
|
90
|
+
* ✅ No external dependencies or broken references
|
|
91
|
+
* ✅ Embedded templates use proper format
|
|
92
|
+
* ✅ All necessary examples and patterns included
|
|
93
|
+
* ✅ Context loading section complete and accurate
|
|
94
|
+
**Content Quality:**
|
|
95
|
+
|
|
96
|
+
* ✅ Instructions are clear and actionable
|
|
97
|
+
* ✅ Process steps are logically ordered
|
|
98
|
+
* ✅ Examples and commands are accurate
|
|
99
|
+
* ✅ Error handling guidance provided
|
|
100
|
+
**Consistency:**
|
|
101
|
+
|
|
102
|
+
* ✅ Terminology matches project standards
|
|
103
|
+
* ✅ Structure follows established patterns
|
|
104
|
+
* ✅ Cross-references are accurate
|
|
105
|
+
* ✅ Template embedding follows standards
|
|
106
|
+
5. **Document Review Findings:**
|
|
107
|
+
|
|
108
|
+
For each workflow, create a standardized assessment:
|
|
109
|
+
|
|
110
|
+
### [Workflow Name] - [filename.wf.md]
|
|
111
|
+
|
|
112
|
+
**Overall Status:** ✅ Compliant | ⚠️ Minor Issues | ❌ Major Issues
|
|
113
|
+
|
|
114
|
+
**Structure Assessment:**
|
|
115
|
+
* Required sections: ✅/❌
|
|
116
|
+
* Naming convention: ✅/❌
|
|
117
|
+
* Markdown formatting: ✅/❌
|
|
118
|
+
|
|
119
|
+
**Self-Containment Assessment:**
|
|
120
|
+
* External dependencies: ✅ None | ⚠️ Some | ❌ Many
|
|
121
|
+
* Template embedding: ✅ Correct | ⚠️ Minor issues | ❌ Incorrect
|
|
122
|
+
* Context loading: ✅ Complete | ⚠️ Partial | ❌ Missing
|
|
123
|
+
|
|
124
|
+
**Content Quality Assessment:**
|
|
125
|
+
* Clarity: ✅ Clear | ⚠️ Some issues | ❌ Unclear
|
|
126
|
+
* Completeness: ✅ Complete | ⚠️ Minor gaps | ❌ Major gaps
|
|
127
|
+
* Accuracy: ✅ Accurate | ⚠️ Minor errors | ❌ Major errors
|
|
128
|
+
|
|
129
|
+
**Issues Identified:**
|
|
130
|
+
* [Specific issue 1]
|
|
131
|
+
* [Specific issue 2]
|
|
132
|
+
|
|
133
|
+
**Recommended Actions:**
|
|
134
|
+
* [Priority level] [Specific action needed]
|
|
135
|
+
{: .language-markdown}
|
|
136
|
+
|
|
137
|
+
6. **Analyze Cross-Workflow Consistency:**
|
|
138
|
+
* Compare terminology usage across workflows
|
|
139
|
+
* Identify inconsistent patterns or structures
|
|
140
|
+
* Check for duplicate content that could be consolidated
|
|
141
|
+
* Verify cross-references between workflows are accurate
|
|
142
|
+
* Assess overall cohesion of workflow collection
|
|
143
|
+
7. **Prioritize Improvement Actions:**
|
|
144
|
+
|
|
145
|
+
**Critical Issues (Fix Immediately):**
|
|
146
|
+
|
|
147
|
+
* Broken references or dependencies
|
|
148
|
+
* Missing required sections
|
|
149
|
+
* Incorrect or dangerous commands
|
|
150
|
+
* Major structural problems
|
|
151
|
+
**High Priority Issues (Fix Soon):**
|
|
152
|
+
|
|
153
|
+
* Inconsistent terminology
|
|
154
|
+
* Minor structural issues
|
|
155
|
+
* Outdated examples or patterns
|
|
156
|
+
* Missing error handling
|
|
157
|
+
**Medium Priority Issues (Plan for Fix):**
|
|
158
|
+
|
|
159
|
+
* Clarity improvements
|
|
160
|
+
* Better examples or explanations
|
|
161
|
+
* Enhanced self-containment
|
|
162
|
+
* Template synchronization needs
|
|
163
|
+
**Low Priority Issues (Nice to Have):**
|
|
164
|
+
|
|
165
|
+
* Minor formatting improvements
|
|
166
|
+
* Additional examples
|
|
167
|
+
* Enhanced cross-references
|
|
168
|
+
8. **Create Action Plan:**
|
|
169
|
+
* Group related issues for efficient fixing
|
|
170
|
+
* Estimate effort required for each improvement
|
|
171
|
+
* Assign priority levels and target timelines
|
|
172
|
+
* Consider impact on other workflows or guides
|
|
173
|
+
* Plan for validation after fixes are implemented
|
|
174
|
+
9. **Generate Review Report:**
|
|
175
|
+
* Compile comprehensive review summary
|
|
176
|
+
* Include statistical overview of compliance
|
|
177
|
+
* List all identified issues with priorities
|
|
178
|
+
* Provide actionable improvement plan
|
|
179
|
+
* Document review methodology for future sessions
|
|
180
|
+
|
|
181
|
+
## Review Criteria and Standards
|
|
182
|
+
|
|
183
|
+
### Required Workflow Sections
|
|
184
|
+
|
|
185
|
+
1. **Goal**: Clear, single-sentence objective
|
|
186
|
+
2. **Prerequisites**: Specific conditions and requirements
|
|
187
|
+
3. **Project Context Loading**: Files to load for context
|
|
188
|
+
4. **Process Steps**: Detailed, actionable instructions
|
|
189
|
+
5. **Success Criteria** or similar validation section
|
|
190
|
+
|
|
191
|
+
### Self-Containment Requirements
|
|
192
|
+
|
|
193
|
+
* No references to external workflow files
|
|
194
|
+
* All templates embedded using proper format
|
|
195
|
+
* Complete context loading section
|
|
196
|
+
* All necessary examples included inline
|
|
197
|
+
* No broken links or dependencies
|
|
198
|
+
|
|
199
|
+
### Quality Standards
|
|
200
|
+
|
|
201
|
+
* Instructions are specific and actionable
|
|
202
|
+
* Examples are accurate and current
|
|
203
|
+
* Error handling is provided
|
|
204
|
+
* Technology-agnostic where possible
|
|
205
|
+
* Consistent with project terminology
|
|
206
|
+
|
|
207
|
+
### Template Embedding Standards
|
|
208
|
+
|
|
209
|
+
<templates>
|
|
210
|
+
<template path="relative/path/to/template.md">
|
|
211
|
+
[Template content]
|
|
212
|
+
</template>
|
|
213
|
+
</templates>
|
|
214
|
+
{: .language-xml}
|
|
215
|
+
|
|
216
|
+
## Batch Processing Patterns
|
|
217
|
+
|
|
218
|
+
### Automated Checks
|
|
219
|
+
|
|
220
|
+
Use shell commands to quickly identify common issues:
|
|
221
|
+
|
|
222
|
+
# Check for missing required sections
|
|
223
|
+
for file in workflow-instructions/*.wf.md; do
|
|
224
|
+
if ! grep -q "## Goal" "$file"; then
|
|
225
|
+
echo "Missing Goal section: $file"
|
|
226
|
+
fi
|
|
227
|
+
done
|
|
228
|
+
|
|
229
|
+
# Check for external workflow references
|
|
230
|
+
grep -r "workflow-instructions/" workflow-instructions/ --include="*.wf.md"
|
|
231
|
+
|
|
232
|
+
# Check for broken template embedding
|
|
233
|
+
grep -r "<template" workflow-instructions/ --include="*.wf.md" | grep -v "path="
|
|
234
|
+
{: .language-bash}
|
|
235
|
+
|
|
236
|
+
### Progress Tracking
|
|
237
|
+
|
|
238
|
+
* Maintain checklist of workflows reviewed
|
|
239
|
+
* Track time spent on each workflow assessment
|
|
240
|
+
* Document patterns found across multiple workflows
|
|
241
|
+
* Note common issues for systematic addressing
|
|
242
|
+
|
|
243
|
+
## Success Criteria
|
|
244
|
+
|
|
245
|
+
* All targeted workflows systematically reviewed
|
|
246
|
+
* Standardized assessment completed for each workflow
|
|
247
|
+
* Issues categorized by priority and type
|
|
248
|
+
* Cross-workflow consistency analysis complete
|
|
249
|
+
* Actionable improvement plan created with timelines
|
|
250
|
+
* Review session documented for future reference
|
|
251
|
+
* Critical issues identified for immediate action
|
|
252
|
+
|
|
253
|
+
## Common Review Patterns
|
|
254
|
+
|
|
255
|
+
### New Workflow Review
|
|
256
|
+
|
|
257
|
+
* Focus on structure compliance and self-containment
|
|
258
|
+
* Verify all required sections present
|
|
259
|
+
* Check examples and commands for accuracy
|
|
260
|
+
* Ensure proper template embedding format
|
|
261
|
+
|
|
262
|
+
### Existing Workflow Maintenance
|
|
263
|
+
|
|
264
|
+
* Compare against current standards
|
|
265
|
+
* Check for outdated examples or patterns
|
|
266
|
+
* Verify cross-references still accurate
|
|
267
|
+
* Update for consistency with newer workflows
|
|
268
|
+
|
|
269
|
+
### Comprehensive Collection Review
|
|
270
|
+
|
|
271
|
+
* Analyze patterns across all workflows
|
|
272
|
+
* Identify opportunities for standardization
|
|
273
|
+
* Look for content that could be consolidated
|
|
274
|
+
* Plan systematic improvements
|
|
275
|
+
|
|
276
|
+
## Error Handling
|
|
277
|
+
|
|
278
|
+
**Large number of workflows to review:**
|
|
279
|
+
|
|
280
|
+
* Break into manageable batches (5-10 workflows per session)
|
|
281
|
+
* Use automated checks to identify obvious issues first
|
|
282
|
+
* Focus on critical issues before minor improvements
|
|
283
|
+
|
|
284
|
+
**Inconsistent standards found:**
|
|
285
|
+
|
|
286
|
+
* Document current state before making changes
|
|
287
|
+
* Plan systematic updates to maintain consistency
|
|
288
|
+
* Consider updating standards if patterns have evolved
|
|
289
|
+
|
|
290
|
+
**Time constraints for comprehensive review:**
|
|
291
|
+
|
|
292
|
+
* Prioritize critical and high-priority issues
|
|
293
|
+
* Use sampling approach for large collections
|
|
294
|
+
* Focus on workflows used most frequently
|
|
295
|
+
|
|
296
|
+
## Usage Example
|
|
297
|
+
|
|
298
|
+
> "Review all workflow instructions in workflow-instructions/ for compliance with current standards and identify any
|
|
299
|
+
> inconsistencies or improvement opportunities"
|