Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
fix(intake): include all supported diagram types in issue forms
Rudy Celekli3a9a055aff92
diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.ymlindex ec1deab6..cfb3e64f 100644--- a/.github/ISSUE_TEMPLATE/bug-report.yml+++ b/.github/ISSUE_TEMPLATE/bug-report.yml@@ -40,6 +40,11 @@ body:- Sequence- Data flow- Lifecycle+ - ERD+ - Class+ - Tree+ - Timeline+ - Waterfall- Installation or packaging- Generated viewervalidations:diff --git a/.github/ISSUE_TEMPLATE/showcase.yml b/.github/ISSUE_TEMPLATE/showcase.ymlindex 8da5be66..0bd7f0de 100644--- a/.github/ISSUE_TEMPLATE/showcase.yml+++ b/.github/ISSUE_TEMPLATE/showcase.yml@@ -19,6 +19,11 @@ body:- Sequence- Data flow- Lifecycle+ - ERD+ - Class+ - Tree+ - Timeline+ - Waterfallvalidations:required: truediff --git a/test/intake-diagram-types.test.mjs b/test/intake-diagram-types.test.mjsnew file mode 100644index 00000000..451103a1--- /dev/null+++ b/test/intake-diagram-types.test.mjs@@ -0,0 +1,12 @@+import assert from 'node:assert/strict';+import test from 'node:test';+import fs from 'node:fs';+import { parse } from 'yaml';+const labels=['Architecture','Workflow','Sequence','Data flow','Lifecycle','ERD','Class','Tree','Timeline','Waterfall'];+for(const form of ['bug-report','showcase']) test(`${form} intake lets users identify every supported diagram type`,()=>{+ const source=fs.readFileSync(new URL(`../.github/ISSUE_TEMPLATE/${form}.yml`,import.meta.url),'utf8');+ const field=parse(source).body.find(item=>item.id==='diagram_type');+ assert.equal(field.type,'dropdown');+ for(const label of labels) assert.ok(field.attributes.options.includes(label),`${form} missing ${label}`);+ assert.equal(new Set(field.attributes.options).size,field.attributes.options.length);+});