Skip to content

stark-ai-de/agent-skills / plugins/stark-ai-developer/skills/visual-reports

visual-reports

Verified

Create and update visual reports with optional native interaction, one guided topic at a time, useful diagrams, concise points, joint comparisons and complete offline HTML/Markdown/JSON exports. Use when richer output helps an authorized answer or the user asks for a visual report; keep small answers in chat. Not production application UI or clinical advice.

FileKindSize
SKILL.mdskill md11.5 KB
agents/openai.yamlconfig779 B
assets/completion-example.mdmarkdown3.2 KB
assets/graphite-grain/configurator.htmlother17.7 KB
assets/graphite-grain/configurator.mjsscript6.9 KB
assets/graphite-grain/relaxed.cssother4.2 KB
assets/openai-icon.pngbinary10.3 KB
assets/openai-icon.svgother318 B
assets/preview.jsscript3.4 KB
assets/report-recipes.mjsscript19.2 KB
assets/report-runtime.cssother16.4 KB
assets/report-runtime.jsscript23.9 KB
assets/report-shell.htmlother14.1 KB
references/comparisons.mdmarkdown4.8 KB
references/filesystem-handoff.mdmarkdown4.7 KB
references/managed-reports.mdmarkdown5.2 KB
references/markdown-input.mdmarkdown3.9 KB
references/model-v2.mdmarkdown10.1 KB
references/renderer.mdmarkdown24.5 KB
references/report-contract.mdmarkdown33.1 KB
references/selection.mdmarkdown4.8 KB
scripts/benchmark.mjsscript2.2 KB
scripts/cache_icon.pyscript9.2 KB
scripts/export-assets.mjsscript4.1 KB
scripts/lib/blocks-v2.mjsscript21.7 KB
scripts/lib/cli.mjsscript3.7 KB
scripts/lib/export-path.mjsscript1.6 KB
scripts/lib/generator-entry.mjsscript472 B
scripts/lib/markdown-input.mjsscript9.8 KB
scripts/lib/preview.mjsscript4.9 KB
scripts/lib/report-state.mjsscript13.4 KB
scripts/lib/report-store.mjsscript7.0 KB
scripts/lib/templates.mjsscript4.7 KB
scripts/render-report.mjsscript40.0 KB
tests/browser-delivery.mjsscript25.4 KB
tests/browser-smoke.pyscript15.5 KB
tests/browser-topics.mjsscript21.1 KB
tests/cache-icon.test.mjsscript5.0 KB
tests/export-assets.test.mjsscript5.5 KB
tests/render-report.test.mjsscript14.3 KB
tests/report-state.test.mjsscript11.7 KB
tests/topics.test.mjsscript6.4 KB
tests/v2.test.mjsscript21.1 KB

assets/report-runtime.css

View on GitHub
/* Original Visual Reports runtime. SPDX-License-Identifier: Apache-2.0 */
:root {
  color-scheme: dark;
  --bg: #202124;
  --fg: #e7e7e5;
  --muted: #b6b7ba;
  --line: #494b50;
  --accent: #a9d9cf;
  --space: 1.3rem;
  --grain: 0.035;
  font:
    15px/1.6 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--fg);
}
:root[data-style="balanced"] {
  --bg: #242528;
  --accent: #bbd2cc;
  --space: 1.6rem;
  --grain: 0.022;
}
:root[data-style="calm"] {
  --bg: #27282b;
  --accent: #c9d0cd;
  --space: 1.9rem;
  --grain: 0.012;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 1.5rem clamp(1rem, 3vw, 3rem) 3rem;
  overflow-wrap: anywhere;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
}
h1,
h2,
h3 {
  font-size: 1.12rem;
  font-weight: 550;
  line-height: 1.4;
  margin: 0 0 0.7rem;
}
h1 {
  font-size: 1.3rem;
}
h3 {
  font-size: 1rem;
}
p {
  margin: 0.55rem 0;
}
a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}
small,
.muted {
  color: var(--muted);
}
header {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
section {
  min-width: 0;
  margin-top: var(--space);
  padding-bottom: var(--space);
  border-bottom: 1px solid var(--line);
}
section > h2 {
  scroll-margin-top: 1rem;
}
nav,
.toolbar,
fieldset {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
}
nav {
  margin: 0.8rem 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.3rem 0.65rem;
  max-width: 100%;
}
button {
  cursor: pointer;
}
button:hover {
  border-color: var(--accent);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
input[type="checkbox"] {
  accent-color: var(--accent);
}
label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
textarea {
  display: block;
  width: 100%;
  min-height: 7rem;
  resize: vertical;
}
fieldset {
  border: 0;
  padding: 0.4rem 0;
  margin: 0;
}
legend {
  font-size: 0.9rem;
  color: var(--muted);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.js-only {
  display: none;
}
.js .js-only {
  display: initial;
}
.js .toolbar.js-only {
  display: flex;
}
.caveat {
  border-left: 2px solid var(--accent);
  padding-left: 0.8rem;
}
.takeaway {
  font-size: 1.06rem;
  max-width: 95ch;
}
.scroll {
  overflow: auto;
  max-width: 100%;
  overscroll-behavior: contain;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
th,
td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0.8rem;
}
th {
  font-weight: 550;
}
th:first-child,
td:first-child {
  padding-left: 0;
}
td small,
th small {
  display: block;
  font-weight: 400;
}
table.comparison {
  min-width: 640px;
  table-layout: fixed;
}
.state {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}
.track {
  height: 8px;
  background: var(--line);
  margin: 0.35rem 0;
  position: relative;
  max-width: 100%;
}
.bar {
  display: block;
  height: 100%;
  background: var(--accent);
}
.missing {
  display: block;
  border-top: 1px dashed var(--muted);
  margin: 0.7rem 0;
}
.zero {
  position: absolute;
  top: -2px;
  height: 12px;
  border-left: 1px solid var(--fg);
}
.value {
  font-variant-numeric: tabular-nums;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.5rem;
}
.grid > * {
  min-width: 0;
}
.metric {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}
.metric strong {
  font-size: 1.15rem;
  font-weight: 500;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    0.87rem/1.6 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  margin: 0.7rem 0;
  max-width: 100%;
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.code {
  white-space: pre;
  overflow: auto;
}
.diff-del {
  border-left: 2px dashed #e5b5b5;
  padding-left: 0.7rem;
}
.diff-add {
  border-left: 2px solid var(--accent);
  padding-left: 0.7rem;
}
details {
  margin-top: 0.75rem;
}
summary {
  cursor: pointer;
  color: var(--accent);
}
details[open] {
  padding-bottom: 0.6rem;
  box-shadow: 0 1px 0 var(--line);
}
.diagram {
  width: 100%;
  height: auto;
  max-height: 420px;
}
.diagram text {
  fill: var(--fg);
  font: 14px system-ui;
}
.diagram rect {
  fill: var(--bg);
  stroke: var(--line);
}
.diagram line,
.diagram path {
  stroke: var(--accent);
  fill: none;
}
.diagram polygon {
  fill: var(--accent);
}
.timeline-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 3fr;
  gap: 1rem;
  align-items: center;
  margin: 0.8rem 0;
}
.timeline-bar {
  background: var(--accent);
  height: 10px;
}
.timeline-track {
  background: var(--line);
  height: 10px;
  position: relative;
}
.timeline-track .timeline-bar {
  position: absolute;
  top: 0;
}
.step {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.step p {
  margin: 0.25rem 0;
}
.swatch {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.4rem;
  background: var(--accent);
}
.tone-gold {
  --accent: #d5c394;
}
.tone-mint {
  --accent: #a9d9cf;
}
.motion-lane {
  height: 60px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.motion-dot {
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 18px;
  left: 0;
}
.slide {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.presenting .slide {
  min-height: 55vh;
}
.board-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1.5rem;
}
.board-column {
  min-height: 6rem;
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}
.ticket {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.ticket[draggable="true"] {
  cursor: grab;
}
.editor-label {
  display: block;
  margin: 0.6rem 0;
}
.status {
  min-height: 1.6em;
  color: var(--accent);
}
img {
  max-width: 100%;
  height: auto;
}
figure {
  margin: 1rem 0;
}
.source-list li {
  margin: 0.6rem 0;
}
.file-tree {
  white-space: pre;
  overflow: auto;
}
.skip {
  position: absolute;
  top: -5rem;
}
.skip:focus {
  position: static;
}
.print-note {
  display: none;
}
@media (max-width: 600px) {
  body {
    padding: 1rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .timeline-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
  table.comparison {
    min-width: 600px;
  }
  th,
  td {
    padding: 0.5rem;
  }
  .toolbar {
    align-items: stretch;
  }
  .toolbar label {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  :root {
    color-scheme: light;
    --bg: white;
    --fg: black;
    --muted: #333;
    --line: #aaa;
    --accent: #275a50;
    font-size: 11pt;
  }
  body {
    padding: 0;
  }
  body:before,
  .toolbar,
  .js-only,
  nav,
  .agent-ledger {
    display: none !important;
  }
  .print-note {
    display: block;
  }
  .scroll {
    overflow: visible;
  }
  table.comparison {
    min-width: 0;
    width: 100%;
  }
  section {
    break-inside: auto;
  }
  .slide {
    display: block !important;
    min-height: 0 !important;
  }
  .slide[hidden],
  tr[hidden],
  td[hidden],
  th[hidden] {
    display: revert !important;
  }
  a {
    color: inherit;
  }
  details > * {
    display: block !important;
  }
  details::details-content {
    content-visibility: visible !important;
  }
}

.report-icon {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.16em;
  margin-right: 0.45em;
  flex: none;
}
main {
  max-width: 1120px;
  margin: auto;
}
header,
body > nav,
body > section,
body > details,
body > footer {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.next-action {
  border-left: 3px solid var(--accent);
  padding: 0.65rem 1rem;
  background: #ffffff05;
}
li {
  margin: 0.35rem 0;
}
.data-chart {
  display: block;
  width: 100%;
  height: auto;
  min-width: 760px;
}
.data-chart text {
  fill: var(--fg);
  font: 12px system-ui;
}
.data-chart line {
  stroke: var(--muted);
  stroke-width: 1.5;
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  list-style: none;
  padding: 0;
}
.chart-legend span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 0.4rem;
}
.status-strip {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.status-strip span {
  min-width: 24px;
  text-align: center;
  color: #151619;
  font-weight: 700;
}
.sample-healthy {
  background: #a9d9cf;
}
.sample-degraded {
  background: #d5c394;
}
.sample-down {
  background: #e6b0b0;
}
.sample-unknown {
  background: #b6b7ba;
  border: 2px dashed #202124;
}
.product-logo img {
  max-width: 160px;
  max-height: 80px;
}
.structure-diagram {
  max-height: 650px;
  width: 100%;
  object-fit: contain;
}

/* Tooling is opt-in footer UI; content navigation and evidence remain in the report. */
.report-tooling {
  margin-top: 2rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.report-tooling > details > summary {
  cursor: pointer;
  width: fit-content;
}
.reader-handoff {
  border-left: 2px solid var(--accent);
  padding-left: 0.8rem;
}
.reader-handoff strong {
  font-weight: 550;
}
.reader-handoff span {
  display: block;
}
@media print {
  .report-tooling > details {
    display: none;
  }
}

/* Topic navigation is native HTML/CSS first; JS only enhances the slider and links. */
body[data-presentation="topics"] > header {
  border: 0;
}
body[data-presentation="topics"] > header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}
body[data-presentation="topics"] #report-status:empty {
  display: none;
}
.topic-guide {
  --topic-surface: #29332f;
  --topic-border: #607870;
  max-width: 1120px;
  margin: 1rem auto 0;
}
:root[data-style="balanced"] .topic-guide {
  --topic-surface: #303936;
  --topic-border: #6d807a;
}
:root[data-style="calm"] .topic-guide {
  --topic-surface: #333b39;
  --topic-border: #7c8984;
}
.topic-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.topic-tabs {
  display: grid;
  grid-template-columns: repeat(var(--topic-count), minmax(0, 1fr));
  align-items: stretch;
  gap: 0.2rem;
  max-width: none;
  margin: 0;
  padding: 0 0.2rem;
  border-bottom: 1px solid var(--topic-border);
}
.topic-tabs label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 3.25rem;
  margin-bottom: -1px;
  padding: 0.35rem 0.2rem;
  border: 1px solid var(--line);
  border-bottom-color: var(--topic-border);
  border-radius: 0.5rem 0.5rem 0 0;
  color: var(--muted);
  background: var(--bg);
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.topic-tabs label:hover {
  color: var(--fg);
}
.topic-tabs .topic-position {
  display: none;
  margin-top: 0.2rem;
  color: var(--accent);
  font-size: 0.75rem;
}
.topic-guide main {
  max-width: none;
  margin: 0;
  border: 1px solid var(--topic-border);
  border-top: 0;
  border-radius: 0 0 0.6rem 0.6rem;
  background: var(--topic-surface);
}
.topic-panel {
  display: none;
  padding: 1.2rem clamp(1rem, 3vw, 2rem) 0.3rem;
  scroll-margin-top: 1rem;
}
.topic-heading {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}
.topic-panel > section {
  margin: 1rem 0 1.4rem;
}
.topic-panel > section:last-child {
  border-bottom: 0;
}
.topic-panel > section > h3 {
  font-size: 1.12rem;
}
.topic-takeaway {
  border-left: 3px solid var(--accent);
  padding: 0.7rem 1rem;
  background: #ffffff0a;
  font-weight: 600;
}
.topic-guide .structure-diagram {
  display: block;
  width: auto;
  max-width: min(100%, 720px);
  max-height: none;
  height: auto;
  margin: 0 auto;
}
.topic-guide .data-chart {
  min-width: 0;
  max-width: 100%;
}
.topic-guide .scroll {
  overflow: visible;
}
.topic-guide table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.topic-guide th,
.topic-guide td {
  overflow-wrap: anywhere;
}
.topic-guide .code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow: visible;
}
.topic-guide .file-tree {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow: visible;
}
.topic-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: min(0.8rem, 2vw);
  min-width: 0;
  margin: 0.9rem auto 1.6rem;
}
.topic-controls .topic-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--topic-border);
  border-radius: 0.5rem;
  background: var(--topic-surface);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.topic-controls .topic-arrow[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}
.topic-controls .topic-slider {
  width: min(12rem, 40vw);
  min-width: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.topic-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.source-catalog {
  max-width: 1120px;
  margin: 1rem auto;
}
.source-catalog > summary {
  cursor: pointer;
}
/* More than five topics use connected side tabs, avoiding an unreadable row. */
.topic-guide[data-sidebar="true"] {
  display: grid;
  grid-template-columns: minmax(0, min(13rem, 28%)) minmax(0, 1fr);
  align-items: stretch;
}
.topic-guide[data-sidebar="true"] .topic-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
  grid-column: 1;
  grid-row: 1;
  padding: 0;
  border: 0;
}
.topic-guide[data-sidebar="true"] .topic-tabs label {
  align-items: flex-start;
  width: calc(100% + 1px);
  min-height: 3rem;
  margin: 0;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line);
  border-right-color: var(--topic-border);
  border-radius: 0.5rem 0 0 0.5rem;
  text-align: left;
}
.topic-guide[data-sidebar="true"] main {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  border: 1px solid var(--topic-border);
  border-radius: 0 0.5rem 0.5rem 0.5rem;
}
.topic-guide[data-sidebar="true"] .topic-controls {
  grid-column: 1 / -1;
  grid-row: 2;
}
@media (max-width: 700px) {
  .topic-tabs {
    gap: 0.1rem;
    padding-inline: 0.1rem;
  }
  .topic-tabs label {
    padding-inline: 0.08rem;
    font-size: 0.85rem;
  }
  .topic-guide .scroll {
    overflow: visible;
  }
  .topic-guide table,
  .topic-guide tbody {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .topic-guide thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .topic-guide [data-kind="table"] thead {
    display: block;
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
  .topic-guide [data-kind="table"] thead tr {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.8rem;
  }
  .topic-guide [data-kind="table"] thead th {
    display: block;
    min-width: 0;
    padding: 0.35rem 0;
    border: 0;
    overflow-wrap: anywhere;
  }
  .topic-guide [data-kind="table"] [data-sort] {
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }
  .topic-guide tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line);
  }
  .topic-guide tbody th,
  .topic-guide tbody td {
    display: block;
    border: 0;
    padding: 0.2rem 0;
    overflow-wrap: anywhere;
  }
  .topic-guide td[data-label]::before {
    display: block;
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
  }
}
@media print {
  .topic-guide[data-sidebar="true"] {
    display: block;
  }
  .topic-panel {
    display: block !important;
  }
  .topic-controls {
    display: none;
  }
  .topic-guide main {
    border: 0;
    background: transparent;
  }
}
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall