@@ -14,8 +14,8 @@ stored as `.dvpe` JSON files and can be exported to C++ firmware for Daisy Field
1414Without a structured design workflow, two problems repeat every time:
1515
1616- ** Wrong block selected** — e.g., ` reverb ` instead of ` reverb_sc ` , or ` filter ` instead of ` svf ` .
17- The DVPE block library has 108+ blocks with specific ` definitionId ` strings. Guessing the ID
18- produces broken ` .dvpe ` files that won't load.
17+ The live DVPE block library is exported with ` py -3 execution\dvpe_cli.py blocks export ` .
18+ Guessing the ID produces broken ` .dvpe ` files that won't load.
1919- ** Unvalidated signal flow** — connections drawn between incompatible port types (` audio ` vs ` cv `
2020 vs ` trigger ` ) only become obvious after attempting to generate C++.
2121- ** Hardware mismatches** — generating a Field patch with an encoder block (Field has no encoder),
@@ -125,11 +125,11 @@ You can refine any diagram before advancing. Gate does not self-advance.
125125
126126For every Audio Flow node, Claude:
127127
128- 1 . Looks up the ` definitionId ` in the Block Catalog (108+ blocks)
129- 2 . Verifies the block exists in ` BlockRegistry.ts `
128+ 1 . Runs ` py -3 execution\dvpe_cli.py blocks export `
129+ 2 . Verifies the block exists in ` .tmp/block_library.json `
1301303 . Flags any unmapped node with the nearest available alternative
131- 4 . Generates ` .dvpe ` JSON following SCHEMA.md rules
132- 5 . Validates the schema checklist (6 common mistakes) before declaring done
131+ 4 . Generates ` .dvpe ` JSON using the current block and port IDs
132+ 5 . Runs ` py -3 execution\dvpe_cli.py patch validate <file.dvpe> ` before declaring done
133133
134134Output is saved to ` _block_diagrams_code/{patch_name}.dvpe ` .
135135
@@ -203,9 +203,9 @@ After Claude presents all 3 Mermaid diagrams, your options:
203203 OLED visualization, correct LED indexing, and other FieldUX requirements. Always pass it
204204 through ` /daisy-qae ` before flashing to hardware.
205205
206- - ** Don't guess ` definitionId ` strings.** The Block Catalog in SKILL.md lists all 108+
207- verified IDs. Using a made-up ID (like ` "reverb" ` instead of ` "reverb_sc" ` ) produces a
208- ` .dvpe ` that fails to load silently .
206+ - ** Don't guess ` definitionId ` strings.** Treat the SKILL.md catalog as a quick reference only.
207+ Run ` py -3 execution\dvpe_cli.py blocks export ` and validate generated files with
208+ ` py -3 execution\dvpe_cli.py patch validate <file.dvpe> ` .
209209
210210- ** Don't skip Diagram A for "simple patches."** Simple patches still run on real hardware.
211211 The block diagram catches platform mismatches (Field vs Pod), MIDI assumptions, and OLED
@@ -215,7 +215,8 @@ After Claude presents all 3 Mermaid diagrams, your options:
215215
216216## Block Catalog Quick Reference
217217
218- Full catalog with all ` definitionId ` strings is in SKILL.md. Key blocks by use case:
218+ This is a quick reference. The current catalog is ` .tmp/block_library.json ` after running
219+ ` py -3 execution\dvpe_cli.py blocks export ` . Key blocks by use case:
219220
220221### Synthesis Starting Points
221222
@@ -334,22 +335,23 @@ the DVPE workflow.
334335```
335336.claude/skills/dvpe-development/
336337├── README.md ← This file
337- ├── SKILL.md ← Mermaid-First Rule + 4 modes + Block Catalog + Platform Reference
338+ ├── SKILL.md ← Mermaid-First Rule + 4 modes + CLI validation rule + quick reference
338339└── EXAMPLES.md ← 3 complete workflow traces + anti-pattern table
339340```
340341
341342---
342343
343344## Extending the Skill
344345
345- ### Adding a new block to the catalog
346+ ### Adding a new block
346347
347348When a new block is added to ` dvpe_CLD/src/core/blocks/definitions/ ` :
348349
3493501 . Find its ` id ` property in the ` .ts ` definition file
350- 2 . Add it to the Block Catalog in SKILL.md under the appropriate category
351- 3 . Note LGPL status if applicable
352- 4 . Add to EXAMPLES.md if it introduces a new usage pattern
351+ 2 . Run ` py -3 execution\dvpe_cli.py blocks export `
352+ 3 . Run ` py -3 execution\dvpe_cli.py skill check `
353+ 4 . Update the SKILL.md quick reference only if it is useful for humans
354+ 5 . Add to EXAMPLES.md if it introduces a new usage pattern
353355
354356### Adding a new platform
355357
@@ -374,4 +376,4 @@ If a 4th diagram type becomes useful (e.g., memory layout for delay-heavy patche
374376* Part of the DVPE project.*
375377* See also: ` daisy-qae ` skill for production firmware quality assurance.*
376378* Block definitions: ` dvpe_CLD/src/core/blocks/definitions/ ` *
377- * Schema : ` _block_diagrams_code/SCHEMA.md ` *
379+ * Validation CLI : ` execution/dvpe_cli.py ` *
0 commit comments