positron-stylized-svg
Create or revise minimal, stylized SVG illustrations that accurately represent the Positron UI for documentation, tutorials, walkthroughs, onboarding, and…
от posit-dev★ 4 361 звезда на GitHub
Установить positron-stylized-svg в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Positron Stylized SVG
Create a recognizable visual landmark, not a miniature screenshot. Preserve the real UI's hierarchy, placement, distinctive controls, icon direction, and selected state while removing detail that does not help the feature being explained.
Evidence before drawing
The user's requested direction, constraints, and intentional deviations always win. Evidence fills in unspecified product details; it must not pull the work back toward an older image or the current UI when the user explicitly wants a different treatment.
For details the user has not intentionally changed, accuracy outranks convention. Build a small scene specification from the best available evidence, in this order:
- A current screenshot supplied by the user.
- Positron layout descriptors, contributions, menus, component source, and theme files in this checkout.
- Reviewed SVGs committed under
src/vs/workbench/contrib/welcomeGettingStarted/common/media/. - The visual conventions in references/style.md.
- Clearly identified inference.
Read references/evidence.md when the scene includes workbench panes, unfamiliar controls, file icons, or any detail whose location or glyph is uncertain. Do not ask the user for routine facts that can be verified in the checkout. Ask for a screenshot or clarification only when different plausible states would materially change the illustration.
Before writing SVG, record a concise scene specification in working notes:
- delivery dimensions and expected display width;
- ordered regions and approximate proportions;
- the single focal feature;
- each distinctive object's parent region and the evidence for that ownership;
- exact labels that must remain readable;
- exact icons and selected/expanded states;
- details intentionally replaced by placeholders or omitted;
- evidence used for uncertain details.
A screenshot is preferred when the illustration must match a particular workspace state, transient UI, or recent design. It is not routinely required. When no screenshot is supplied, derive the scene from the checkout and state material uncertainty. Never invent product content merely to balance the composition.
Choose the canvas
Inspect the destination before choosing dimensions. If the destination does not impose a size, use these defaults:
520×260for a full workbench, editor-plus-pane, or ordinary landscape walkthrough illustration. This is the standard default for the reviewed Positron abstract set.- Approximately
400×210for a tightly focused control, dropdown, or compact interaction where a full workbench would create empty filler. - Choose another canvas only when the destination, neighboring asset set, or content hierarchy clearly calls for it. Preserve a simple aspect ratio and explain the choice in the scene specification.
Canvas size is not display size. Positron's built-in markdown walkthrough images are commonly displayed at 400px wide, so render and inspect the SVG at 400px even when its coordinate canvas is 520px wide. Read the sizing section in references/style.md before using a non-default canvas.
Drawing contract
- Produce static, self-contained SVG: no JavaScript, external CSS, remote resources, unresolved CSS variables, or renderer-specific fonts.
- Make
width,height, andviewBoxdescribe the same canvas unless the user explicitly needs different intrinsic and coordinate dimensions. - Use real codicons for recognizable actions and all activity-bar icons. Never substitute arbitrary geometric blobs for navigation or action icons.
- Use readable text only for landmarks and content essential to the lesson. Represent incidental text and code with quiet placeholder bars.
- Every distinctive object must belong to a verified product region. Record the
owner in the scene specification and group it with
data-owner="<region>"where practical. If ownership cannot be verified, omit the object rather than placing it where it looks compositionally useful. - Mark each incidental placeholder bar with
data-role="placeholder"so the validator can measure density. Aim for 2–5 bars per visible content region and no more than 28 on a typical 520×260 canvas. Empty space is preferable to decorative placeholder copy. - Keep tabs/actions anchored to their real edges and groups. Empty flex space belongs between groups, not around controls.
- Preserve icon orientation and state. A generic icon with the wrong direction is less accurate than omitting the control.
- Use
#3A78B1for actual Positron chrome and selected-state indicators. Reserve#447099for illustration content such as plot marks or an intentionally emphasized object. - Use one focal emphasis. Large saturated regions are allowed only where they exist in Positron, notably the activity bar.
- Draw backgrounds and containers first, their content next, then floating controls and
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/evidence.md
- references/style.md
- scripts/extract_icon.py
- scripts/test_validate_svg.py
- scripts/validate_svg.py
FAQ
Что делает скилл positron-stylized-svg?
Create or revise minimal, stylized SVG illustrations that accurately represent the Positron UI for documentation, tutorials, walkthroughs, onboarding, and feature previews. Use when an SVG should resemble Positron or match its walkthrough illustration style; do not use for diagrams that are not representations of the product UI.
Как установить скилл positron-stylized-svg?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл positron-stylized-svg запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies 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…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…