ace-docs 0.31.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/docs/config.yml +169 -0
- data/.ace-defaults/docs/multi-subject-example.md +130 -0
- data/.ace-defaults/docs/single-subject-example.md +150 -0
- data/.ace-defaults/nav/protocols/guide-sources/ace-docs.yml +10 -0
- data/.ace-defaults/nav/protocols/prompt-sources/ace-docs.yml +34 -0
- data/.ace-defaults/nav/protocols/tmpl-sources/ace-docs.yml +10 -0
- data/.ace-defaults/nav/protocols/wfi-sources/ace-docs.yml +19 -0
- data/CHANGELOG.md +1082 -0
- data/LICENSE +21 -0
- data/README.md +40 -0
- data/Rakefile +14 -0
- data/exe/ace-docs +14 -0
- data/handbook/guides/documentation/ruby.md +16 -0
- data/handbook/guides/documentation/rust.md +35 -0
- data/handbook/guides/documentation/typescript.md +18 -0
- data/handbook/guides/documentation.g.md +437 -0
- data/handbook/guides/documents-embedded-sync.g.md +473 -0
- data/handbook/guides/documents-embedding.g.md +276 -0
- data/handbook/guides/markdown-style.g.md +290 -0
- data/handbook/prompts/ace-change-analyzer.system.md +113 -0
- data/handbook/prompts/ace-change-analyzer.user.md +95 -0
- data/handbook/prompts/document-analysis.md +74 -0
- data/handbook/prompts/document-analysis.system.md +129 -0
- data/handbook/prompts/markdown-style.system.md +113 -0
- data/handbook/skills/as-docs-create-adr/SKILL.md +35 -0
- data/handbook/skills/as-docs-create-api/SKILL.md +35 -0
- data/handbook/skills/as-docs-create-user/SKILL.md +35 -0
- data/handbook/skills/as-docs-maintain-adrs/SKILL.md +35 -0
- data/handbook/skills/as-docs-squash-changelog/SKILL.md +42 -0
- data/handbook/skills/as-docs-update/SKILL.md +36 -0
- data/handbook/skills/as-docs-update-blueprint/SKILL.md +28 -0
- data/handbook/skills/as-docs-update-roadmap/SKILL.md +24 -0
- data/handbook/skills/as-docs-update-tools/SKILL.md +36 -0
- data/handbook/skills/as-docs-update-usage/SKILL.md +26 -0
- data/handbook/templates/code-docs/javascript-jsdoc.template.md +102 -0
- data/handbook/templates/code-docs/ruby-yard.template.md +85 -0
- data/handbook/templates/project-docs/README.template.md +73 -0
- data/handbook/templates/project-docs/architecture.template.md +300 -0
- data/handbook/templates/project-docs/blueprint.template.md +165 -0
- data/handbook/templates/project-docs/context/ownership.yml +160 -0
- data/handbook/templates/project-docs/decisions/adr.template.md +60 -0
- data/handbook/templates/project-docs/prd.template.md +144 -0
- data/handbook/templates/project-docs/roadmap/roadmap.template.md +47 -0
- data/handbook/templates/project-docs/vision.template.md +233 -0
- data/handbook/templates/user-docs/user-guide.template.md +107 -0
- data/handbook/workflow-instructions/docs/create-adr.wf.md +334 -0
- data/handbook/workflow-instructions/docs/create-api.wf.md +448 -0
- data/handbook/workflow-instructions/docs/create-cookbook.wf.md +434 -0
- data/handbook/workflow-instructions/docs/create-user.wf.md +399 -0
- data/handbook/workflow-instructions/docs/maintain-adrs.wf.md +589 -0
- data/handbook/workflow-instructions/docs/squash-changelog.wf.md +246 -0
- data/handbook/workflow-instructions/docs/update-blueprint.wf.md +361 -0
- data/handbook/workflow-instructions/docs/update-context.wf.md +336 -0
- data/handbook/workflow-instructions/docs/update-roadmap.wf.md +421 -0
- data/handbook/workflow-instructions/docs/update-tools.wf.md +307 -0
- data/handbook/workflow-instructions/docs/update-usage.wf.md +710 -0
- data/handbook/workflow-instructions/docs/update.wf.md +418 -0
- data/lib/ace/docs/atoms/diff_filterer.rb +131 -0
- data/lib/ace/docs/atoms/frontmatter_free_matcher.rb +20 -0
- data/lib/ace/docs/atoms/git_date_resolver.rb +16 -0
- data/lib/ace/docs/atoms/readme_metadata_inferrer.rb +60 -0
- data/lib/ace/docs/atoms/terminology_extractor.rb +308 -0
- data/lib/ace/docs/atoms/time_range_calculator.rb +96 -0
- data/lib/ace/docs/atoms/timestamp_parser.rb +106 -0
- data/lib/ace/docs/atoms/type_inferrer.rb +70 -0
- data/lib/ace/docs/cli/commands/analyze.rb +351 -0
- data/lib/ace/docs/cli/commands/analyze_consistency.rb +185 -0
- data/lib/ace/docs/cli/commands/discover.rb +75 -0
- data/lib/ace/docs/cli/commands/scope_options.rb +71 -0
- data/lib/ace/docs/cli/commands/status.rb +241 -0
- data/lib/ace/docs/cli/commands/update.rb +198 -0
- data/lib/ace/docs/cli/commands/validate.rb +225 -0
- data/lib/ace/docs/cli.rb +60 -0
- data/lib/ace/docs/models/analysis_report.rb +120 -0
- data/lib/ace/docs/models/consistency_report.rb +259 -0
- data/lib/ace/docs/models/document.rb +354 -0
- data/lib/ace/docs/molecules/change_detector.rb +389 -0
- data/lib/ace/docs/molecules/document_loader.rb +133 -0
- data/lib/ace/docs/molecules/frontmatter_manager.rb +85 -0
- data/lib/ace/docs/molecules/git_date_resolver.rb +30 -0
- data/lib/ace/docs/organisms/cross_document_analyzer.rb +274 -0
- data/lib/ace/docs/organisms/document_registry.rb +318 -0
- data/lib/ace/docs/organisms/validator.rb +164 -0
- data/lib/ace/docs/prompts/compact_diff_prompt.rb +119 -0
- data/lib/ace/docs/prompts/consistency_prompt.rb +286 -0
- data/lib/ace/docs/prompts/document_analysis_prompt.rb +389 -0
- data/lib/ace/docs/version.rb +7 -0
- data/lib/ace/docs.rb +82 -0
- data/lib/test.rb +4 -0
- metadata +347 -0
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
---
|
|
2
|
+
doc-type: workflow
|
|
3
|
+
title: Create Cookbook Workflow Instruction
|
|
4
|
+
purpose: Documentation for ace-docs/handbook/workflow-instructions/docs/create-cookbook.wf.md
|
|
5
|
+
ace-docs:
|
|
6
|
+
last-updated: 2026-02-23
|
|
7
|
+
last-checked: 2026-03-21
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Create Cookbook Workflow Instruction
|
|
11
|
+
|
|
12
|
+
**Goal:** Transform identified patterns and insights into reusable, high-quality cookbooks that accelerate future
|
|
13
|
+
development work through systematic documentation of proven procedures.
|
|
14
|
+
|
|
15
|
+
## Prerequisites
|
|
16
|
+
|
|
17
|
+
* Understanding of cookbook purpose and target audience
|
|
18
|
+
* Source material (reflection note, direct observation, or synthesis report)
|
|
19
|
+
* Access to create files in project structure using `create-path` tool
|
|
20
|
+
|
|
21
|
+
## Project Context Loading
|
|
22
|
+
|
|
23
|
+
* Read and follow: `ace-bundle wfi://bundle`
|
|
24
|
+
|
|
25
|
+
## High-Level Execution Plan
|
|
26
|
+
|
|
27
|
+
### Planning Steps
|
|
28
|
+
|
|
29
|
+
* Identify cookbook source material and
|
|
30
|
+
extract core patterns
|
|
31
|
+
* Determine appropriate cookbook category
|
|
32
|
+
and target audience
|
|
33
|
+
* Define cookbook scope and validation
|
|
34
|
+
criteria
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Execution Steps
|
|
38
|
+
|
|
39
|
+
* Create cookbook file using embedded
|
|
40
|
+
template and `create-path` tool
|
|
41
|
+
* Populate cookbook sections with
|
|
42
|
+
structured content
|
|
43
|
+
* Validate cookbook completeness and
|
|
44
|
+
actionability
|
|
45
|
+
* Save cookbook in appropriate location
|
|
46
|
+
with standard naming
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
## Process Steps
|
|
50
|
+
|
|
51
|
+
1. **Identify Source Material:**
|
|
52
|
+
* **From Reflection Note:** Extract reusable patterns and procedures
|
|
53
|
+
* **From Direct Input:** Document observed complex procedures
|
|
54
|
+
* **From Synthesis Report:** Capture common workflows and best practices
|
|
55
|
+
* **From User Input:** Accept pattern description and context details
|
|
56
|
+
2. **Select Cookbook Category:** Choose the primary category that best fits the pattern:
|
|
57
|
+
* **integration:** Connecting systems, services, or tools
|
|
58
|
+
* **setup:** Environment configuration and initialization
|
|
59
|
+
* **migration:** Moving between systems, versions, or structures
|
|
60
|
+
* **debugging:** Troubleshooting and problem resolution procedures
|
|
61
|
+
* **automation:** Streamlining repetitive tasks and workflows
|
|
62
|
+
* **pattern:** General development patterns and best practices
|
|
63
|
+
3. **Determine Target Audience:**
|
|
64
|
+
* **beginner:** Basic concepts, detailed explanations, minimal assumptions
|
|
65
|
+
* **intermediate:** Moderate complexity, some background knowledge assumed
|
|
66
|
+
* **advanced:** Complex procedures, expert-level understanding expected
|
|
67
|
+
4. **Define Cookbook Scope:**
|
|
68
|
+
* **Single Pattern:** Focus on one specific procedure or technique
|
|
69
|
+
* **Composite Pattern:** Multiple related procedures in logical sequence
|
|
70
|
+
* **Cross-Category Pattern:** Procedures spanning multiple areas (use primary + secondary categories)
|
|
71
|
+
5. **Generate Cookbook File:** # Create cookbook file (adjust path to your project's documentation structure)
|
|
72
|
+
create-path file "docs/cookbooks/\[category\]-\[descriptive-name\].cookbook.md"
|
|
73
|
+
--title "\[Category\] Cookbook: \[Descriptive Name\]" # Or create manually using the embedded template below
|
|
74
|
+
{: .language-bash}
|
|
75
|
+
|
|
76
|
+
6. **Populate Cookbook Content:** Using the embedded template structure, fill in:
|
|
77
|
+
* **Purpose**: Clear statement of what the cookbook accomplishes
|
|
78
|
+
* **Prerequisites**: System, knowledge, and tool requirements
|
|
79
|
+
* **Steps**: Detailed, actionable procedures with validation
|
|
80
|
+
* **Examples**: Concrete use cases and implementations
|
|
81
|
+
* **Troubleshooting**: Common issues and their solutions
|
|
82
|
+
* **Validation**: Success criteria and testing procedures
|
|
83
|
+
7. **Review and Validate:**
|
|
84
|
+
* Ensure all sections have meaningful content
|
|
85
|
+
* Verify steps are actionable and complete
|
|
86
|
+
* Test examples and validation procedures
|
|
87
|
+
* Confirm naming follows convention: `[category]-[descriptive-name].cookbook.md`
|
|
88
|
+
|
|
89
|
+
## Cookbook Categories & Naming Examples
|
|
90
|
+
|
|
91
|
+
### Category: integration
|
|
92
|
+
|
|
93
|
+
* `integration-oauth-provider.cookbook.md` - OAuth provider setup and configuration
|
|
94
|
+
* `integration-api-gateway.cookbook.md` - API gateway implementation patterns
|
|
95
|
+
* `integration-webhook-handling.cookbook.md` - Webhook endpoint design and testing
|
|
96
|
+
|
|
97
|
+
### Category: setup
|
|
98
|
+
|
|
99
|
+
* `setup-development-environment.cookbook.md` - Complete dev environment configuration
|
|
100
|
+
* `setup-ci-cd-pipeline.cookbook.md` - Continuous integration/deployment setup
|
|
101
|
+
* `setup-monitoring-stack.cookbook.md` - Observability and monitoring configuration
|
|
102
|
+
|
|
103
|
+
### Category: migration
|
|
104
|
+
|
|
105
|
+
* `migration-database-schema.cookbook.md` - Database schema migration procedures
|
|
106
|
+
* `migration-legacy-api.cookbook.md` - Legacy API modernization approach
|
|
107
|
+
* `migration-cloud-infrastructure.cookbook.md` - Infrastructure migration patterns
|
|
108
|
+
|
|
109
|
+
### Category: debugging
|
|
110
|
+
|
|
111
|
+
* `debugging-performance-issues.cookbook.md` - Performance bottleneck investigation
|
|
112
|
+
* `debugging-memory-leaks.cookbook.md` - Memory leak detection and resolution
|
|
113
|
+
* `debugging-distributed-systems.cookbook.md` - Multi-service debugging techniques
|
|
114
|
+
|
|
115
|
+
### Category: automation
|
|
116
|
+
|
|
117
|
+
* `automation-test-data-generation.cookbook.md` - Automated test data creation
|
|
118
|
+
* `automation-deployment-rollback.cookbook.md` - Automated rollback procedures
|
|
119
|
+
* `automation-code-quality-gates.cookbook.md` - Automated quality assurance
|
|
120
|
+
|
|
121
|
+
### Category: pattern
|
|
122
|
+
|
|
123
|
+
* `pattern-error-handling.cookbook.md` - Consistent error handling approaches
|
|
124
|
+
* `pattern-caching-strategy.cookbook.md` - Caching implementation patterns
|
|
125
|
+
* `pattern-service-communication.cookbook.md` - Inter-service communication patterns
|
|
126
|
+
|
|
127
|
+
## Error Handling
|
|
128
|
+
|
|
129
|
+
### Missing Source Material
|
|
130
|
+
|
|
131
|
+
**Symptoms:** No clear pattern or procedure identified **Recovery:**
|
|
132
|
+
|
|
133
|
+
1. Prompt user for pattern details and context
|
|
134
|
+
2. Ask clarifying questions about the procedure
|
|
135
|
+
3. Guide through pattern identification process
|
|
136
|
+
|
|
137
|
+
### Duplicate Cookbook Name
|
|
138
|
+
|
|
139
|
+
**Symptoms:** File already exists with same name **Recovery:**
|
|
140
|
+
|
|
141
|
+
1. Check existing cookbook content for overlap
|
|
142
|
+
2. Suggest alternative naming with version or specialization
|
|
143
|
+
3. Consider merging patterns if highly related
|
|
144
|
+
4. Use `--force` flag only if intentional replacement
|
|
145
|
+
|
|
146
|
+
### Invalid Category
|
|
147
|
+
|
|
148
|
+
**Symptoms:** Category doesn't match standard list **Recovery:**
|
|
149
|
+
|
|
150
|
+
1. Show available categories with descriptions
|
|
151
|
+
2. Help user select most appropriate primary category
|
|
152
|
+
3. Note secondary category in cookbook metadata if cross-category
|
|
153
|
+
|
|
154
|
+
### Incomplete Pattern Documentation
|
|
155
|
+
|
|
156
|
+
**Symptoms:** Pattern lacks sufficient detail for actionable cookbook **Recovery:**
|
|
157
|
+
|
|
158
|
+
1. Request additional context and examples
|
|
159
|
+
2. Break down complex pattern into smaller, manageable steps
|
|
160
|
+
3. Identify missing prerequisites or validation steps
|
|
161
|
+
|
|
162
|
+
<documents>
|
|
163
|
+
<template name="cookbook"># [Category] Cookbook: [Descriptive Name]
|
|
164
|
+
|
|
165
|
+
**Created**: YYYY-MM-DD
|
|
166
|
+
**Last Updated**: YYYY-MM-DD
|
|
167
|
+
**Category**: [integration | setup | migration | debugging | automation | pattern]
|
|
168
|
+
**Audience**: [beginner | intermediate | advanced]
|
|
169
|
+
**Estimated Time**: [X hours/minutes]
|
|
170
|
+
|
|
171
|
+
## Purpose
|
|
172
|
+
|
|
173
|
+
Brief description of what this cookbook accomplishes and why it's valuable.
|
|
174
|
+
|
|
175
|
+
## Prerequisites
|
|
176
|
+
|
|
177
|
+
**System Requirements:**
|
|
178
|
+
- Requirement 1
|
|
179
|
+
- Requirement 2
|
|
180
|
+
|
|
181
|
+
**Knowledge Requirements:**
|
|
182
|
+
- Knowledge area 1
|
|
183
|
+
- Knowledge area 2
|
|
184
|
+
|
|
185
|
+
**Tools & Dependencies:**
|
|
186
|
+
- Tool/dependency 1
|
|
187
|
+
- Tool/dependency 2
|
|
188
|
+
|
|
189
|
+
## Overview
|
|
190
|
+
|
|
191
|
+
High-level summary of the approach and main steps involved.
|
|
192
|
+
|
|
193
|
+
## Steps
|
|
194
|
+
|
|
195
|
+
### Step 1: [Step Title]
|
|
196
|
+
|
|
197
|
+
**Objective**: What this step accomplishes
|
|
198
|
+
|
|
199
|
+
**Commands/Actions:**
|
|
200
|
+
```bash
|
|
201
|
+
# Command examples with explanation
|
|
202
|
+
command --option value
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
**Expected Output:**
|
|
206
|
+
```
|
|
207
|
+
Sample output that confirms success
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
**Validation:**
|
|
211
|
+
```bash
|
|
212
|
+
# Commands to verify this step completed successfully
|
|
213
|
+
verification-command
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
**Troubleshooting:**
|
|
217
|
+
- Common issue 1: Solution
|
|
218
|
+
- Common issue 2: Solution
|
|
219
|
+
|
|
220
|
+
### Step 2: [Step Title]
|
|
221
|
+
|
|
222
|
+
**Objective**: What this step accomplishes
|
|
223
|
+
|
|
224
|
+
**Commands/Actions:**
|
|
225
|
+
```bash
|
|
226
|
+
# Additional commands
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
**Expected Output:**
|
|
230
|
+
```
|
|
231
|
+
Expected results
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
**Validation:**
|
|
235
|
+
```bash
|
|
236
|
+
# Verification commands
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
**Troubleshooting:**
|
|
240
|
+
- Issue: Solution
|
|
241
|
+
|
|
242
|
+
## Validation & Testing
|
|
243
|
+
|
|
244
|
+
### Final Validation Steps
|
|
245
|
+
|
|
246
|
+
1. **System Check:**
|
|
247
|
+
```bash
|
|
248
|
+
# Commands to verify overall system state
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
2. **Functional Test:**
|
|
252
|
+
```bash
|
|
253
|
+
# Commands to test functionality end-to-end
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
3. **Performance Check** (if applicable):
|
|
257
|
+
```bash
|
|
258
|
+
# Commands to verify performance expectations
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
### Success Criteria
|
|
262
|
+
|
|
263
|
+
- [ ] Criterion 1: Description of what should be working
|
|
264
|
+
- [ ] Criterion 2: Another measurable outcome
|
|
265
|
+
- [ ] Criterion 3: Final validation point
|
|
266
|
+
|
|
267
|
+
## Examples
|
|
268
|
+
|
|
269
|
+
### Example 1: [Scenario Name]
|
|
270
|
+
|
|
271
|
+
**Context**: Specific use case or scenario
|
|
272
|
+
|
|
273
|
+
**Implementation:**
|
|
274
|
+
```bash
|
|
275
|
+
# Specific commands for this example
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
**Result**: What the outcome looks like
|
|
279
|
+
|
|
280
|
+
### Example 2: [Another Scenario]
|
|
281
|
+
|
|
282
|
+
**Context**: Different use case
|
|
283
|
+
|
|
284
|
+
**Implementation:**
|
|
285
|
+
```bash
|
|
286
|
+
# Alternative approach or configuration
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
**Result**: Expected outcome
|
|
290
|
+
|
|
291
|
+
## Templates & Code Snippets
|
|
292
|
+
|
|
293
|
+
### Configuration Template
|
|
294
|
+
|
|
295
|
+
```yaml
|
|
296
|
+
# Sample configuration file
|
|
297
|
+
key: value
|
|
298
|
+
section:
|
|
299
|
+
nested_key: nested_value
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
### Code Template
|
|
303
|
+
|
|
304
|
+
```ruby
|
|
305
|
+
# Sample code implementation
|
|
306
|
+
class ExampleClass
|
|
307
|
+
def example_method
|
|
308
|
+
# Implementation
|
|
309
|
+
end
|
|
310
|
+
end
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
## Common Patterns
|
|
314
|
+
|
|
315
|
+
### Pattern 1: [Pattern Name]
|
|
316
|
+
|
|
317
|
+
**When to use**: Specific conditions or scenarios
|
|
318
|
+
**How to implement**: Brief implementation guide
|
|
319
|
+
**Example**: Quick code or command example
|
|
320
|
+
|
|
321
|
+
### Pattern 2: [Another Pattern]
|
|
322
|
+
|
|
323
|
+
**When to use**: Different scenario
|
|
324
|
+
**How to implement**: Implementation approach
|
|
325
|
+
**Example**: Sample usage
|
|
326
|
+
|
|
327
|
+
## Troubleshooting
|
|
328
|
+
|
|
329
|
+
### Error: [Common Error Message]
|
|
330
|
+
|
|
331
|
+
**Symptoms**: How this error manifests
|
|
332
|
+
**Cause**: Root cause of the issue
|
|
333
|
+
**Solution**: Step-by-step fix
|
|
334
|
+
**Prevention**: How to avoid in the future
|
|
335
|
+
|
|
336
|
+
### Issue: [Common Problem]
|
|
337
|
+
|
|
338
|
+
**Symptoms**: Observable behavior
|
|
339
|
+
**Diagnosis**: How to confirm this is the issue
|
|
340
|
+
**Resolution**: Solution steps
|
|
341
|
+
**Verification**: How to confirm it's fixed
|
|
342
|
+
|
|
343
|
+
## Related Resources
|
|
344
|
+
|
|
345
|
+
### Documentation Links
|
|
346
|
+
|
|
347
|
+
- [Official docs link](url)
|
|
348
|
+
- [API reference](url)
|
|
349
|
+
- [Community guide](url)
|
|
350
|
+
|
|
351
|
+
### Other Cookbooks
|
|
352
|
+
|
|
353
|
+
- [Related cookbook 1](link)
|
|
354
|
+
- [Related cookbook 2](link)
|
|
355
|
+
|
|
356
|
+
### External Tools & Resources
|
|
357
|
+
|
|
358
|
+
- [Tool name](url): Description of how it helps
|
|
359
|
+
- [Resource name](url): What it provides
|
|
360
|
+
|
|
361
|
+
## Version History
|
|
362
|
+
|
|
363
|
+
### v1.0 (YYYY-MM-DD)
|
|
364
|
+
- Initial version
|
|
365
|
+
- Core steps documented
|
|
366
|
+
|
|
367
|
+
### v1.1 (YYYY-MM-DD)
|
|
368
|
+
- Added troubleshooting section
|
|
369
|
+
- Updated validation steps
|
|
370
|
+
|
|
371
|
+
## Feedback & Improvements
|
|
372
|
+
|
|
373
|
+
**Known Limitations:**
|
|
374
|
+
- Limitation 1: Description and potential workaround
|
|
375
|
+
- Limitation 2: Impact and mitigation
|
|
376
|
+
|
|
377
|
+
**Future Enhancements:**
|
|
378
|
+
- Enhancement idea 1
|
|
379
|
+
- Enhancement idea 2
|
|
380
|
+
|
|
381
|
+
**Contributing:**
|
|
382
|
+
If you find issues or improvements for this cookbook, please:
|
|
383
|
+
1. Document the specific issue or enhancement
|
|
384
|
+
2. Test any proposed changes
|
|
385
|
+
3. Update relevant sections
|
|
386
|
+
4. Increment version number
|
|
387
|
+
|
|
388
|
+
---
|
|
389
|
+
|
|
390
|
+
*This cookbook is part of the development workflow documentation.*
|
|
391
|
+
</template>
|
|
392
|
+
</documents>
|
|
393
|
+
|
|
394
|
+
## Input
|
|
395
|
+
|
|
396
|
+
* Source material (reflection note path, synthesis report, or direct pattern description)
|
|
397
|
+
* Cookbook category selection
|
|
398
|
+
* Target audience level
|
|
399
|
+
* Pattern scope and context
|
|
400
|
+
|
|
401
|
+
## Output / Success Criteria
|
|
402
|
+
|
|
403
|
+
* Cookbook file created in project documentation directory (e.g., `docs/cookbooks/`)
|
|
404
|
+
* File follows naming convention: `[category]-[descriptive-name].cookbook.md`
|
|
405
|
+
* All template sections populated with meaningful content
|
|
406
|
+
* Cookbook is actionable and self-contained
|
|
407
|
+
* Validation procedures included and tested
|
|
408
|
+
* Related resources and cross-references updated
|
|
409
|
+
|
|
410
|
+
## Common Patterns
|
|
411
|
+
|
|
412
|
+
### Template-Driven Creation
|
|
413
|
+
|
|
414
|
+
1. Use `create-path` tool with cookbook template
|
|
415
|
+
2. Fill template sections systematically
|
|
416
|
+
3. Validate completeness against checklist
|
|
417
|
+
4. Test examples and procedures
|
|
418
|
+
|
|
419
|
+
### Pattern Extraction
|
|
420
|
+
|
|
421
|
+
1. Analyze source material for recurring procedures
|
|
422
|
+
2. Identify decision points and alternatives
|
|
423
|
+
3. Document assumptions and prerequisites
|
|
424
|
+
4. Create concrete examples and test cases
|
|
425
|
+
|
|
426
|
+
## Related Workflows
|
|
427
|
+
|
|
428
|
+
* Integration with `create-path` tool for file generation (if available in your project)
|
|
429
|
+
|
|
430
|
+
* * *
|
|
431
|
+
|
|
432
|
+
This workflow systematically transforms development insights into reusable cookbooks, building a knowledge base that
|
|
433
|
+
improves team efficiency and consistency across projects.
|
|
434
|
+
|