artifact-diagramming
Provides Artifact diagramming guidance, including when diagrams add value and how to build legible theme-aware inline SVG
Skill by mkusaka
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mkusaka-artifact-diagramming
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/artifact-diagramming
What's inside
- Skill name
artifact-diagramming- Description
- Provides Artifact diagramming guidance, including when diagrams add value and how to build legible theme-aware inline SVG
- License
- MIT
- Metadata
- ccVersion: 2.1.292 · sourceUrl: https://github.com/Piebald-AI/claude-code-system-prompts/blob/main/system-prompts/skill-artifact-diagramming.md · originalName: Skill: Artifact diagramming
- Instructions
- 30 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
--- name: artifact-diagramming description: Diagramming know-how for Artifacts - when a picture earns its place, how to draw one that shows the real mechanism, and the inline-SVG mechanics that keep it legible in both themes. --- Draw as the engineer who has to live with the decision, not as a decorator: a diagram earns its place when it lets a cold reader see a mechanism they would otherwise have to assemble from prose - where data flows, which components talk, what changes between two options, what state a request moves through. If a sentence says it faster, write the sentence. ## What to draw **Depict the mechanism, not its name.** A box labeled "cache" says less than the prose; the path a request takes through it, the two stores it sits between, and the arrow that disappears when the cache is removed say what the words can't. Show the parts that the argument hinges on - the boundary being crossed, the hop being added, the data that moves - and leave out the parts that don't. **Comparing options?** Draw the difference. Two architectures side by side, a before and an after, the one edge that each option adds or removes - the reader should be able to point at what they are choosing between. A separate labeled box per option, with nothing connecting them to the system, is not a comparison; it is a restated option list. **Match complexity to the stakes.** A one-hop question is a three-box diagram; a migration that reroutes writes through a queue needs the queue, the writer, the reader, and the ordering arrow. Draw as much as the decision actually turns on - no forced minimalism, no inventory of the whole system either. **Label the arrows.** An unlabeled arrow is "related somehow"; `writes`, `invalidates`, `polls every 30s` is information. A legend is only worth it when the same encoding (dashed, colored, doubled) repeats; otherwise put the meaning on the mark itself. ## Inline SVG mechanics These mechanics apply where the page renders inline SVG natively (HTML pages); a markdown-rendered page draws its diagrams in whatever fence that lane's renderer supports, and the skill that owns the lane says which. An artifact made from an Artifact type draws its diagrams the way the type's instructions, and the reference pages they name, say to; these mechanics apply there only where those say nothing about diagrams. Hand-author inline `<svg>` with native shapes (`rect`, `circle`, `line`, `polyline`, `path`) and `<text>` - no libraries, no runtime, no external images. - **Size by `viewBox`.** Set `viewBox="0 0 W H"` and let CSS scale it (`max-width: 100%; height: auto`); choose W and H for the content, not a preset. Wide flows read left-to-right; layered stacks read top-to-bottom. - **Theme with `currentColor`.** Strokes, text, and arrowheads in `currentColor` inherit the page's foreground in light and dark themes alike; reserve a literal hue for the one element that carries meaning (the option leaned toward, the hop under discussion), and make sure it reads on both grounds. - **Arrowheads are markers or polygons.** A `<defs><marker>` referenced by `marker-end="url(#arrow)"` (fragment-internal id) or a small `<polygon>` at the line's end - never an image. - **Keep text legible.** Roughly 11-13px at the drawn scale, `text-anchor` for alignment, short labels (a word or three); explanatory sentences belong in the caption below the figure, not in the drawing. - **Align to a grid.** Shared baselines and even gaps are most of what makes a hand diagram read as deliberate; eyeballed offsets read as noise. - **One figure, one claim.** Wrap the `<svg>` in `<figure>` with a `<figcaption>` that states what the picture shows, and give the `<svg>` `role="img"` plus an `aria-label` carrying the same claim for readers who cannot see it. - **Stay self-contained.** No `<script>`, `<style>`, or `<foreignObject>` inside the SVG; gradients, patterns, and `<use>` reference ids in the same fragment (`href="#id"`). Long decorative path data is a sign the drawing wants a real graphics tool - simplify instead.
From mkusaka/ccskills, MIT.
More from mkusaka/ccskills
- 0.624score
artifact-components
mkusaka
Catalogs reusable Artifact components and supplies the exact scripts, styles, tokens, markup contract, and composition limits for embedding interactive…
SkillAFreshness: A★ 8Claude Code +9 - 0.624score
code-review-inline-medium-high-template
mkusaka
Template for medium and high inline code-review prompts that run eight finder angles, deduplicate without verification, and enforce a minimum findings target
SkillAFreshness: A★ 8Claude Code +9 - 0.624score
code-review-inline-xhigh-mode
mkusaka
Extra-high inline /code-review prompt that runs ten finder angles, deduplicates without verification, sweeps for gaps, and returns up to fifteen findings
SkillAFreshness: A★ 8Claude Code +9 - 0.619score
claude-api-managed-agents-onboarding-source-tier
mkusaka
Closing section of the Claude API skill prompt for managed-agents-onboard requests that states whether the source is a bundled quickstart, a first-party URL…
SkillAFreshness: A★ 8Claude Code +9 - 0.584score
artifact-explainer
mkusaka
Instructions for creating explainer artifacts with numbered-step or section walkthrough structures from the built-in template
SkillBFreshness: B★ 8Claude Code +9 - 0.584score
artifact-data-table
mkusaka
Skill instructions for creating interactive data-table artifacts with sortable, filterable tabular data, safe JSON embedding, theming, and…
SkillBFreshness: B★ 8Claude Code +9 - 0.584score
artifact-document
mkusaka
Skill instructions for creating live editable document artifacts with structured prose, status metadata, commenting, and template-preservation requirements
SkillBFreshness: B★ 8Claude Code +9 - 0.584score
artifact-report
mkusaka
Instructions for creating long-form report artifacts with a masthead, table of contents, structured sections, and optional appendix from the built-in template
SkillBFreshness: B★ 8Claude Code +9 - 0.580score
claude-code-configuration-guide
mkusaka
Skill instructions for answering Claude Code configuration questions by checking the running build, bundled references, and current documentation
SkillBFreshness: B★ 8Claude Code +9 - 0.580score
claude-test-sign-in
mkusaka
Claude Test skill that signs the site's dedicated test member in before a run and saves the browser session, so specs needing an account start signed in
SkillBFreshness: B★ 8Claude Code +9 - 0.579score
claude-guide-unavailable-reference-fallback
mkusaka
Provides the Claude guide skill with an embedded live-sources reference and fallback instructions when its reference files cannot be written to disk
SkillBFreshness: B★ 8Claude Code +9 - 0.550score
artifact-pr-review-description-composed-publish-flow
mkusaka
Trigger description for the composed PR review briefing Artifact flow with republish-only updates
SkillBFreshness: B★ 8Claude Code +9
Signals
- Stars
- 8
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Oct 7, 2026 (22 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/mkusaka/ccskills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mkusaka
- 0.624score
code-review-inline-medium-high-template
mkusaka
Template for medium and high inline code-review prompts that run eight finder angles, deduplicate without verification, and enforce a minimum findings target
SkillAFreshness: A★ 8Claude Code +9 - 0.624score
artifact-components
mkusaka
Catalogs reusable Artifact components and supplies the exact scripts, styles, tokens, markup contract, and composition limits for embedding interactive…
SkillAFreshness: A★ 8Claude Code +9 - 0.624score
code-review-inline-xhigh-mode
mkusaka
Extra-high inline /code-review prompt that runs ten finder angles, deduplicates without verification, sweeps for gaps, and returns up to fifteen findings
SkillAFreshness: A★ 8Claude Code +9 - 0.619score
claude-api-managed-agents-onboarding-source-tier
mkusaka
Closing section of the Claude API skill prompt for managed-agents-onboard requests that states whether the source is a bundled quickstart, a first-party URL…
SkillAFreshness: A★ 8Claude Code +9 - 0.584score
artifact-document
mkusaka
Skill instructions for creating live editable document artifacts with structured prose, status metadata, commenting, and template-preservation requirements
SkillBFreshness: B★ 8Claude Code +9 - 0.584score
artifact-data-table
mkusaka
Skill instructions for creating interactive data-table artifacts with sortable, filterable tabular data, safe JSON embedding, theming, and…
SkillBFreshness: B★ 8Claude Code +9
Cite this page
artifact-diagramming skill. Agent Mart. https://agentmart.dev/skills/mkusaka-artifact-diagramming (last updated 2026-10-24)