All skills
yzlnew avatar

/anthropic-theme-flowchart

@b877dc5
by Ye Zhilingyzlnew/infra-skills147 stars
12

Create and revise pure HTML/CSS flowcharts using an Anthropic-inspired design language. Use when Codex needs to produce process diagrams, decision trees, pipelines, or system flows that should share warm ivory backgrounds, transparent dashed grouping containers, pastel node fills, SF Pro-style sans-serif labels, smaller rounded corners, quiet orthogonal connectors, and theme-tinted text hierarchy in standalone `.html` outputs.

  • 15 files
  • 78.1 KB
  • Updated 6 months ago
  • GitHub

Use this Skill: https://skilld.dev/gh/yzlnew/infra-skills/anthropic-theme-flowchart

This session only. Nothing lands on disk.

referenceshtml-flowchart.md

≈475 tokens on demand. Your agent reads this file only when SKILL.md points to it.

HTML/CSS Flowchart Guidance

Use HTML/CSS for every output in this skill.

When To Prefer HTML

  • The chart should match a grouped product diagram with dashed containers and pastel fills.
  • The output should feel more like a designed artifact than a generic diagram export.
  • The chart must adapt cleanly between desktop and mobile.
  • The user wants a browser-ready file or a PDF rendered from HTML.

Structure Options

  • Lane grid:
    • Best for phases, owners, or "foreground vs background" systems.
    • Use dashed rounded containers and 2-4 cards per lane.
    • Add a small number of explicit bridge arrows between lanes.
    • Prefer a fixed desktop grid with a dedicated bridge column when cross-lane connectors matter.
  • Hub and spoke:
    • Use sparingly and only when a central node is semantically correct.

Styling Rules

  • Use sans-serif for the whole diagram when the reference is a modern systems chart.
  • Background uses a warm ivory gradient or subtle neutral field.
  • Cards use 14px to 18px radius.
  • Border is soft, shadow is subtle, and each node role can use its own muted pastel fill.
  • Lane containers should use dashed borders and italic or light-emphasis headers.
  • Node copy should be split into two levels:
    • Heading in a near-black version of the node hue
    • Supporting line in a darker node-tinted color
  • Connector strokes should usually stay around 1.4px to 1.8px.
  • Arrowheads should be small and should terminate exactly on node edge anchors.

Interaction Rules

  • Animations should be minimal.
  • Respect prefers-reduced-motion.
  • Avoid hover-driven logic for essential meaning.

Output Pattern

  • Prefer a single self-contained HTML file with inline CSS.
  • Use inline SVG only when connectors need exact control.
  • For the most deterministic layout, put both connectors and node cards inside the same SVG coordinate system via foreignObject.

Source: SKILL.md on GitHub

No third-party reports yet.

Signed by skilld at b877dc5. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 6 months ago

README badge

README badge for yzlnew/infra-skills/anthropic-theme-flowchart