pbi-cli/assets/docs-diagnostics.svg

110 lines
No EOL
6.2 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="850" height="580" viewBox="0 0 850 580">
<defs>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&amp;family=JetBrains+Mono:wght@400;500&amp;display=swap');
.title { font-family: 'Inter', sans-serif; font-weight: 700; }
.subtitle { font-family: 'Inter', sans-serif; font-weight: 400; }
.body { font-family: 'Inter', sans-serif; font-weight: 400; }
.bold { font-family: 'Inter', sans-serif; font-weight: 600; }
.mono { font-family: 'JetBrains Mono', monospace; font-weight: 400; }
</style>
</defs>
<!-- Background -->
<rect width="850" height="580" fill="#0d1117" rx="0"/>
<!-- Title Section -->
<text x="425" y="42" text-anchor="middle" class="title" font-size="28" fill="#F2C811">Docs + Diagnostics</text>
<text x="425" y="68" text-anchor="middle" class="subtitle" font-size="16" fill="#8b949e">Auto-document everything. Find bottlenecks instantly.</text>
<!-- Left Panel - Docs Skill -->
<rect x="25" y="90" width="390" height="380" fill="#161b22" stroke="#ff6b6b" stroke-width="2" rx="8"/>
<text x="220" y="122" text-anchor="middle" class="title" font-size="18" fill="#ff6b6b">Docs Skill</text>
<line x1="45" y1="134" x2="395" y2="134" stroke="#30363d" stroke-width="1"/>
<!-- Data Dictionary Table Header -->
<text x="70" y="162" class="bold" font-size="13" fill="#F2C811">Table</text>
<text x="175" y="162" class="bold" font-size="13" fill="#F2C811">Column</text>
<text x="310" y="162" class="bold" font-size="13" fill="#F2C811">Type</text>
<line x1="45" y1="172" x2="395" y2="172" stroke="#30363d" stroke-width="1" stroke-dasharray="4,3"/>
<!-- Table Rows -->
<text x="70" y="194" class="body" font-size="12" fill="#c9d1d9">Sales</text>
<text x="175" y="194" class="body" font-size="12" fill="#c9d1d9">Amount</text>
<text x="310" y="194" class="body" font-size="12" fill="#c9d1d9">Decimal</text>
<text x="70" y="216" class="body" font-size="12" fill="#c9d1d9">Sales</text>
<text x="175" y="216" class="body" font-size="12" fill="#c9d1d9">OrderDate</text>
<text x="310" y="216" class="body" font-size="12" fill="#c9d1d9">DateTime</text>
<text x="70" y="238" class="body" font-size="12" fill="#c9d1d9">Product</text>
<text x="175" y="238" class="body" font-size="12" fill="#c9d1d9">Name</text>
<text x="310" y="238" class="body" font-size="12" fill="#c9d1d9">String</text>
<text x="70" y="260" class="body" font-size="12" fill="#c9d1d9">Product</text>
<text x="175" y="260" class="body" font-size="12" fill="#c9d1d9">Category</text>
<text x="310" y="260" class="body" font-size="12" fill="#c9d1d9">String</text>
<text x="70" y="282" class="body" font-size="12" fill="#c9d1d9">Calendar</text>
<text x="175" y="282" class="body" font-size="12" fill="#c9d1d9">Date</text>
<text x="310" y="282" class="body" font-size="12" fill="#c9d1d9">DateTime</text>
<text x="70" y="310" class="body" font-size="12" fill="#8b949e">... 82 more columns</text>
<line x1="45" y1="326" x2="395" y2="326" stroke="#30363d" stroke-width="1"/>
<!-- Command and Result -->
<text x="220" y="352" text-anchor="middle" class="mono" font-size="12" fill="#58a6ff">pbi model document</text>
<text x="220" y="376" text-anchor="middle" class="body" font-size="12" fill="#06d6a0">Generated complete data dictionary</text>
<!-- Right Panel - Diagnostics Skill -->
<rect x="435" y="90" width="390" height="380" fill="#161b22" stroke="#ffd166" stroke-width="2" rx="8"/>
<text x="630" y="122" text-anchor="middle" class="title" font-size="18" fill="#ffd166">Diagnostics Skill</text>
<line x1="455" y1="134" x2="805" y2="134" stroke="#30363d" stroke-width="1"/>
<!-- Health Check Results -->
<!-- Check mark - Relationships OK -->
<text x="470" y="164" class="body" font-size="14" fill="#06d6a0">&#x2713;</text>
<text x="492" y="164" class="body" font-size="14" fill="#06d6a0">Relationships OK</text>
<!-- Check mark - No Circular Deps -->
<text x="470" y="190" class="body" font-size="14" fill="#06d6a0">&#x2713;</text>
<text x="492" y="190" class="body" font-size="14" fill="#06d6a0">No Circular Deps</text>
<!-- Warning - 3 Unused Measures -->
<text x="470" y="216" class="body" font-size="14" fill="#febc2e">&#x26A0;</text>
<text x="492" y="216" class="body" font-size="14" fill="#febc2e">3 Unused Measures</text>
<!-- Error - Missing Date Table -->
<text x="470" y="242" class="body" font-size="14" fill="#ff6b6b">&#x2717;</text>
<text x="492" y="242" class="body" font-size="14" fill="#ff6b6b">Missing Date Table</text>
<line x1="455" y1="260" x2="805" y2="260" stroke="#30363d" stroke-width="1"/>
<!-- Query Trace Section -->
<text x="470" y="286" class="bold" font-size="14" fill="#ffd166">Query Trace</text>
<text x="470" y="310" class="mono" font-size="11" fill="#8b949e">SELECT ... FROM Sales</text>
<text x="470" y="334" class="body" font-size="12" fill="#ff6b6b">Duration: 2.4s</text>
<text x="470" y="356" class="body" font-size="12" fill="#06d6a0">Recommendation: Add index</text>
<line x1="455" y1="372" x2="805" y2="372" stroke="#30363d" stroke-width="1"/>
<!-- Command -->
<text x="630" y="398" text-anchor="middle" class="mono" font-size="12" fill="#58a6ff">pbi trace start</text>
<!-- Capability Pills -->
<!-- Data Dictionary pill -->
<rect x="175" y="490" width="140" height="32" rx="16" fill="none" stroke="#ff6b6b" stroke-width="1.5"/>
<text x="245" y="511" text-anchor="middle" class="bold" font-size="14" fill="#ff6b6b">Data Dictionary</text>
<!-- Query Tracing pill -->
<rect x="355" y="490" width="140" height="32" rx="16" fill="none" stroke="#ffd166" stroke-width="1.5"/>
<text x="425" y="511" text-anchor="middle" class="bold" font-size="14" fill="#ffd166">Query Tracing</text>
<!-- Health Check pill -->
<rect x="535" y="490" width="140" height="32" rx="16" fill="none" stroke="#06d6a0" stroke-width="1.5"/>
<text x="605" y="511" text-anchor="middle" class="bold" font-size="14" fill="#06d6a0">Health Check</text>
<!-- Footer -->
<text x="425" y="555" text-anchor="middle" class="subtitle" font-size="15" fill="#8b949e">Know your model inside out. Fix problems before they reach production.</text>
</svg>