mddd-cli 1.0.6 → 1.0.7

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.
Files changed (3) hide show
  1. package/bin/cli.js +1 -0
  2. package/package.json +1 -1
  3. package/readme.md +7 -1
package/bin/cli.js CHANGED
@@ -89,6 +89,7 @@ If the file is the Feature Contract: Focus only on:
89
89
  2. Use only Mermaid diagrams for visual representation using the 'mermaid' language.
90
90
  4. Use the diagram type that best fits the specification.
91
91
  5. ALWAYS WORK ON THE {fileName}.spec.md files (RESPECT the path for colocalization). If they don't exist, create them. They are the single source of truth. Never make changes directly in the code without reflecting them in the diagrams.
92
+ 6. For audits, if the code is modular, cohesive, and clean: map the current flow in Mermaid, fill in the decision tables, and set the initial stable version as v1.0.0. If the code is chaotic, coupled, or complex: point out the architectural problems, suggest a REFACTORING proposal separating responsibilities, and assemble the Mermaid of how the flow SHOULD BE post-refactoring. Save this spec file with a draft status.
92
93
  `;
93
94
 
94
95
  fs.writeFileSync('system_prompt.md', promptContent);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mddd-cli",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Official CLI for modular, co-located, and versioned Mermaid Diagram Driven Development (MDDD).",
5
5
  "main": "bin/cli.js",
6
6
  "type": "module",
package/readme.md CHANGED
@@ -39,6 +39,9 @@ No **Mermaid Diagram Driven Development**, invertemos o ciclo tradicional de des
39
39
  ### Exemplo diagrama de inicialização de um app Flutter
40
40
  <img width="1316" height="444" alt="image" src="https://github.com/user-attachments/assets/5cacc283-e517-4468-a8cd-d67442a75bf2" />
41
41
 
42
+ ### Exemplo de matriz de decisão
43
+ <img width="1237" height="702" alt="image" src="https://github.com/user-attachments/assets/e8ffc227-9b2a-44d5-ad66-116dffedc8ba" />
44
+
42
45
  Para visualizar os diagramas Mermaid diretamente no seu editor durante o fluxo MDDD, você pode utilizar extensões que renderizam blocos ````mermaid```` em arquivos Markdown:
43
46
 
44
47
  ### VS Code
@@ -199,9 +202,12 @@ In **Mermaid Diagram Driven Development**, we invert the traditional AI chat-dri
199
202
 
200
203
  To preview Mermaid diagrams directly in your editor during the MDDD workflow, you can use extensions that render ````mermaid```` blocks in Markdown files:
201
204
 
202
- ### Exemplo diagrama de inicialização de um app Flutter
205
+ ### Flutter App Initialization Diagram Example
203
206
  <img width="1316" height="444" alt="image" src="https://github.com/user-attachments/assets/5cacc283-e517-4468-a8cd-d67442a75bf2" />
204
207
 
208
+ ### Decision Matrix Example
209
+ <img width="1237" height="702" alt="image" src="https://github.com/user-attachments/assets/e8ffc227-9b2a-44d5-ad66-116dffedc8ba" />
210
+
205
211
  ### VS Code
206
212
  - **Markdown Preview Mermaid Support** — Adds Mermaid diagram support to the native Markdown preview.
207
213
  - **Mermaid Editor** — Visual editor with side-by-side preview and export.