Illustrations SVG abstraites pour Positron IDE

VérifiéSûr

Créez des illustrations SVG abstraites et cohérentes pour la documentation, les tutoriels et les aperçus de fonctionnalités de l'IDE Positron.

Spar Skills Guide Bot
ContenuIntermédiaire
22/07/2026
Claude Code
#svg#illustration#positron#ui-graphics#docs-assets

Recommandé pour

Synthèse automatique

Crée ou met à jour des illustrations SVG abstraites et cohérentes pour l'IDE Positron, destinées à la documentation, aux parcours d'accueil et aux aperçus de fonctionnalités.

Points forts

  • Fournit des contraintes claires pour des SVG autonomes, sans CSS externe ni JavaScript.
  • Propose une palette testée et des conventions de composants réutilisables pour garder un style homogène.
  • Rappelle les règles de taille, de superposition et d'icônes adaptées aux petites images de parcours guidé.

Limites

  • Les exemples fournis portent surtout sur les notebooks et ne couvrent pas encore toutes les surfaces de Positron.
  • Le rendu est pensé d'abord pour un fond clair ; la prise en charge du thème sombre reste optionnelle.
  • Créer un composant pour une surface non couverte nécessite une capture d'écran de référence et une composition manuelle.
Quand l'utiliser

À utiliser lorsqu'il faut produire ou harmoniser une image SVG abstraite représentant l'interface de Positron pour la documentation, un parcours guidé ou l'accueil.

Quand l'éviter

À éviter pour des captures d'écran fidèles, des illustrations détaillées ou des visuels sans lien avec l'IDE Positron.

Analyse de sécurité

Sûr
Score qualité84/100

This is a purely authoring-focused skill: it gives design guidance (palette, constraints, codicon references) for producing static SVG illustrations of the Positron IDE. It declares no tools, contains no shell commands, network calls, credential handling, obfuscated payloads, or instructions to disable safety mechanisms. The only file references are benign, read-only pointers (codicon SVG sources under node_modules, a bundled seti.woff font). Language is explicit that output must be static SVG with no JavaScript, which further constrains risk.

Aucun point d'attention détecté

Comment cette analyse est faite

Exemples

Notebook walkthrough image
Make an SVG for the Positron walkthrough showing the notebook feature, matching the other walkthrough images.
Update hero image
Update the hero image for the Positron docs so it looks consistent with the existing Positron SVGs.
Data explorer docs image
Create a docs image for the Positron data explorer using the same abstract style and palette as the existing walkthrough images.

name: positron-abstract-svg disable-model-invocation: true description: > Create or update abstract SVG illustrations for the Positron IDE -- for use in documentation, walkthrough steps, onboarding images, and feature previews. Use this skill whenever someone asks to make, update, or redesign an SVG image for Positron docs, walkthroughs, or any visual asset representing the Positron IDE UI. Also use it when asked to make images "consistent" with existing Positron walkthrough images, or to add a new image to match an existing set. Trigger on: "make an SVG for the walkthrough", "create an abstract image for the notebook feature", "update the hero image", "make it look like the other Positron SVGs", "add a docs image for X feature".

Positron Abstract SVG Skill

This skill helps you create clean, on-brand abstract SVG illustrations of the Positron IDE for documentation, walkthroughs, onboarding, and feature previews.

It applies to any part of the Positron IDE -- editor, notebooks, data explorer, console, plots, variables pane, terminal, AI assistant, and so on. The bundled examples and component patterns happen to focus on notebooks (that is what has been built so far), so treat them as a starting library rather than the full scope: the constraints, palette, fonts, layering rules, and icon conventions generalize to any surface. For a surface not yet covered, work from a screenshot and compose new components from the same primitives in the same style.

Critical Constraints

These are static SVGs rendered as plain images (e.g. <img src="...">) in many different contexts -- documentation sites, in-app walkthroughs, READMEs, etc. They cannot rely on the host page's styles or scripts. This means:

  • No external CSS / CSS variables -- references like var(--some-token) will NOT resolve. All colors must be self-contained (hardcoded hex values, or an inline <style> block within the SVG itself).
  • No JavaScript -- static SVG only.
  • Assume a light background by default -- the palette and examples target a light context. Supporting both light and dark themes is a nice-to-have, not a requirement (see below); reach for it when the SVG will appear on surfaces of both kinds.
  • Sizing: walkthrough images are commonly width="520" height="260", but pick a size and aspect ratio that suits the surface you are depicting and where the image will appear.

For a light-only image, start with an opaque white background rect:

<rect width="520" height="260" fill="#FFFFFF"/>

To support light and dark, omit the opaque background and either use colors that read on both, or adapt with an inline <style> block inside the SVG (a @media (prefers-color-scheme: dark) rule honored when the SVG carries its own styles). Keep it simple and always preview on both backgrounds.

Color Palette

These images exist to communicate complex UI simply. Clarity comes first -- a color that helps the eye parse the layout is worth using even if it isn't an exact Positron theme color. Matching the Positron theme is a nice-to-have, not a requirement; reach for whatever reads clearly at small sizes.

The palette below is a tested starting point. #447099 is the Positron brand blue; reserve it for the focal point. Treat the grays as a coherent set rather than precise values to match.

| Color | Hex | Use | |-------|-----|-----| | Positron blue | #447099 | Active tab underline, active cell border, Python dropdown border, focal-point highlights only -- use sparingly | | Running kernel green | #3DAA6E | Session status dot in kernel/Python dropdown | | Icon gray | #5A5A5A | All toolbar and action bar icons | | Line number blue | #8DA5B8 | Code cell line numbers | | Code placeholder | #C8C8C8 | Gray rects representing code lines | | Output placeholder | #D0D0D0 | X-axis tick labels and secondary placeholder rects | | Panel header bg | #F4F4F4 | Panel headers (Variables, Posit Assistant) | | Toolbar bg | #FAFAFA | Notebook toolbar background | | Tab bar bg | #F2F2F2 | Inactive tab area | | Active tab bg | #FFFFFF | Active file tab | | Cell separator | #EEEEEE | Line between code area and output area in cells | | Panel separator | #E0E0E0 | Vertical dividers between panels; toolbar bottom border | | Inactive cell bg | #F8F8F8 | Gray background of code area inside cells | | Highlighted row | #EEF3F8 | Selected/highlighted row in variables pane | | Syntax: variable | #447099 | Variable names in code (blue) | | Syntax: number/value | #098658 | Numbers and values in code (green) | | Syntax: function | #C75C5C | Function names like print (red) | | Syntax: string | #B07020 | String literals (orange-brown) | | Header text | #3E4246 | Panel header labels | | Body text | #333333 | Tab labels and readable text | | Muted text | #8A8A8A | Execution count [n], secondary labels |

Gathering Input Before You Start

The more context you have about the actual UI, the better the abstract image will be. Ask the user for:

  • A screenshot of the actual Positron UI being depicted -- this shows exact proportions, which elements are present, and what the focal point should be. If no screenshot is available, describe what you plan to show and confirm with the user.
  • Codicon names for any toolbar or action bar icons -- e.g., notebook-execute, debug-alt-small, run-above. Use the ready-made paths in references/codicons.md; these are the curated, consistent set the existing walkthrough images already use. For an icon not listed there, copy the d= from node_modules/@vscode/codicons/src/icons/<name>.svg, then simplify it to match the flat style of the existing set (upstream codicons have evolved, so a fresh pull may not match visually).
  • File type icons -- Positron uses the Seti UI file icon theme. Locally it ships only as a font (extensions/theme-seti/icons/seti.woff), so there is no per-file SVG to extract from the repo. To show a tab file icon (.ipynb, .R, .py, .csv, etc.), fetch the source SVG from the icons/ folder of that repo (an external network call) and inline it, or hand-draw a simple file glyph. NOTE: this seti-icon approach is currently untested in practice -- verify the result in a preview and keep the glyph simple.

Workflow

  1. Gather input -- screenshot of the UI, icon names, file types (see above).
  2. Plan the layout -- decide what panels/components to show and their proportions.
  3. Sketch in SVG -- write the SVG, starting with background elements, then building up layers.
  4. Preview -- always render a preview before saving to file; this catches layout issues early. In Claude Desktop, use the show_widget tool -- it renders the SVG inline and is the fastest way to iterate. In other environments (CLI, etc.), show_widget is unavailable, so preview by writing the SVG to a temp file and opening it in a browser or image viewer.
  5. Iterate -- adjust based on the preview, re-render, repeat until it looks right.
  6. Save -- write the final SVG to the correct path in the repository. If you previewed via a renderer (e.g. show_widget in Claude Desktop), strip any cruft it injected before saving: per-element style="fill:rgb(...);..." attributes (the fill="#hex" attribute already carries the color) and any Anthropic Sans / renderer-specific font names. Ship clean SVG with only the font stacks listed below.

SVG Layering (Z-order)

SVG renders elements in document order -- later elements appear on top. The general rule: draw containers before their contents, and floating/overlay elements last. For example:

  • Draw a container's border and background before the content inside it (a cell, panel, dialog, etc.).
  • Draw floating toolbars and overlays after their parent so they sit on top (e.g. a cell action bar).
  • Draw separator/divider lines early so later content overlaps them cleanly.

Fonts

  • UI labels, tab names, panel headers: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif
  • Code and line numbers: 'Consolas', 'SF Mono', 'Menlo', monospace

Code Representation

Never write real readable text (code, labels, descriptions) in these illustrations unless the content is the focal point of the image. Use placeholder gray rects for any body text instead:

<!-- Good: placeholder code lines -->
<rect x="58" y="90" width="200" height="4" rx="2" fill="#C8C8C8"/>
<rect x="58" y="102" width="80" height="4" rx="2" fill="#C8C8C8"/>
<rect x="58" y="114" width="120" height="4" rx="2" fill="#C8C8C8"/>

When a specific piece of code IS the point (e.g., showing syntax highlighting for a kernel selector image), use <tspan> elements inside a <text> element for multi-color syntax:

<text x="58" y="86" font-family="'Consolas', 'SF Mono', 'Menlo', monospace" font-size="10.5">
  <tspan fill="#447099">x</tspan><tspan fill="#5A5A5A"> = </tspan><tspan fill="#098658">10</tspan>
</text>

Toolbar Icons (Codicons)

All toolbar icons use codicon SVG paths scaled to fit inside a 16x16 coordinate space. See references/codicons.md for the curated, ready-to-use icon paths.

Usage pattern -- scale icons to 16px at translate(x, y):

<g transform="translate(10, 37)" fill="#5A5A5A">
  <path d="...codicon path..."/>
</g>

For smaller contexts (cell action bar at ~11px), scale down:

<g transform="translate(35, 68) scale(0.7)" fill="#5A5A5A">
  <path d="...codicon path..."/>
</g>

Component Patterns

See references/patterns.md for copy-pasteable SVG snippets. The current set is notebook-focused (it covers what has been built so far). For other Positron surfaces, reuse the general primitives below -- tab bars, panels, toolbars, icons, placeholder text, separators -- and compose new components in the same style. Available snippets:

  • Tab bar with active file tab
  • Notebook toolbar (Run All, Clear All, + Code, + Markdown, Refresh, Python dropdown)
  • Code cell (inactive / active / combined code+output)
  • Cell action bar (floating toolbar above cell)
  • Execution count [n]
  • Vertical panel separator
  • Variables pane header + rows
  • Posit Assistant chat panel
  • Context chip (file attachment pill)
  • Bar chart output

Tips

General (apply to any surface):

  • Blue is a focal-point color -- don't use #447099 everywhere. Reserve it for the one element that should draw the eye (the active/selected item, a key highlight).
  • Anchor distinct regions with a gray header (#F4F4F4) -- it keeps panels (Variables, Posit Assistant, any sidebar) visually separate.
  • Build glyphs from primitives, not font symbols -- e.g. a close (x) is two crossing <line> elements, not an SVG symbol.
  • Output/content areas are white (fill="#FFFFFF"), reserved for rendered results; gray backgrounds read as editors/inputs.

Notebook-specific (examples of applying the above):

  • Consistent cell padding: line numbers at text-anchor="end" positioned 20px from the cell's left edge; code content 26px from the left edge.
  • Code/output separator lines inside a cell: #EEEEEE, 1px.

Reference Images

The canonical style references live in references/examples/ next to this skill. They were produced with this skill and are the ground truth for palette, spacing, and conventions -- open them and match their style:

  • notebook-hero-abstract.svg -- full-width notebook, floating cell action bar, large bar chart output
  • notebook-editor-abstract.svg -- editor + variables pane, Python dropdown focal point
  • notebook-ai-context-abstract.svg -- split Posit Assistant / notebook view
  • kernel-selector-abstract.svg -- kernel dropdown menu open (note the 400x210 canvas)

Caveat: some *-abstract.svg files in the repo's walkthrough media folder (src/vs/workbench/contrib/welcomeGettingStarted/common/media/, e.g. data-explorer-abstract.svg) were NOT created with this skill. Do not treat those as style references -- their palette and conventions differ. Use the bundled references/examples/ set instead.

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/abstract-svg-illustrations-for-positron-ide-mrwak93n/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/abstract-svg-illustrations-for-positron-ide-mrwak93n' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/abstract-svg-illustrations-for-positron-ide-mrwak93n/download' --output '.skill-downloads/abstract-svg-illustrations-for-positron-ide-mrwak93n/SKILL.md.part' && mv '.skill-downloads/abstract-svg-illustrations-for-positron-ide-mrwak93n/SKILL.md.part' '.skill-downloads/abstract-svg-illustrations-for-positron-ide-mrwak93n/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/abstract-svg-illustrations-for-positron-ide-mrwak93n/SKILL.md' && test -s '.skill-downloads/abstract-svg-illustrations-for-positron-ide-mrwak93n/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/positron-abstract-svg' && cp -R '.skill-downloads/abstract-svg-illustrations-for-positron-ide-mrwak93n' '.claude/skills/positron-abstract-svg'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/abstract-svg-illustrations-for-positron-ide-mrwak93n'

openskills read 'abstract-svg-illustrations-for-positron-ide-mrwak93n'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/abstract-svg-illustrations-for-positron-ide-mrwak93n/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires