Skip to content

drafael/coding-harness / skills/diagram-design

diagram-design

Verified

Create branded architecture, IT current-state, flowchart, sequence, state machine, ER/data model, timeline, swimlane, quadrant, radar/spider, polar chart (polar/radial lollipop), loop/flywheel, nested, tree, org chart, layer stack, Venn, pyramid/funnel, treemap, bar, line, Gantt and scatter charts, high-level, process, medallion, data flow, DP integration, DP security matrix, Sankey, fishbone, Wardley map, kanban, user journey, deployment, dependency graph, UML class, story map, or database schema diagrams as standalone HTML/SVG/PNG. Redraw .drawio/.drawio.png/.drawio.svg or Mermaid .mmd sources at a chosen size/detail; onboard brand tokens from a website; add semantic patterns, callouts, accessible motion, or sketchy/hand-drawn styling.

FileKindSize
LICENSEother1.0 KB
README.mdmarkdown5.6 KB
SKILL.mdskill md38.6 KB
THIRD_PARTY_LICENSES.mdmarkdown2.6 KB
assets/example-architecture-dark.htmlother11.8 KB
assets/example-architecture-full.htmlother14.6 KB
assets/example-architecture.htmlother11.8 KB
assets/example-bar-dark.htmlother8.8 KB
assets/example-bar-full.htmlother11.0 KB
assets/example-bar.htmlother8.7 KB
assets/example-bubble-dark.htmlother11.2 KB
assets/example-bubble-full.htmlother14.8 KB
assets/example-bubble.htmlother11.1 KB
assets/example-data-flow-dark.htmlother12.7 KB
assets/example-data-flow-full.htmlother15.5 KB
assets/example-data-flow.htmlother12.5 KB
assets/example-datalake-dark.htmlother24.3 KB
assets/example-datalake-full.htmlother27.7 KB
assets/example-datalake.htmlother25.8 KB
assets/example-db-schema-dark.htmlother24.1 KB
assets/example-db-schema-full.htmlother27.0 KB
assets/example-db-schema.htmlother23.9 KB
assets/example-dependency-dark.htmlother17.4 KB
assets/example-dependency-full.htmlother20.6 KB
assets/example-dependency.htmlother17.2 KB
assets/example-deployment-dark.htmlother13.2 KB
assets/example-deployment-full.htmlother16.4 KB
assets/example-deployment.htmlother13.1 KB
assets/example-dp-integration-dark.htmlother14.4 KB
assets/example-dp-integration-full.htmlother16.9 KB
assets/example-dp-integration.htmlother14.4 KB
assets/example-dp-security-matrix-dark.htmlother10.0 KB
assets/example-dp-security-matrix-full.htmlother12.3 KB
assets/example-dp-security-matrix.htmlother10.7 KB
assets/example-er-dark.htmlother13.9 KB
assets/example-er-full.htmlother16.7 KB
assets/example-er.htmlother13.8 KB
assets/example-fishbone-dark.htmlother8.5 KB
assets/example-fishbone-full.htmlother11.1 KB
assets/example-fishbone.htmlother8.4 KB
assets/example-flowchart-dark.htmlother9.0 KB
assets/example-flowchart-full.htmlother11.9 KB
assets/example-flowchart.htmlother9.0 KB
assets/example-gantt-dark.htmlother10.0 KB
assets/example-gantt-full.htmlother11.6 KB
assets/example-gantt.htmlother9.8 KB
assets/example-high-level-dark.htmlother23.6 KB
assets/example-high-level-full.htmlother27.8 KB
assets/example-high-level-vertical-dark.htmlother24.4 KB
assets/example-high-level-vertical-full.htmlother28.1 KB
assets/example-high-level-vertical.htmlother29.7 KB
assets/example-high-level.htmlother26.3 KB
assets/example-import-drawio.htmlother11.8 KB
assets/example-import-mermaid.htmlother7.9 KB
assets/example-it-state-dark.htmlother11.7 KB
assets/example-it-state-full.htmlother13.9 KB
assets/example-it-state.htmlother12.2 KB
assets/example-journey-dark.htmlother8.9 KB
assets/example-journey-full.htmlother11.5 KB
assets/example-journey.htmlother8.9 KB
assets/example-kanban-dark.htmlother10.8 KB
assets/example-kanban-full.htmlother13.6 KB
assets/example-kanban.htmlother10.7 KB
assets/example-layers-dark.htmlother6.8 KB
assets/example-layers-full.htmlother9.8 KB
assets/example-layers.htmlother6.7 KB
assets/example-line-dark.htmlother7.3 KB
assets/example-line-full.htmlother9.8 KB
assets/example-line.htmlother7.3 KB
assets/example-loop-dark.htmlother6.7 KB
assets/example-loop-full.htmlother9.7 KB
assets/example-loop-terminal.htmlother9.8 KB
assets/example-loop.htmlother6.6 KB
assets/example-medallion-dark.htmlother12.7 KB
assets/example-medallion-full.htmlother15.5 KB
assets/example-medallion.htmlother12.6 KB
assets/example-nested-dark.htmlother6.6 KB
assets/example-nested-full.htmlother9.6 KB
assets/example-nested.htmlother6.7 KB
assets/example-org-chart-dark.htmlother11.3 KB
assets/example-org-chart-full.htmlother11.8 KB
assets/example-org-chart.htmlother11.3 KB
assets/example-paved-road-animated.htmlother27.6 KB
assets/example-polar-dark.htmlother10.2 KB
assets/example-polar-full.htmlother12.4 KB
assets/example-polar.htmlother10.1 KB
assets/example-policy-trace-animated.htmlother24.9 KB
assets/example-process-dark.htmlother14.7 KB
assets/example-process-full.htmlother17.1 KB
assets/example-process.htmlother14.6 KB
assets/example-pyramid-dark.htmlother6.5 KB
assets/example-pyramid-full.htmlother9.5 KB
assets/example-pyramid.htmlother6.4 KB
assets/example-quadrant-consultant.htmlother11.6 KB
assets/example-quadrant-dark.htmlother6.5 KB
assets/example-quadrant-full.htmlother9.4 KB
assets/example-quadrant.htmlother6.4 KB
assets/example-queue-animated.htmlother29.2 KB
assets/example-radar-dark.htmlother7.5 KB
assets/example-radar-full.htmlother10.2 KB
assets/example-radar.htmlother7.7 KB
assets/example-ridgeline-dark.htmlother10.1 KB
assets/example-ridgeline-full.htmlother13.9 KB
assets/example-ridgeline.htmlother10.0 KB
assets/example-sankey-dark.htmlother8.8 KB
assets/example-sankey-full.htmlother11.5 KB
assets/example-sankey.htmlother8.7 KB
assets/example-scatter-dark.htmlother9.3 KB
assets/example-scatter-full.htmlother11.3 KB
assets/example-scatter.htmlother9.2 KB
assets/example-sequence-dark.htmlother13.5 KB
assets/example-sequence-full.htmlother17.8 KB
assets/example-sequence-oauth-dark.htmlother11.8 KB
assets/example-sequence-oauth-full.htmlother16.2 KB
assets/example-sequence-oauth.htmlother14.0 KB
assets/example-sequence.htmlother13.4 KB
assets/example-slopegraph-dark.htmlother10.2 KB
assets/example-slopegraph-full.htmlother13.6 KB
assets/example-slopegraph.htmlother10.1 KB
assets/example-state-dark.htmlother8.5 KB
assets/example-state-full.htmlother11.4 KB
assets/example-state.htmlother8.5 KB
assets/example-story-map-dark.htmlother12.0 KB
assets/example-story-map-full.htmlother15.1 KB
assets/example-story-map.htmlother11.9 KB
assets/example-swimlane-dark.htmlother10.3 KB
assets/example-swimlane-full.htmlother13.2 KB
assets/example-swimlane.htmlother10.2 KB
assets/example-timeline-dark.htmlother7.2 KB
assets/example-timeline-full.htmlother10.1 KB
assets/example-timeline.htmlother7.2 KB
assets/example-tree-dark.htmlother10.8 KB
assets/example-tree-full.htmlother13.7 KB
assets/example-tree.htmlother10.7 KB
assets/example-treemap-dark.htmlother7.5 KB
assets/example-treemap-full.htmlother10.5 KB
assets/example-treemap.htmlother7.4 KB
assets/example-uml-class-dark.htmlother12.1 KB
assets/example-uml-class-full.htmlother15.3 KB
assets/example-uml-class.htmlother12.1 KB
assets/example-venn-dark.htmlother6.5 KB
assets/example-venn-full.htmlother9.7 KB
assets/example-venn.htmlother5.0 KB
assets/example-wardley-dark.htmlother8.7 KB
assets/example-wardley-full.htmlother11.1 KB
assets/example-wardley.htmlother8.7 KB
assets/icons.htmlother106.0 KB
assets/index.htmlother15.2 KB
assets/template-dark.htmlother3.1 KB
assets/template-full.htmlother22.0 KB
assets/template-motion.htmlother19.4 KB
assets/template-terminal.htmlother4.8 KB
assets/template.htmlother3.2 KB
local-patches/playwright-chromium-discovery.patchother32.2 KB
references/animation.mdmarkdown11.5 KB
references/doctor.mdmarkdown5.4 KB
references/export.mdmarkdown8.3 KB
references/import-drawio.mdmarkdown12.8 KB
references/import-mermaid.mdmarkdown8.7 KB
references/onboarding.mdmarkdown13.5 KB
references/output-spec.mdmarkdown10.9 KB
references/primitive-annotation.mdmarkdown1.7 KB
references/primitive-icons.mdmarkdown103.5 KB
references/primitive-sketchy.mdmarkdown1.7 KB
references/primitive-terminal.mdmarkdown3.8 KB
references/profiles.mdmarkdown13.9 KB
references/semantic-patterns.mdmarkdown10.1 KB
references/style-guide.mdmarkdown8.5 KB
references/type-architecture.mdmarkdown4.9 KB
references/type-bar.mdmarkdown13.3 KB
references/type-data-flow.mdmarkdown20.8 KB
references/type-db-schema.mdmarkdown4.8 KB
references/type-dependency.mdmarkdown4.1 KB
references/type-deployment.mdmarkdown4.1 KB
references/type-dp-integration.mdmarkdown21.7 KB
references/type-dp-security-matrix.mdmarkdown18.6 KB
references/type-er.mdmarkdown1.5 KB
references/type-fishbone.mdmarkdown5.6 KB
references/type-flowchart.mdmarkdown1.1 KB
references/type-gantt.mdmarkdown2.4 KB
references/type-high-level.mdmarkdown26.1 KB
references/type-it-state.mdmarkdown29.3 KB
references/type-journey.mdmarkdown5.0 KB
references/type-kanban.mdmarkdown4.2 KB
references/type-layers.mdmarkdown1.5 KB
references/type-line.mdmarkdown26.8 KB
references/type-loop.mdmarkdown12.3 KB
references/type-medallion.mdmarkdown21.7 KB
references/type-nested.mdmarkdown1.4 KB
references/type-org-chart.mdmarkdown3.0 KB
references/type-polar.mdmarkdown7.6 KB
references/type-process.mdmarkdown27.9 KB
references/type-pyramid.mdmarkdown1.7 KB
references/type-quadrant.mdmarkdown6.1 KB
references/type-radar.mdmarkdown5.5 KB
references/type-sankey.mdmarkdown8.7 KB
references/type-scatter.mdmarkdown11.0 KB
references/type-sequence.mdmarkdown6.5 KB
references/type-state.mdmarkdown1.1 KB
references/type-story-map.mdmarkdown4.7 KB

assets/example-loop-terminal.html

View on GitHub
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>The self-improving loop · Terminal</title>
    <link
      href="https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500;600;700&amp;display=swap"
      rel="stylesheet"
    />
    <style>
      *,
      *::before,
      *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
      :root {
        --page: #0a0a0a;
        --paper: #141414;
        --bar: #1b1b1b;
        --border: #2b2b2b;
        --ink: #f5f5f5;
        --muted: #9a9a9a;
        --soft: #5c5c5c;
        --accent: #ff5a36;
        --accent-tint: rgba(255, 90, 54, 0.12);
        --mono: "Geist Mono", ui-monospace, monospace;
      }
      body {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 3rem 2rem;
        background: var(--page);
        font-family: var(--mono);
      }
      .terminal {
        width: 100%;
        max-width: 1200px;
        background: var(--paper);
        border: 1px solid var(--border);
        border-radius: 12px;
        overflow: hidden;
      }
      .titlebar {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 16px;
        background: var(--bar);
        border-bottom: 1px solid var(--border);
      }
      .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--soft);
      }
      .dot.accent {
        background: var(--accent);
      }
      .titlebar-name {
        flex: 1;
        text-align: center;
        color: var(--muted);
        font: 500 0.7rem var(--mono);
        letter-spacing: 0.04em;
        margin-right: 46px;
      }
      .frame {
        padding: 2.25rem 2.5rem 2.5rem;
      }
      .prompt {
        display: flex;
        gap: 0.6em;
        margin-bottom: 0.9rem;
        color: var(--muted);
        font: 500 0.8rem var(--mono);
        letter-spacing: 0.01em;
      }
      .prompt .sign {
        color: var(--accent);
      }
      h1 {
        margin-bottom: 1.5rem;
        color: var(--ink);
        font: 700 clamp(1.5rem, 2.2vw + 0.8rem, 2.05rem)/1.2 var(--mono);
        letter-spacing: -0.01em;
      }
      h1::before {
        content: "# ";
        color: var(--soft);
      }
      svg {
        display: block;
        width: 100%;
        min-width: 900px;
      }
      .ring {
        fill: none;
        stroke: var(--muted);
        stroke-width: 1.2;
      }
      .spoke {
        fill: none;
        stroke: var(--soft);
        stroke-width: 1;
        stroke-dasharray: 5 4;
      }
      .station {
        fill: var(--paper);
        stroke: var(--ink);
        stroke-width: 1;
      }
      .station.focal {
        fill: var(--accent-tint);
        stroke: var(--accent);
        stroke-width: 1.4;
      }
      .hub {
        fill: var(--ink);
      }
      .node-name {
        fill: var(--ink);
        font: 600 14px var(--mono);
        text-anchor: middle;
      }
      .focal-name {
        fill: var(--accent);
      }
      .sublabel {
        fill: var(--muted);
        font: 400 9.5px var(--mono);
        text-anchor: middle;
      }
      .hub-name {
        fill: var(--paper);
        font: 700 18px var(--mono);
        text-anchor: middle;
      }
      .hub-sub {
        fill: var(--paper);
        opacity: 0.7;
        font: 400 9.5px var(--mono);
        text-anchor: middle;
      }
      .arrow-label {
        fill: var(--muted);
        font: 500 9px var(--mono);
        letter-spacing: 0.08em;
        text-anchor: middle;
      }
    </style>
  </head>
  <body>
    <div class="terminal">
      <div class="titlebar">
        <div class="dot accent"></div>
        <div class="dot"></div>
        <div class="dot"></div>
        <div class="titlebar-name">loop.sh — self-improving-loop</div>
      </div>
      <main class="frame">
        <p class="prompt">
          <span class="sign">$</span> diagram-design render --type loop
        </p>
        <h1>The self-improving loop</h1>

        <svg
          viewBox="0 0 1040 680"
          xmlns="http://www.w3.org/2000/svg"
          role="img"
          aria-labelledby="loop-terminal-title loop-terminal-desc"
        >
          <title id="loop-terminal-title">The self-improving loop</title>
          <desc id="loop-terminal-desc">
            Six stations flow clockwise from Capture through Learn and back to
            Capture. Each station writes shared state into one central memory
            hub, with Decide highlighted as the human approval gate.
          </desc>
          <defs>
            <pattern
              id="dots"
              width="22"
              height="22"
              patternUnits="userSpaceOnUse"
            >
              <circle cx="1" cy="1" r="0.9" fill="rgba(255,255,255,0.08)" />
            </pattern>
            <marker
              id="arrow"
              markerWidth="8"
              markerHeight="6"
              refX="7"
              refY="3"
              orient="auto"
            >
              <polygon points="0 0, 8 3, 0 6" fill="#9a9a9a" />
            </marker>
            <marker
              id="arrow-soft"
              markerWidth="8"
              markerHeight="6"
              refX="7"
              refY="3"
              orient="auto"
            >
              <polygon points="0 0, 8 3, 0 6" fill="#5c5c5c" />
            </marker>
          </defs>
          <rect width="1040" height="680" fill="#141414" />
          <rect width="1040" height="680" fill="url(#dots)" opacity="0.7" />

          <!-- Solid clockwise ring: six arcs on the same r=240 station circle. -->
          <path
            class="ring"
            d="M600 113.726 A240 240 0 0 1 704.969 187.073"
            marker-end="url(#arrow)"
          />
          <path
            class="ring"
            d="M743.285 252 A240 240 0 0 1 743.722 426.882"
            marker-end="url(#arrow)"
          />
          <path
            class="ring"
            d="M705.731 492 A240 240 0 0 1 601.130 565.871"
            marker-end="url(#arrow)"
          />
          <path
            class="ring"
            d="M440 566.274 A240 240 0 0 1 335.031 492.927"
            marker-end="url(#arrow)"
          />
          <path
            class="ring"
            d="M296.715 428 A240 240 0 0 1 296.278 253.118"
            marker-end="url(#arrow)"
          />
          <path
            class="ring"
            d="M334.269 188 A240 240 0 0 1 438.870 114.129"
            marker-end="url(#arrow)"
          />

          <!-- Dashed write-backs: station inner edge to 6px before the hub stroke. -->
          <path class="spoke" d="M520 132 V280" marker-end="url(#arrow-soft)" />
          <path
            class="spoke"
            d="M672 252 L616 284"
            marker-end="url(#arrow-soft)"
          />
          <path
            class="spoke"
            d="M672 428 L616 396"
            marker-end="url(#arrow-soft)"
          />
          <path class="spoke" d="M520 548 V400" marker-end="url(#arrow-soft)" />
          <path
            class="spoke"
            d="M368 428 L424 396"
            marker-end="url(#arrow-soft)"
          />
          <path
            class="spoke"
            d="M368 252 L424 284"
            marker-end="url(#arrow-soft)"
          />

          <!-- Curated spoke labels sit beside the line with an 8px visible gap. -->
          <rect x="530" y="199" width="52" height="17" rx="4" fill="#141414" />
          <text x="556" y="211.5" class="arrow-label">SIGNALS</text>
          <rect x="457" y="463" width="58" height="17" rx="4" fill="#141414" />
          <text x="486" y="475.5" class="arrow-label">OUTCOMES</text>

          <!-- Stations -->
          <rect class="station" x="440" y="68" width="160" height="64" rx="6" />
          <text x="520" y="96.5" class="node-name">Capture</text>
          <text x="520" y="116.5" class="sublabel">signals in / intake</text>

          <rect
            class="station"
            x="648"
            y="188"
            width="160"
            height="64"
            rx="6"
          />
          <text x="728" y="216.5" class="node-name">Research</text>
          <text x="728" y="236.5" class="sublabel">evidence pulled</text>

          <rect
            class="station focal"
            x="648"
            y="428"
            width="160"
            height="64"
            rx="6"
          />
          <text x="728" y="456.5" class="node-name focal-name">Decide</text>
          <text x="728" y="476.5" class="sublabel">human approves</text>

          <rect
            class="station"
            x="440"
            y="548"
            width="160"
            height="64"
            rx="6"
          />
          <text x="520" y="576.5" class="node-name">Act</text>
          <text x="520" y="596.5" class="sublabel">work ships</text>

          <rect
            class="station"
            x="232"
            y="428"
            width="160"
            height="64"
            rx="6"
          />
          <text x="312" y="456.5" class="node-name">Measure</text>
          <text x="312" y="476.5" class="sublabel">outcomes logged</text>

          <rect
            class="station"
            x="232"
            y="188"
            width="160"
            height="64"
            rx="6"
          />
          <text x="312" y="216.5" class="node-name">Learn</text>
          <text x="312" y="236.5" class="sublabel">playbook updated</text>

          <!-- The one shared-state hub. -->
          <rect class="hub" x="420" y="288" width="200" height="104" rx="8" />
          <text x="520" y="337.5" class="hub-name">Shared memory</text>
          <text x="520" y="360.5" class="hub-sub">one record, every loop</text>
        </svg>
      </main>
    </div>
  </body>
</html>
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 470kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 470kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 470kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall