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

scripts/lib/templates.mjs

View on GitHub
// SPDX-License-Identifier: Apache-2.0
export const templates = Object.freeze({
  overview: {
    label: "Überblick",
    question: "Was muss ich jetzt wissen?",
    goal: "lookup",
    outline: ["Kernaussage", "Wichtige Punkte", "Nächster Schritt"],
    visuals: ["metrics", "diagram", "bullets"],
  },
  comparison: {
    label: "Vergleich / Entscheidung",
    question: "Welche Option passt unter welchen Bedingungen?",
    goal: "decide",
    outline: ["Empfehlung", "Gemeinsame Kriterien", "Tradeoffs", "Entscheidung"],
    visuals: ["comparison", "chart:before-after", "chart:actual-target"],
    required: ["Optionen", "Kriterien und Richtung", "Entscheidende Einschränkungen"],
  },
  research: {
    label: "Recherche",
    question: "Was ist belegt und was bleibt offen?",
    goal: "understand",
    outline: ["Ergebnis", "Belege", "Widersprüche und Lücken", "Nächste Prüfung"],
    visuals: ["table", "comparison", "diagram"],
    required: ["Primärquellen", "Quellenstand", "Evidenzzustand"],
  },
  explanation: {
    label: "Erklärung",
    question: "Wie hängt das zusammen?",
    goal: "understand",
    outline: ["Kernidee", "Zusammenhänge", "Beispiel", "Grenzen"],
    visuals: ["diagram", "steps", "chart:line"],
    required: ["Begriffe", "Beziehungen", "Beispielstatus"],
  },
  plan: {
    label: "Plan / Roadmap",
    question: "Was geschieht wann und mit welchen Abhängigkeiten?",
    goal: "execute",
    outline: ["Ziel", "Etappen", "Abhängigkeiten", "Abnahme"],
    visuals: ["timeline", "steps", "diagram"],
    required: ["Verantwortliche", "Termine oder unbekannt", "Erfolgskriterien"],
  },
  status: {
    label: "Status",
    question: "Wo stehen wir gegenüber dem Ziel?",
    goal: "lookup",
    outline: ["Stand", "Zielabgleich", "Hindernisse", "Nächste Aktion"],
    visuals: ["metrics", "chart:actual-target", "statusHistory"],
    required: ["Beobachtungszeitraum", "Ziel", "Datenlücken"],
  },
  review: {
    label: "Review / Änderungen",
    question: "Was hat sich geändert und welche Folgen hat es?",
    goal: "decide",
    outline: ["Ergebnis", "Änderungen", "Risiken", "Verifikation"],
    visuals: ["diff", "chart:before-after", "fileTree"],
    required: ["Basisstand", "Neuer Stand", "Geprüft und ungeprüft"],
  },
  diagnosis: {
    label: "Diagnose / Störung",
    question: "Was erklärt die Beobachtung und was prüfen wir als Nächstes?",
    goal: "execute",
    outline: ["Auswirkung", "Beobachtungen", "Hypothesen", "Nächste Prüfung"],
    visuals: ["statusHistory", "timeline", "diagram"],
    required: ["Symptom", "Zeitbezug", "Hypothese versus Nachweis", "Rückfallweg"],
  },
});
export const profiles = Object.freeze({
  software: {
    label: "Software / Produkte",
    required: ["Zielgruppe", "Anwendungsfall", "Version", "Einschränkungen"],
    visuals: ["comparison", "figure", "chart:before-after"],
  },
  architecture: {
    label: "Architektur",
    required: ["Systemgrenzen", "Verantwortung", "Datenfluss", "Alternativen"],
    visuals: ["diagram", "comparison"],
  },
  code: {
    label: "Codeänderungen",
    required: ["Basis und Ziel", "Betroffene Dateien", "Verhalten", "Testnachweise"],
    visuals: ["diff", "fileTree", "diagram"],
  },
  operations: {
    label: "Betrieb / Fehler",
    required: ["Zeitraum", "Auswirkung", "Beobachtung", "Wiederherstellung"],
    visuals: ["statusHistory", "timeline", "chart:line"],
  },
  capacity: {
    label: "Kosten / Kapazität",
    required: ["Einheit", "Zeitraum", "Annahmen", "Grenze"],
    visuals: ["chart:waterfall", "chart:actual-target", "chart:stacked-bar"],
  },
});
export function starter({ type = "overview", profile = "software", id = "report" } = {}) {
  if (!Object.hasOwn(templates, type) || !Object.hasOwn(profiles, profile))
    throw new TypeError("Unknown template or profile; use --templates");
  const template = templates[type],
    domain = profiles[profile];
  return {
    schemaVersion: 2,
    id,
    title: `${template.label} · ${domain.label}`,
    takeaway: "Entwurf: Kernaussage nach Prüfung der Quellen ergänzen.",
    goal: template.goal,
    reportType: type,
    domainProfile: profile,
    style: "current",
    presentation: "topics",
    nextAction: "Offene Angaben mit den vorhandenen Quellen klären.",
    criticalCaveats: ["Unbefülltes Startermodell; keine Tatsachen oder Messwerte."],
    sources: [],
    sections: template.outline.map((label, i) => ({
      id: `section-${i + 1}`,
      title: label,
      kind: "bullets",
      sourceIds: [],
      caveats: [],
      data: {
        items:
          i === 0
            ? [template.question]
            : [`Offen: ${[...(template.required ?? []), ...domain.required][i - 1] ?? label}`],
      },
    })),
  };
}
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