design-philosophy

A shared way to reason about VS Code’s visual design using values, principles, and reusable design decisions instead of isolated pixel measurements.

In plain words
What is it for?
It supports designing, building, reviewing, and discussing UI choices such as spacing, corners, typography, icons, color, elevation, and motion.
Why use it?
It helps turn vague feedback such as “this feels wrong” into design rules that can be applied consistently.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/microsoft/vscode/design-philosophy
Any agent
npx skills add microsoft/vscode --skill design-philosophy
Clone the repo
git clone --depth 1 https://github.com/microsoft/vscode

Made for: Claude Code, Codex.

Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,375 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00086 $0.06375
Opus 5 $0.00043 $0.03188
Sonnet 5 $0.00017 $0.01275
Haiku 4.5 $0.00009 $0.00637

Measured 3d ago against content hash 3ba0cac231a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

design-philosophy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/design-philosophy/SKILL.md · 481 lines

How it starts

The opening of the file, as written. The whole thing — 481 lines — stays where its author put it; the contents beside it link to each section on GitHub.

VS Code Design Philosophy

This skill is the canonical VS Code design philosophy — the single source of truth for how we reason about UI, for both developers and agents.

As more and more of the UI is implemented via agents and tooling, the pixels increasingly take care of themselves, and the scarce, human part becomes the design judgment behind them.

This is about shifting left - talking about UI in design terms, not pixels, and having that conversation early. When something looks off, "this is 8px, should be 6px" fixes one number; "this surface is rounded at the wrong elevation tier" names the rule, so the fix lands everywhere and we catch it on a mockup or screenshot rather than in code review. The aim is to agree on what the UI should be and why, in language a designer and an engineer can share - the implementation (which token, which file) tends to follow once the design is settled.


How to read this: three layers

The hardest part of any design language is getting from "this feels off" to a clear, shared fix everyone agrees on. This bridges that in three steps, each explaining the one below it:

Layer What it is Example
Values what we want people to feel, and why it's at stake Focused
Principles evaluative rules you can hold a design up against, phrased as a question "One thing leads; the rest supports" - where does the eye go first?
Moves the concrete mechanics, each with a rule for which one and why demote the secondary panel to a recessed background token / a quieter type role

Read top-down when you're learning the system, and bottom-up when you're fixing a bug: name the feeling, find the principle it breaks, then reach for the move that restores it.

Worked example - a busy panel

  • See: a panel feels busy and keeps pulling your eye off the editor.
  • Feeling: not Calm, not Focused.
  • Principle: breaks Quiet at rest (it carries a permanent fill it shouldn't) and One thing leads (secondary chrome competing with the editor).
  • Move: drop the panel to a recessed/transparent background token, reveal its border only on hover, and demote its labels to a quieter type role.

Read the full file on GitHub · 481 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 481 lines · 86 tokens per session scan A 3ba0cac231a7

Subscribe to this mod's changes

design-philosophy is a skill published in the GitHub repository microsoft/vscode (190,384 stars, last pushed yesterday), licensed MIT. It adds 86 tokens to every session and 6,375 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories