[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699A96QRXHA1B7WCWVQSZ19":3,"skill-same:01M699A96QRXHA1B7WCWVQSZ19":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":61,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":64,"updatedAt":65,"install":66,"resources":79},"01M699A96QRXHA1B7WCWVQSZ19","design-philosophy","界面设计哲学与评审","The VS Code design philosophy — a shared Values→Principles→Moves vocabulary for reasoning about UI in design terms instead of raw pixels. Use when designing, building, reviewing, or giving feedback on any visual surface; when deciding a radius, spacing, type role, icon size, border, color, or motion; or when translating a \"this feels off\" observation into a concrete, principled fix.","VS Code 设计哲学——一套共享的「价值观→原则→具体做法」术语体系，用设计语言而非原始像素来推理 UI。在设计、构建、评审任何视觉界面或给出反馈时使用；在决定圆角、间距、字体角色、图标尺寸、边框、颜色或动效时使用；或将「感觉不对劲」的观察转化为具体、有原则的修复方案时使用。","microsoft\u002Fvscode","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M6998NK2WED5M549DX06VBCH",195369,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fdesign-philosophy\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TKC3WYCB32755485KS6","视觉设计","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TQMKHSMFVQHR2KYAEVN","界面设计师","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"design philosophy","philosophy","design","size","type","visual","icon","use","motion","for","feedback","color","radius","ui","spacing","code","when","code design","fix","shared","2026-11-10 10:12:30",false,"---\nname: design-philosophy\ndescription: The VS Code design philosophy — a shared Values→Principles→Moves vocabulary for reasoning about UI in design terms instead of raw pixels. Use when designing, building, reviewing, or giving feedback on any visual surface; when deciding a radius, spacing, type role, icon size, border, color, or motion; or when translating a \"this feels off\" observation into a concrete, principled fix.\n---\n\n# VS Code Design Philosophy\n\nThis skill is the **canonical VS Code design philosophy** — the single source of truth for how we reason about UI, for both developers and agents.\n\nAs 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.\n\nThis 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.\n\n---\n\n## How to read this: three layers\n\nThe 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:\n\n| Layer | What it is | Example |\n|-------|------------|---------|\n| **Values** | what we want people to *feel*, and why it's at stake | *Focused* |\n| **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?* |\n| **Moves** | the concrete mechanics, each with a rule for *which one and why* | *demote the secondary panel to a recessed background token \u002F a quieter type role* |\n\nRead 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.\n\n> **Worked example - a busy panel**\n>\n> - **See:** a panel feels busy and keeps pulling your eye off the editor.\n> - **Feeling:** not *Calm*, not *Focused*.\n> - **Principle:** breaks *Quiet at rest* (it carries a permanent fill it shouldn't) and *One thing leads* (secondary chrome competing with the editor).\n> - **Move:** drop the panel to a recessed\u002Ftransparent background token, reveal its border only on hover, and demote its labels to a quieter type role.\n\n---\n\n## The values: what we design for\n\nThese four values name what we want people to *feel* using VS Code - they're the top layer, the thing every principle and move below is ultimately in service of. Learn them and you can describe almost any bug. Each is a *feeling* the UI should give; each is upheld by one or more **principles** below. Reach for the value first, the principle second, the move last.\n\n| Value | Means | When it's broken it feels… | Principles |\n|------|-------|----------------------------|------------|\n| **Calm** | quiet at rest, uncluttered; room to breathe; soft, not sharp; plain-spoken and human | busy, noisy, cramped, jagged, cryptic, shouty | 1, 2, 3 |\n| **Focused** | clear hierarchy; one thing leads, the rest supports | flat, samey, the eye has nowhere to go | 4, 5 |\n| **Consistent** | everything sits on the same ramps and tiers | random, off-grid, drifting | 5, 6 |\n| **Delightful** | small moments that *do a job* - guide, confirm, orient | lifeless, abrupt, or gimmicky | 7 |\n\n> Say *\"this feels noisy, it's not **Calm**\"* before *\"the background should be transparent.\"* The value points everyone at the same principle.\n\n### Why these four?\n\nIt's fair to ask: who would ever *want* a UI that isn't calm, focused, consistent, and delightful? That's exactly the point. These aren't differentiators we're claiming over other products - they're the qualities most **under threat in a tool like ours**, and naming them is how we defend them. We chose them because they're the values VS Code is structurally inclined to *lose*:\n\n- **Calm** is the first casualty of an IDE. VS Code is information-dense and lived in for hours; every feature team has a good reason to add one more affordance, and the sum is noise. Calm is the value that pushes back on our own gravity.\n- **Focused** matters because our surfaces are *deep*. A screen full of equally-weighted, equally-valid controls is the default failure mode of a power tool. Naming focus forces us to decide what leads.\n- **Consistent** has the largest surface area to defend. VS Code is built by many hands over many years; drift is the natural state. Consistency is less an aspiration than a maintenance discipline.\n- **Delightful** is the one we deliberately **ration**. It earns its place only by doing a job (Principle 7). We name it not to add more polish but to keep it honest, so delight guides and confirms rather than decorates.\n\nAnd each value names a real **tension**, not a free win - which is what makes it a choice worth stating rather than a platitude:\n\n- **Calm** trades against **density** - how much do we surface at rest?\n- **Focused** trades against **equal access** - what do we demote so one thing can lead?\n- **Consistent** trades against the **genuinely special case** - when is a difference earned rather than drift?\n- **Delightful** trades against **restraint** - when does a flourish cross into noise?\n\nSo the useful question isn't *\"would we ever not want these?\"* but *\"which one is this surface trading away, and did we mean to?\"* When a value really must yield - say, a critical warning that *should* break calm to seize attention - that's a deliberate, named exception, not a reason to drop the value.\n\n---\n\n## Principles\n\nPrinciples are **evaluative**: each one is a question you can ask of any surface, and the answer tells you whether the design is right - independent of any pixel value. They're grouped by the value they uphold.\n\n---\n\n### Calm\n\n#### 1. Quiet at rest, present on intent\n\n> **Ask:** *is anything shouting when nothing is happening?*\n\nChrome should recede until you engage it. A surface carrying a permanent fill, border, or focus ring it hasn't earned is competing with the user's content for attention it doesn't need. The modern look is **restrained**: things reveal themselves *on intent* - hover, focus, interaction - and sit quietly otherwise.\n\nQuiet is not hidden. A control can recede without becoming a guessing game: you should still be able to find it, reach it, and see where keyboard focus has landed. Judge calm by how the surface feels to use, not just how little it draws.\n\nWhen this is wrong it sounds like *\"this is loud at rest \u002F should be quiet until hover\"* or *\"the focus ring is firing on click\"* - a behavioral description, not a color value.\n\n*Carried out by:* [reveal-on-intent behaviors](#reveal-on-intent), [one stroke](#one-stroke), [theme color](#theme-color).\n\n#### 2. Room to breathe\n\n> **Ask:** *does this feel cramped, tight, or jagged?*\n\nCalm UI is generous and soft. Space isn't wasted; it's what lets the eye rest and groups things without drawing a single line. Edges are rounded rather than sharp. When a surface feels boxed-in or busy, the fix is usually more breathing room on the spacing ramp, not smaller content.\n\nBreathing room is there to serve the work, not squeeze it out. More padding isn't always more calm - especially in a narrow pane or a dense layout. Give the content room to breathe as well as the chrome.\n\n*Carried out by:* [the spacing ramp](#spacing-ramp), [elevation tiers](#elevation-tiers) (rounded, not sharp).\n\n#### 3. The interface explains itself, plainly and kindly\n\n> **Ask:** *could someone understand this at a glance, without guessing?*\n\nThe UI should read like a person talking. Prefer a word to a mystery glyph; write in sentence case; keep the tone human. A lone unlabeled icon, or a Title-Cased Marketing Headline, makes the user work harder than they should - never cryptic, never shouting.\n\nAn explanation should last as long as it's needed. If a field needs a label, its purpose shouldn't disappear when you start typing or wait behind a hover. A clear screen-reader name matters too; neither replaces the other. Gestures need the same kindness: a visible invitation and a keyboard alternative, not a blank patch you have to know to drag.\n\nAnd an invitation should be honest. A grab hand says *\"you can move this\"* - does that move make sense in the layout the user can see? Moving a pane beside another, detaching it, and moving the window are different promises. Make the intended one clear, and make sure the gesture delivers it.\n\n*Carried out by:* [words & casing](#words-casing).\n\n##### Make unavailable features understandable\n\nUsers look for features they have seen in release notes, documentation, or promotion. Silently removing an otherwise relevant option when policy, account entitlement, setup, or version requirements prevent its use makes the product feel broken. Prefer keeping it discoverable but disabled, with a concise, truthful reason and a useful next step.\n\n- Distinguish **blocked by organization policy**, **requires sign-in\u002Fupgrade\u002Fupdate**, **not supported here**, and **still loading** using authoritative state; absence from a list alone is not evidence of policy.\n- Reuse existing disabled-row styling and the briefcase indicator for managed policy. Provide a visible reason or independently actionable **Learn why** link; do not make hover the only way to discover the explanation.\n- Presentation must not grant access: block pointer, keyboard, and stale-menu activation while keeping explanatory links operable. Follow the [accessibility guidance](..\u002Faccessibility\u002FSKILL.md#explaining-unavailable-options).\n- This is not a blanket rule to expose everything. Preserve explicit feature-hiding choices (including disabled AI), unsupported provider capabilities, and unreleased feature gates. Explain unavailable features where they are relevant without inventing support or exposing sensitive policy values.\n\nReuse these patterns rather than copying entire implementations:\n\n| Surface | Example |\n|---|---|\n| Settings | [Managed-setting indicator and accessible policy text](..\u002F..\u002F..\u002Fsrc\u002Fvs\u002Fworkbench\u002Fcontrib\u002Fpreferences\u002Fbrowser\u002FsettingsEditorSettingIndicators.ts) |\n| Model picker | [Unavailable models with distinct admin, upgrade, and update explanations](..\u002F..\u002F..\u002Fsrc\u002Fvs\u002Fworkbench\u002Fcontrib\u002Fchat\u002Fbrowser\u002Fwidget\u002Finput\u002FmodelPicker\u002FmodelPickerItemPrimitives.ts) |\n| Harness picker | [Availability descriptions and policy help links](..\u002F..\u002F..\u002Fsrc\u002Fvs\u002Fworkbench\u002Fcontrib\u002Fchat\u002Fbrowser\u002FagentSessions\u002FsessionTypeAvailability.ts) |\n| Permissions picker | [Shared permission-level policy presentation](..\u002F..\u002F..\u002Fsrc\u002Fvs\u002Fworkbench\u002Fcontrib\u002Fchat\u002Fbrowser\u002FagentSessions\u002FagentHost\u002FagentHostModePickerPresentation.ts) and [picker integration](..\u002F..\u002F..\u002Fsrc\u002Fvs\u002Fworkbench\u002Fcontrib\u002Fchat\u002Fbrowser\u002FagentSessions\u002FagentHost\u002FagentHostChatInputPicker.ts), with [runtime policy boundaries](..\u002Fpolicy-and-managed-settings\u002Fsdk-runtime-policy.md) |\n\n> **Worked example - a boxed-in toolbar**\n> - **See:** a toolbar sits on a solid filled bar, separator lines between every button, the buttons pushed up against each other.\n> - **Feeling:** not *Calm* - busy and boxed-in.\n> - **Principle:** breaks *Quiet at rest* (the fill and separators are permanent chrome that hasn't earned its place) and *Room to breathe* (buttons jammed together).\n> - **Move:** let the bar read transparent at rest, drop the separators (one stroke - and here the answer is *no*), and space the buttons out on the ramp.\n\n### Focused\n\n#### 4. One thing leads; the rest supports\n\n> **Ask:** *where does the eye go first - and is anything secondary competing with it?*\n\nEvery view should have a clear **center of attention** - the one thing the eye should land on first. Keep secondary information *out* of that spot: demote it with a quieter type role, a recessed surface, or a smaller icon, so the thing that matters leads and everything else supports it. A view where everything has equal weight is *flat* - the eye has nowhere to go.\n\nQuiet can yield when something genuinely needs you. A blocked task should catch your attention even while you're working elsewhere, without making it harder to see what's selected or where focus is. The message should still come through when motion is turned off.\n\nAn explanation shouldn't hide the thing it explains. A review card that covers the code it's discussing has put the supporting detail in the lead. Give it room or let the user reveal it when needed - don't make them scroll around it just to read their work.\n\n*Carried out by:* [type roles](#type-ramp), [elevation tiers](#elevation-tiers), [icon size by context](#icon-sizes).\n\n#### 5. Elevation is encoded, not eyeballed\n\n> **Ask:** *does this surface's roundness match how far it floats above what's beneath it?*\n\nHow rounded - and how raised - a surface is *means something*: it tells you where the surface sits in the stack. A floating overlay reads as more rounded than a control sitting flat inside a pane. Radius is chosen by the surface's role in the hierarchy, never by taste. (This serves both **Focused** and **Consistent**.)\n\n*Carried out by:* [elevation tiers](#elevation-tiers), [reveal-on-intent](#reveal-on-intent) (scroll shadows).\n\n> **Worked example - a flat settings row**\n> - **See:** a settings row shows its label, its help text, and a \"Reset\" action all at the same size and weight.\n> - **Feeling:** not *Focused* - flat; the eye doesn't know where to land.\n> - **Principle:** breaks *One thing leads* - nothing is the center of attention.\n> - **Move:** lift the label to the leading type role, demote the help text to `body2`, and make \"Reset\" a quiet secondary action so the row reads top-down.\n\n### Consistent\n\n#### 6. Sameness signals sameness\n\n> **Ask:** *do two like things look identical - and is any difference here intentional?*\n\nEquivalent elements must look equivalent, because they pull from the same named scale. When two similar things differ, that difference should *mean* something; accidental drift is the enemy. This is why every size, radius, weight, and color is a **named token with a role**, not a literal - the literal is only ever a stand-in for the token it lands on.\n\nSameness includes how something responds, not just its resting shape. The same icon in two different-sized buttons still feels like two different controls. Compare the whole thing - the space around it, the hover, the focus, the area you can click. A difference in role or density can earn a difference in treatment; an accident can't.\n\n*Carried out by:* every move below - they *are* the shared scales. See especially [design tokens](#design-tokens), [the spacing ramp](#spacing-ramp), [the type ramp](#type-ramp), [icon sizes](#icon-sizes), [one stroke](#one-stroke).\n\n> **Worked example - two mismatched dialogs**\n> - **See:** two dialogs open side by side; one has 8px corners, the other 6px - both are floating overlays.\n> - **Feeling:** not *Consistent* - the UI feels like it's drifting.\n> - **Principle:** breaks *Sameness signals sameness* (two equivalent surfaces look different for no reason) and *Elevation is encoded* (an overlay belongs on the Outer tier).\n> - **Move:** point both at the Outer radius token; the 6px was a literal someone typed instead of naming the tier.\n\n### Delightful\n\n#### 7. Delight earns its keep\n\n> **Ask:** *what does this help the user do?*\n\nMotion, reveals, and finishing touches are welcome - but each must **do a job**: guide the eye, confirm an action, orient the user, or smooth a jump. If there's no answer to the question, it's decoration, and decoration reads as noise (back to **Calm**). Keep it subtle, short, and interruptible; honor `prefers-reduced-motion`; never animate for its own sake.\n\nA delight bug sounds like *\"this transition is doing nothing for me\"* (cut it) or *\"this jump is disorienting - it needs a functional transition\"* (add one) - not a duration or easing value to fiddle with.\n\nWatch the journey, not just the landing. Swapping one view for another shouldn't make a stable layout seem to bounce or resize. Ask *\"what is this movement helping me understand?\"* of each surface, not the window as a whole. Cut the motion that has no job, keep the motion that does, and check the experience with motion both on and off.\n\n*Carried out by:* [reveal-on-intent behaviors](#reveal-on-intent).\n\n> **Worked example - a bouncing panel**\n> - **See:** a side panel slides in with a 600ms bounce every time you toggle it.\n> - **Feeling:** not *Delightful* (gimmicky) and not *Calm* (slow and shouty).\n> - **Principle:** breaks *Delight earns its keep* - the bounce isn't doing a job, and the toggle is already obvious.\n> - **Move:** if nothing needs orienting, cut the animation; if the panel's arrival genuinely needs explaining, replace it with a short, subtle, interruptible fade that honors `prefers-reduced-motion`.\n\n---\n\n## The moves: the mechanical toolbox\n\nMoves are the **concrete mechanics** - the tokens, ramps, and tiers. On their own they're just lists of allowed values; what makes each one usable is the **decision rule** that says *which value, and why*, plus the **principle** it serves. When you reach for a move, lead with the rule, not the literal.\n\nThis is the one section that touches implementation - and even here, the goal is to keep the *conversation* about design. Treat the Moves as the **shared vocabulary that lets an agreed design be built consistently**, not as the opening move in a review. Reach for them *after* you've named the feeling and the principle, never instead of it.\n\nThe size and font tokens live in [`baseSizes.ts`](..\u002F..\u002F..\u002Fsrc\u002Fvs\u002Fplatform\u002Ftheme\u002Fcommon\u002Fsizes\u002FbaseSizes.ts); the full reference is in [design-tokens.instructions.md](..\u002F..\u002Finstructions\u002Fdesign-tokens.instructions.md).\n\n\u003Ca id=\"design-tokens\">\u003C\u002Fa>\n### Tokens are the source of truth, not the pixel\n\nDesign-system spacing, radii, type roles, and colors should use a named token or ramp where one exists. Raw literals remain valid for structural measurements.\n- **Decision rule:** when something looks wrong, find the token it should be expressing and reason about *that* - not the literal.\n- **Serves:** *Sameness signals sameness* (6).\n\n> An `8px` corner isn't \"8px.\" It's an **Outer surface radius** that someone typed as a literal. Name the role and the fix follows.\n\n\u003Ca id=\"elevation-tiers\">\u003C\u002Fa>\n### Elevation tiers - round by role, not by literal\n\nCorner radius encodes **how far a surface floats above the one beneath it**. Every rounded thing belongs to exactly one tier:\n\n| Tier | Radius | Token | What it is |\n|------|--------|-------|------------|\n| **Control** | 4px | `--vscode-cornerRadius-small` | interactible elements - buttons, inputs, list rows, tabs |\n| **Inner** | 6px | `--vscode-cornerRadius-medium` | non-control containers sitting *inside* a surface |\n| **Outer** | 8px | `--vscode-cornerRadius-large` | floating \u002F overlay surfaces - menus, hovers, dialogs, toasts |\n\nPills (radius ≈ half the height) are **fully round** (`--vscode-cornerRadius-circle`), not \"a big radius.\"\n- **Decision rule:** pick the tier by the surface's **role in the stack**, not by how the corner looks. A bug here sounds like *\"this overlay is rounded at the control tier,\"* never *\"this needs more border-radius.\"*\n- **Serves:** *Elevation is encoded* (5), *Room to breathe* (2).\n\n\u003Ca id=\"spacing-ramp\">\u003C\u002Fa>\n### The spacing ramp - on-scale or off-scale\n\nPadding, margin, and gap come from the **spacing ramp** (0, 2, 4, 6, 8, 10, 12, 16, 20, 24, 28, 32, 36, 40).\n- **Decision rule:** a value either lands *on* the ramp or it doesn't. Off-scale values (3, 5, 7, 14, 26…) break the rhythm; snap to the nearest step, ties rounding up. Report rhythm bugs as *\"this is off the spacing ramp,\"* not *\"add a couple of pixels.\"*\n- **Serves:** *Room to breathe* (2), *Sameness signals sameness* (6).\n\n\u003Ca id=\"type-ramp\">\u003C\u002Fa>\n### The type ramp - roles and two weights, not free sizes\n\nText styles are **roles**, not arbitrary sizes: `heading1–3`, `body1–2`, `label1–3`. There are exactly **two weights** - `regular` (400) and `semiBold` (600). There is no medium (500). \"Strong\" is not a bigger size; it is the *same role token at `semiBold`*.\n- **Decision rule:** choose the role by the text's **rank in the hierarchy**, not by eyeballing a size. A heading that looks weak is *\"the wrong type role\"* or *\"missing the semiBold weight,\"* not *\"bump the font to 14.\"* A `500` anywhere is **off the ramp**.\n- **Serves:** *One thing leads* (4), *Sameness signals sameness* (6).\n\n\u003Ca id=\"icon-sizes\">\u003C\u002Fa>\n### Icon sizes - two sizes, chosen by context\n\nCodicons are **16px (base)** or **12px (compact)** - nothing in between; `14px` is always a bug. At the compact size, also swap to the `*Compact` glyph (`Codicon.close` → `Codicon.closeCompact`) so the icon is *optically* tuned, not just scaled.\n- **Decision rule:** size tracks the **density and rank of the context**. Use **base (16px)** for standalone or primary actions and comfortable click targets; use **compact (12px)** for dense rows, inline glyphs, and secondary chrome where the icon rides alongside text. So the answer to \"16 or 12?\" is *\"what is this icon's role here?\"* - not a taste call. Say *\"this icon should be compact,\"* not *\"shrink it a bit.\"*\n- **Serves:** *One thing leads* (4), *Sameness signals sameness* (6).\n\n\u003Ca id=\"one-stroke\">\u003C\u002Fa>\n### One stroke\n\nThe standard border\u002Fseparator stroke is **1px** (`--vscode-strokeThickness`).\n- **Decision rule:** whether an ordinary border is present is a **yes\u002Fno** decision. Preserve thicker semantic or accessibility strokes, such as focus indicators.\n- **Read it as one edge.** Two thin borders on top of each other can still look like one heavy border; a second curve inside the first reads as a double frame. Judge the outline you see, not the strokes each element claims to draw. The [layout guidance](..\u002Fux-css-layout\u002FSKILL.md#rounded-surface-geometry) covers how to keep those edges aligned.\n- **Serves:** *Quiet at rest* (1), *Sameness signals sameness* (6).\n\n\u003Ca id=\"theme-color\">\u003C\u002Fa>\n### Color comes from the theme\n\nEvery color is a `--vscode-*` theme token, so the UI tracks the active theme and high-contrast modes.\n- **Decision rule:** a hardcoded hex is a bug by construction. Color bugs are *\"wrong theme token\"* (or *\"a token that disappears in light\u002FHC\"*), never a hex value to nudge.\n- **Serves:** *Quiet at rest* (1), *Sameness signals sameness* (6).\n\n\u003Ca id=\"reveal-on-intent\">\u003C\u002Fa>\n### Reveal-on-intent behaviors\n\nChrome that used to carry a permanent fill now reads transparent at rest and only reveals on interaction. Each behavior also *does a job*, so they pull double duty:\n\n- `commandCenter` - transparent at rest; shows its background\u002Fborder on hover, so a pointer *confirms* the thing it's over.\n- `statusBar` - neutralized to the window; only the **background** changes on hover, the foreground stays put.\n- `keyboardFocusOnly` - the focus ring appears for **keyboard** focus (`:focus-visible`), not on mouse click, so the affordance shows exactly when it's useful.\n- `scrollShadows` - content *fades* under a surface edge instead of being cut at a hard line, so you feel there's *more* beyond the fold.\n\n- **Serves:** *Quiet at rest* (1), *Delight earns its keep* (7), and (scroll shadows) *Elevation is encoded* (5).\n\n\u003Ca id=\"words-casing\">\u003C\u002Fa>\n### Words & casing\n\n**Prefer a text label to an icon.** A word is read; an icon is *guessed*. Reach for a glyph only when its meaning is near-universal (close, search) or space is genuinely scarce - otherwise label the thing, or pair icon + label when you need both recognition and recall. A lone mystery glyph is the bug, not a badly-chosen one: *\"this action is unlabeled - give it a word,\"* not *\"find a clearer icon.\"*\n\n**Write in sentence case.** Labels, buttons, menus, and messages capitalize the first word and proper nouns only - *\"Start new session,\"* not *\"Start New Session.\"* It's calmer, friendlier, and quicker to scan. Report it as *\"this is Title Case - make it sentence case,\"* a tone fix, not a reword.\n\n> **⚠️ Known conflict - reconcile later.** This sentence-case guidance is the intended modern-UI direction, but it **contradicts** the repo-wide coding guideline that mandates title-style capitalization for command labels, buttons, and menu items (see [coding-guidelines.instructions.md](..\u002F..\u002Finstructions\u002Fcoding-guidelines.instructions.md), \"UI labels\"). The two conventions have not yet been reconciled. Until they are, **follow the existing title-case rule for shipped, non-experimental UI**, and apply sentence case only within surfaces that have explicitly adopted the modern UI direction. TODO: agree a single casing convention and update whichever doc loses.\n\n- **Serves:** *The interface explains itself* (3).\n\n---\n\n## The phrasebook: describe the bug, name the principle\n\nLead with the **role \u002F tier \u002F ramp**, not the number - then name the principle so the fix lands everywhere, not just here. The number is a symptom.\n\n| ❌ Don't say | ✅ Do say | Principle |\n|----------------------|--------------------------|-----------|\n| \"border-radius should be 6, not 8\" | \"this is an **Inner** surface rounded at the **Outer** tier\" | 5 · Elevation |\n| \"this menu corner is too sharp\" | \"this **overlay** should be on the **Outer** radius tier\" | 5 · Elevation |\n| \"add 2px of padding\" | \"this content is **off the spacing ramp** \u002F needs ramp breathing room\" | 2 · Room to breathe |\n| \"make this 14px\" | \"this should use the **`label1` \u002F `body1` type role**\" | 4 · One thing leads |\n| \"the title looks thin\" | \"the heading is **missing the `semiBold` weight**\" | 4 · One thing leads |\n| \"font-weight 500 here\" | \"**500 is off the ramp** - snap to `semiBold` (600)\" | 6 · Sameness |\n| \"shrink this icon a touch\" | \"this icon should be the **compact (12px) size + `*Compact` glyph**\" | 4 · One thing leads |\n| \"this icon is 14px\" | \"codicons are **16 or 12 only** - pick base or compact\" | 6 · Sameness |\n| \"this ordinary border is too thick\" | \"standard borders are **one stroke (1px)** - this should\u002Fshouldn't have one; preserve thicker focus\u002Fsemantic strokes\" | 1 · Quiet at rest |\n| \"change this grey hex\" | \"this is the **wrong theme token** \u002F it **vanishes in light\u002FHC**\" | 6 · Sameness |\n| \"the command center has a box around it\" | \"chrome should be **quiet at rest, reveal on hover**\" | 1 · Quiet at rest |\n| \"the focus outline shows when I click\" | \"the ring is **keyboard-focus only** (`:focus-visible`)\" | 1 · Quiet at rest |\n| \"the list is cut off at the bottom\" | \"the surface is **missing its scroll-shadow fade**\" | 7 · Delight \u002F 5 · Elevation |\n| \"the pane header has a line \u002F hard edge\" | \"pane headers are **rounded, separator-less section titles**\" | 1 · Quiet at rest |\n\n---\n\n## Giving and receiving feedback\n\n**Describe the design, not the pixel.** When you name the rule that's broken, the fix lands everywhere it's broken - not just in the one spot you happened to notice.\n\nWhen something looks wrong, say it in this order:\n\n1. **The feeling** - which of the four values is it missing? *Calm, Focused, Consistent, Delightful.*\n2. **The surface** - what and where? *\"the sidebar pane header,\" \"the Save dialog.\"*\n3. **The principle it breaks** - the rule behind the feeling.\n4. **The move that would fix it** - the mechanic that restores it.\n5. **Only then, if useful, the number** - *\"shows 4px, looks like it wants 6px.\"*\n\n> **Example** \"The activity bar doesn't feel **Calm** - it's loud at rest. The icons carry a permanent fill that's competing with the editor (*Quiet at rest, present on intent*). Could the fill reveal on hover instead? It reads about 2px too tight as well, but the fill is the real thing.\"\n\n### Lead with the feeling, not the fix\n\nThe word points everyone at the same principle, even before anyone agrees on a pixel:\n\n| Say this first | Not this |\n|----------------|----------|\n| \"this doesn't feel **Calm** - it's noisy at rest\" | \"make the background transparent\" |\n| \"this isn't **Focused** - the eye has nowhere to land\" | \"make the title bigger\" |\n| \"this feels **inconsistent** - these two dialogs don't match\" | \"change the radius to 6\" |\n| \"this transition isn't **Delightful**, it's just decoration\" | \"make the animation faster\" |\n\n### What makes feedback hard to act on\n\nThese aren't wrong, they're just *incomplete* - they fix one spot and drift back out of sync:\n\n- **A bare number.** *\"This should be 6px.\"* Which token? Why? Name the role and the fix lands everywhere.\n- **A taste claim with no rule.** *\"I don't like this corner.\"* Tie it to a value or principle so it's a shared standard, not a preference.\n- **A fix with no feeling.** *\"Make it transparent.\"* Maybe - but say what's wrong first (*\"it's loud at rest\"*), so we fix the cause, not just this instance.\n- **Several things at once.** Split *\"this panel is busy, off-grid, and the icon's wrong\"* into three, each with its own value.\n\n### Practical notes\n\n- **Attach the surface.** A screenshot or a short clip (for motion) plus the name of the view beats a paragraph of description. Circle the spot.\n- **One observation per thread.** Keep each piece of feedback to a single surface + value, so it can be discussed and resolved on its own.\n- **Light vs. dark vs. high-contrast.** If something only breaks in one theme, say so - that usually points at a *theme token* problem, not a color choice.\n- **Reduced motion.** For animation feedback, note whether you have `prefers-reduced-motion` on; a transition should still make sense without it.\n- **Same intent, same treatment.** A shared fix should reach the places that share the problem - not make every window or dialog behave like the one you're looking at.\n- **Reuse the familiar interaction.** A hover or link shouldn't become a special case just because it lives on a new surface. Keep the shared behavior, including keyboard access and safe content handling, rather than recreating only its appearance.\n- **Respect the user's choices.** A new default changes an experience someone already knows. Make that change deliberately, preserve explicit preferences and rollout controls, and check both the old and new experience.\n\n### Does the fix feel right in use?\n\nA fix isn't finished when one screenshot looks right. The principle should hold as the user moves through the experience, not just in the frame we happened to capture.\n\n- **Name what should get better.** Start with the feeling, surface, and principle. Then find what owns the problem before changing it everywhere. Space between panels and space inside a panel do different jobs, even when they happen to measure the same.\n- **Follow the change.** Hover, then use the keyboard. Open, close, pin, unpin, move, and resize the same surface. Check the themes, densities, and window types the change touches - not every possible combination, but the ones that could tell a different story. The [layout](..\u002Fux-css-layout\u002FSKILL.md#8-responsive-layout) and [interaction-state](..\u002Fux-theming\u002FSKILL.md#high-contrast-interaction-state-contract) guidance cover the mechanics.\n- **Try the thing, not its description.** A declared radius doesn't prove the corner looks right; a focused element doesn't prove you can see focus. Look at the painted result and use the control. Tests should catch the original problem, not merely confirm the new implementation's description of itself.\n- **Make sure you're seeing the state you mean.** A screenshot called \"hover\" should actually show hover; a keyboard check should follow the keyboard path. Simulating an event isn't always the same as making the interaction happen. Use the [rendered-state guidance](..\u002Fux-theming\u002FSKILL.md#testing-rendered-interaction-states) to keep that evidence honest.\n- **Understand feedback before chasing it.** Several comments may describe one problem; a green check may miss it entirely. Find out whether a failure is in the experience, the test's expectations, or the setup before deciding what to change. A passing rerun isn't an explanation, and an unrelated failure isn't a reason to reshape the UI.\n- **Show the fix you actually shipped.** Capture the final version, look beyond the intended surface for surprises, and check again after a refinement changes the result. Exercise the affected interactions before accepting new screenshot baselines. Reuse useful checks rather than repeating everything, and say what was tested and what wasn't - a browser capture can't speak for a native window you haven't tried.\n","# VS Code Design Philosophy\n\nThis skill is the **canonical VS Code design philosophy** — the single source of truth for how we reason about UI, for both developers and agents.\n\nAs 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.\n\nThis 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.\n\n---\n\n## How to read this: three layers\n\nThe 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:\n\n| Layer | What it is | Example |\n|-------|------------|---------|\n| **Values** | what we want people to *feel*, and why it's at stake | *Focused* |\n| **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?* |\n| **Moves** | the concrete mechanics, each with a rule for *which one and why* | *demote the secondary panel to a recessed background token \u002F a quieter type role* |\n\nRead 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.\n\n> **Worked example - a busy panel**\n>\n> - **See:** a panel feels busy and keeps pulling your eye off the editor.\n> - **Feeling:** not *Calm*, not *Focused*.\n> - **Principle:** breaks *Quiet at rest* (it carries a permanent fill it shouldn't) and *One thing leads* (secondary chrome competing with the editor).\n> - **Move:** drop the panel to a recessed\u002Ftransparent background token, reveal its border only on hover, and demote its labels to a quieter type role.\n\n---\n\n## The values: what we design for\n\nThese four values name what we want people to *feel* using VS Code - they're the top layer, the thing every principle and move below is ultimately in service of. Learn them and you can describe almost any bug. Each is a *feeling* the UI should give; each is upheld by one or more **principles** below. Reach for the value first, the principle second, the move last.\n\n| Value | Means | When it's broken it feels… | Principles |\n|------|-------|----------------------------|------------|\n| **Calm** | quiet at rest, uncluttered; room to breathe; soft, not sharp; plain-spoken and human | busy, noisy, cramped, jagged, cryptic, shouty | 1, 2, 3 |\n| **Focused** | clear hierarchy; one thing leads, the rest supports | flat, samey, the eye has nowhere to go | 4, 5 |\n| **Consistent** | everything sits on the same ramps and tiers | random, off-grid, drifting | 5, 6 |\n| **Delightful** | small moments that *do a job* - guide, confirm, orient | lifeless, abrupt, or gimmicky | 7 |\n\n> Say *\"this feels noisy, it's not **Calm**\"* before *\"the background should be transparent.\"* The value points everyone at the same principle.\n\n### Why these four?\n\nIt's fair to ask: who would ever *want* a UI that isn't calm, focused, consistent, and delightful? That's exactly the point. These aren't differentiators we're claiming over other products - they're the qualities most **under threat in a tool like ours**, and naming them is how we defend them. We chose them because they're the values VS Code is structurally inclined to *lose*:\n\n- **Calm** is the first casualty of an IDE. VS Code is information-dense and lived in for hours; every feature team has a good reason to add one more affordance, and the sum is noise. Calm is the value that pushes back on our own gravity.\n- **Focused** matters because our surfaces are *deep*. A screen full of equally-weighted, equally-valid controls is the default failure mode of a power tool. Naming focus forces us to decide what leads.\n- **Consistent** has the largest surface area to defend. VS Code is built by many hands over many years; drift is the natural state. Consistency is less an aspiration than a maintenance discipline.\n- **Delightful** is the one we deliberately **ration**. It earns its place only by doing a job (Principle 7). We name it not to add more polish but to keep it honest, so delight guides and confirms rather than decorates.\n\nAnd each value names a real **tension**, not a free win - which is what makes it a choice worth stating rather than a platitude:\n\n- **Calm** trades against **density** - how much do we surface at rest?\n- **Focused** trades against **equal access** - what do we demote so one thing can lead?\n- **Consistent** trades against the **genuinely special case** - when is a difference earned rather than drift?\n- **Delightful** trades against **restraint** - when does a flourish cross into noise?\n\nSo the useful question isn't *\"would we ever not want these?\"* but *\"which one is this surface trading away, and did we mean to?\"* When a value really must yield - say, a critical warning that *should* break calm to seize attention - that's a deliberate, named exception, not a reason to drop the value.\n\n---\n\n## Principles\n\nPrinciples are **evaluative**: each one is a question you can ask of any surface, and the answer tells you whether the design is right - independent of any pixel value. They're grouped by the value they uphold.\n\n---\n\n### Calm\n\n#### 1. Quiet at rest, present on intent\n\n> **Ask:** *is anything shouting when nothing is happening?*\n\nChrome should recede until you engage it. A surface carrying a permanent fill, border, or focus ring it hasn't earned is competing with the user's content for attention it doesn't need. The modern look is **restrained**: things reveal themselves *on intent* - hover, focus, interaction - and sit quietly otherwise.\n\nQuiet is not hidden. A control can recede without becoming a guessing game: you should still be able to find it, reach it, and see where keyboard focus has landed. Judge calm by how the surface feels to use, not just how little it draws.\n\nWhen this is wrong it sounds like *\"this is loud at rest \u002F should be quiet until hover\"* or *\"the focus ring is firing on click\"* - a behavioral description, not a color value.\n\n*Carried out by:* [reveal-on-intent behaviors](#reveal-on-intent), [one stroke](#one-stroke), [theme color](#theme-color).\n\n#### 2. Room to breathe\n\n> **Ask:** *does this feel cramped, tight, or jagged?*\n\nCalm UI is generous and soft. Space isn't wasted; it's what lets the eye rest and groups things without drawing a single line. Edges are rounded rather than sharp. When a surface feels boxed-in or busy, the fix is usually more breathing room on the spacing ramp, not smaller content.\n\nBreathing room is there to serve the work, not squeeze it out. More padding isn't always more calm - especially in a narrow pane or a dense layout. Give the content room to breathe as well as the chrome.\n\n*Carried out by:* [the spacing ramp](#spacing-ramp), [elevation tiers](#elevation-tiers) (rounded, not sharp).\n\n#### 3. The interface explains itself, plainly and kindly\n\n> **Ask:** *could someone understand this at a glance, without guessing?*\n\nThe UI should read like a person talking. Prefer a word to a mystery glyph; write in sentence case; keep the tone human. A lone unlabeled icon, or a Title-Cased Marketing Headline, makes the user work harder than they should - never cryptic, never shouting.\n\nAn explanation should last as long as it's needed. If a field needs a label, its purpose shouldn't disappear when you start typing or wait behind a hover. A clear screen-reader name matters too; neither replaces the other. Gestures need the same kindness: a visible invitation and a keyboard alternative, not a blank patch you have to know to drag.\n\nAnd an invitation should be honest. A grab hand says *\"you can move this\"* - does that move make sense in the layout the user can see? Moving a pane beside another, detaching it, and moving the window are different promises. Make the intended one clear, and make sure the gesture delivers it.\n\n*Carried out by:* [words & casing](#words-casing).\n\n##### Make unavailable features understandable\n\nUsers look for features they have seen in release notes, documentation, or promotion. Silently removing an otherwise relevant option when policy, account entitlement, setup, or version requirements prevent its use makes the product feel broken. Prefer keeping it discoverable but disabled, with a concise, truthful reason and a useful next step.\n\n- Distinguish **blocked by organization policy**, **requires sign-in\u002Fupgrade\u002Fupdate**, **not supported here**, and **still loading** using authoritative state; absence from a list alone is not evidence of policy.\n- Reuse existing disabled-row styling and the briefcase indicator for managed policy. Provide a visible reason or independently actionable **Learn why** link; do not make hover the only way to discover the explanation.\n- Presentation must not grant access: block pointer, keyboard, and stale-menu activation while keeping explanatory links operable. Follow the [accessibility guidance](..\u002Faccessibility\u002FSKILL.md#explaining-unavailable-options).\n- This is not a blanket rule to expose everything. Preserve explicit feature-hiding choices (including disabled AI), unsupported provider capabilities, and unreleased feature gates. Explain unavailable features where they are relevant without inventing support or exposing sensitive policy values.\n\nReuse these patterns rather than copying entire implementations:\n\n| Surface | Example |\n|---|---|\n| Settings | [Managed-setting indicator and accessible policy text](..\u002F..\u002F..\u002Fsrc\u002Fvs\u002Fworkbench\u002Fcontrib\u002Fpreferences\u002Fbrowser\u002FsettingsEditorSettingIndicators.ts) |\n| Model picker | [Unavailable models with distinct admin, upgrade, and update explanations](..\u002F..\u002F..\u002Fsrc\u002Fvs\u002Fworkbench\u002Fcontrib\u002Fchat\u002Fbrowser\u002Fwidget\u002Finput\u002FmodelPicker\u002FmodelPickerItemPrimitives.ts) |\n| Harness picker | [Availability descriptions and policy help links](..\u002F..\u002F..\u002Fsrc\u002Fvs\u002Fworkbench\u002Fcontrib\u002Fchat\u002Fbrowser\u002FagentSessions\u002FsessionTypeAvailability.ts) |\n| Permissions picker | [Shared permission-level policy presentation](..\u002F..\u002F..\u002Fsrc\u002Fvs\u002Fworkbench\u002Fcontrib\u002Fchat\u002Fbrowser\u002FagentSessions\u002FagentHost\u002FagentHostModePickerPresentation.ts) and [picker integration](..\u002F..\u002F..\u002Fsrc\u002Fvs\u002Fworkbench\u002Fcontrib\u002Fchat\u002Fbrowser\u002FagentSessions\u002FagentHost\u002FagentHostChatInputPicker.ts), with [runtime policy boundaries](..\u002Fpolicy-and-managed-settings\u002Fsdk-runtime-policy.md) |\n\n> **Worked example - a boxed-in toolbar**\n> - **See:** a toolbar sits on a solid filled bar, separator lines between every button, the buttons pushed up against each other.\n> - **Feeling:** not *Calm* - busy and boxed-in.\n> - **Principle:** breaks *Quiet at rest* (the fill and separators are permanent chrome that hasn't earned its place) and *Room to breathe* (buttons jammed together).\n> - **Move:** let the bar read transparent at rest, drop the separators (one stroke - and here the answer is *no*), and space the buttons out on the ramp.\n\n### Focused\n\n#### 4. One thing leads; the rest supports\n\n> **Ask:** *where does the eye go first - and is anything secondary competing with it?*\n\nEvery view should have a clear **center of attention** - the one thing the eye should land on first. Keep secondary information *out* of that spot: demote it with a quieter type role, a recessed surface, or a smaller icon, so the thing that matters leads and everything else supports it. A view where everything has equal weight is *flat* - the eye has nowhere to go.\n\nQuiet can yield when something genuinely needs you. A blocked task should catch your attention even while you're working elsewhere, without making it harder to see what's selected or where focus is. The message should still come through when motion is turned off.\n\nAn explanation shouldn't hide the thing it explains. A review card that covers the code it's discussing has put the supporting detail in the lead. Give it room or let the user reveal it when needed - don't make them scroll around it just to read their work.\n\n*Carried out by:* [type roles](#type-ramp), [elevation tiers](#elevation-tiers), [icon size by context](#icon-sizes).\n\n#### 5. Elevation is encoded, not eyeballed\n\n> **Ask:** *does this surface's roundness match how far it floats above what's beneath it?*\n\nHow rounded - and how raised - a surface is *means something*: it tells you where the surface sits in the stack. A floating overlay reads as more rounded than a control sitting flat inside a pane. Radius is chosen by the surface's role in the hierarchy, never by taste. (This serves both **Focused** and **Consistent**.)\n\n*Carried out by:* [elevation tiers](#elevation-tiers), [reveal-on-intent](#reveal-on-intent) (scroll shadows).\n\n> **Worked example - a flat settings row**\n> - **See:** a settings row shows its label, its help text, and a \"Reset\" action all at the same size and weight.\n> - **Feeling:** not *Focused* - flat; the eye doesn't know where to land.\n> - **Principle:** breaks *One thing leads* - nothing is the center of attention.\n> - **Move:** lift the label to the leading type role, demote the help text to `body2`, and make \"Reset\" a quiet secondary action so the row reads top-down.\n\n### Consistent\n\n#### 6. Sameness signals sameness\n\n> **Ask:** *do two like things look identical - and is any difference here intentional?*\n\nEquivalent elements must look equivalent, because they pull from the same named scale. When two similar things differ, that difference should *mean* something; accidental drift is the enemy. This is why every size, radius, weight, and color is a **named token with a role**, not a literal - the literal is only ever a stand-in for the token it lands on.\n\nSameness includes how something responds, not just its resting shape. The same icon in two different-sized buttons still feels like two different controls. Compare the whole thing - the space around it, the hover, the focus, the area you can click. A difference in role or density can earn a difference in treatment; an accident can't.\n\n*Carried out by:* every move below - they *are* the shared scales. See especially [design tokens](#design-tokens), [the spacing ramp](#spacing-ramp), [the type ramp](#type-ramp), [icon sizes](#icon-sizes), [one stroke](#one-stroke).\n\n> **Worked example - two mismatched dialogs**\n> - **See:** two dialogs open side by side; one has 8px corners, the other 6px - both are floating overlays.\n> - **Feeling:** not *Consistent* - the UI feels like it's drifting.\n> - **Principle:** breaks *Sameness signals sameness* (two equivalent surfaces look different for no reason) and *Elevation is encoded* (an overlay belongs on the Outer tier).\n> - **Move:** point both at the Outer radius token; the 6px was a literal someone typed instead of naming the tier.\n\n### Delightful\n\n#### 7. Delight earns its keep\n\n> **Ask:** *what does this help the user do?*\n\nMotion, reveals, and finishing touches are welcome - but each must **do a job**: guide the eye, confirm an action, orient the user, or smooth a jump. If there's no answer to the question, it's decoration, and decoration reads as noise (back to **Calm**). Keep it subtle, short, and interruptible; honor `prefers-reduced-motion`; never animate for its own sake.\n\nA delight bug sounds like *\"this transition is doing nothing for me\"* (cut it) or *\"this jump is disorienting - it needs a functional transition\"* (add one) - not a duration or easing value to fiddle with.\n\nWatch the journey, not just the landing. Swapping one view for another shouldn't make a stable layout seem to bounce or resize. Ask *\"what is this movement helping me understand?\"* of each surface, not the window as a whole. Cut the motion that has no job, keep the motion that does, and check the experience with motion both on and off.\n\n*Carried out by:* [reveal-on-intent behaviors](#reveal-on-intent).\n\n> **Worked example - a bouncing panel**\n> - **See:** a side panel slides in with a 600ms bounce every time you toggle it.\n> - **Feeling:** not *Delightful* (gimmicky) and not *Calm* (slow and shouty).\n> - **Principle:** breaks *Delight earns its keep* - the bounce isn't doing a job, and the toggle is already obvious.\n> - **Move:** if nothing needs orienting, cut the animation; if the panel's arrival genuinely needs explaining, replace it with a short, subtle, interruptible fade that honors `prefers-reduced-motion`.\n\n---\n\n## The moves: the mechanical toolbox\n\nMoves are the **concrete mechanics** - the tokens, ramps, and tiers. On their own they're just lists of allowed values; what makes each one usable is the **decision rule** that says *which value, and why*, plus the **principle** it serves. When you reach for a move, lead with the rule, not the literal.\n\nThis is the one section that touches implementation - and even here, the goal is to keep the *conversation* about design. Treat the Moves as the **shared vocabulary that lets an agreed design be built consistently**, not as the opening move in a review. Reach for them *after* you've named the feeling and the principle, never instead of it.\n\nThe size and font tokens live in [`baseSizes.ts`](..\u002F..\u002F..\u002Fsrc\u002Fvs\u002Fplatform\u002Ftheme\u002Fcommon\u002Fsizes\u002FbaseSizes.ts); the full reference is in [design-tokens.instructions.md](..\u002F..\u002Finstructions\u002Fdesign-tokens.instructions.md).\n\n\u003Ca id=\"design-tokens\">\u003C\u002Fa>\n### Tokens are the source of truth, not the pixel\n\nDesign-system spacing, radii, type roles, and colors should use a named token or ramp where one exists. Raw literals remain valid for structural measurements.\n- **Decision rule:** when something looks wrong, find the token it should be expressing and reason about *that* - not the literal.\n- **Serves:** *Sameness signals sameness* (6).\n\n> An `8px` corner isn't \"8px.\" It's an **Outer surface radius** that someone typed as a literal. Name the role and the fix follows.\n\n\u003Ca id=\"elevation-tiers\">\u003C\u002Fa>\n### Elevation tiers - round by role, not by literal\n\nCorner radius encodes **how far a surface floats above the one beneath it**. Every rounded thing belongs to exactly one tier:\n\n| Tier | Radius | Token | What it is |\n|------|--------|-------|------------|\n| **Control** | 4px | `--vscode-cornerRadius-small` | interactible elements - buttons, inputs, list rows, tabs |\n| **Inner** | 6px | `--vscode-cornerRadius-medium` | non-control containers sitting *inside* a surface |\n| **Outer** | 8px | `--vscode-cornerRadius-large` | floating \u002F overlay surfaces - menus, hovers, dialogs, toasts |\n\nPills (radius ≈ half the height) are **fully round** (`--vscode-cornerRadius-circle`), not \"a big radius.\"\n- **Decision rule:** pick the tier by the surface's **role in the stack**, not by how the corner looks. A bug here sounds like *\"this overlay is rounded at the control tier,\"* never *\"this needs more border-radius.\"*\n- **Serves:** *Elevation is encoded* (5), *Room to breathe* (2).\n\n\u003Ca id=\"spacing-ramp\">\u003C\u002Fa>\n### The spacing ramp - on-scale or off-scale\n\nPadding, margin, and gap come from the **spacing ramp** (0, 2, 4, 6, 8, 10, 12, 16, 20, 24, 28, 32, 36, 40).\n- **Decision rule:** a value either lands *on* the ramp or it doesn't. Off-scale values (3, 5, 7, 14, 26…) break the rhythm; snap to the nearest step, ties rounding up. Report rhythm bugs as *\"this is off the spacing ramp,\"* not *\"add a couple of pixels.\"*\n- **Serves:** *Room to breathe* (2), *Sameness signals sameness* (6).\n\n\u003Ca id=\"type-ramp\">\u003C\u002Fa>\n### The type ramp - roles and two weights, not free sizes\n\nText styles are **roles**, not arbitrary sizes: `heading1–3`, `body1–2`, `label1–3`. There are exactly **two weights** - `regular` (400) and `semiBold` (600). There is no medium (500). \"Strong\" is not a bigger size; it is the *same role token at `semiBold`*.\n- **Decision rule:** choose the role by the text's **rank in the hierarchy**, not by eyeballing a size. A heading that looks weak is *\"the wrong type role\"* or *\"missing the semiBold weight,\"* not *\"bump the font to 14.\"* A `500` anywhere is **off the ramp**.\n- **Serves:** *One thing leads* (4), *Sameness signals sameness* (6).\n\n\u003Ca id=\"icon-sizes\">\u003C\u002Fa>\n### Icon sizes - two sizes, chosen by context\n\nCodicons are **16px (base)** or **12px (compact)** - nothing in between; `14px` is always a bug. At the compact size, also swap to the `*Compact` glyph (`Codicon.close` → `Codicon.closeCompact`) so the icon is *optically* tuned, not just scaled.\n- **Decision rule:** size tracks the **density and rank of the context**. Use **base (16px)** for standalone or primary actions and comfortable click targets; use **compact (12px)** for dense rows, inline glyphs, and secondary chrome where the icon rides alongside text. So the answer to \"16 or 12?\" is *\"what is this icon's role here?\"* - not a taste call. Say *\"this icon should be compact,\"* not *\"shrink it a bit.\"*\n- **Serves:** *One thing leads* (4), *Sameness signals sameness* (6).\n\n\u003Ca id=\"one-stroke\">\u003C\u002Fa>\n### One stroke\n\nThe standard border\u002Fseparator stroke is **1px** (`--vscode-strokeThickness`).\n- **Decision rule:** whether an ordinary border is present is a **yes\u002Fno** decision. Preserve thicker semantic or accessibility strokes, such as focus indicators.\n- **Read it as one edge.** Two thin borders on top of each other can still look like one heavy border; a second curve inside the first reads as a double frame. Judge the outline you see, not the strokes each element claims to draw. The [layout guidance](..\u002Fux-css-layout\u002FSKILL.md#rounded-surface-geometry) covers how to keep those edges aligned.\n- **Serves:** *Quiet at rest* (1), *Sameness signals sameness* (6).\n\n\u003Ca id=\"theme-color\">\u003C\u002Fa>\n### Color comes from the theme\n\nEvery color is a `--vscode-*` theme token, so the UI tracks the active theme and high-contrast modes.\n- **Decision rule:** a hardcoded hex is a bug by construction. Color bugs are *\"wrong theme token\"* (or *\"a token that disappears in light\u002FHC\"*), never a hex value to nudge.\n- **Serves:** *Quiet at rest* (1), *Sameness signals sameness* (6).\n\n\u003Ca id=\"reveal-on-intent\">\u003C\u002Fa>\n### Reveal-on-intent behaviors\n\nChrome that used to carry a permanent fill now reads transparent at rest and only reveals on interaction. Each behavior also *does a job*, so they pull double duty:\n\n- `commandCenter` - transparent at rest; shows its background\u002Fborder on hover, so a pointer *confirms* the thing it's over.\n- `statusBar` - neutralized to the window; only the **background** changes on hover, the foreground stays put.\n- `keyboardFocusOnly` - the focus ring appears for **keyboard** focus (`:focus-visible`), not on mouse click, so the affordance shows exactly when it's useful.\n- `scrollShadows` - content *fades* under a surface edge instead of being cut at a hard line, so you feel there's *more* beyond the fold.\n\n- **Serves:** *Quiet at rest* (1), *Delight earns its keep* (7), and (scroll shadows) *Elevation is encoded* (5).\n\n\u003Ca id=\"words-casing\">\u003C\u002Fa>\n### Words & casing\n\n**Prefer a text label to an icon.** A word is read; an icon is *guessed*. Reach for a glyph only when its meaning is near-universal (close, search) or space is genuinely scarce - otherwise label the thing, or pair icon + label when you need both recognition and recall. A lone mystery glyph is the bug, not a badly-chosen one: *\"this action is unlabeled - give it a word,\"* not *\"find a clearer icon.\"*\n\n**Write in sentence case.** Labels, buttons, menus, and messages capitalize the first word and proper nouns only - *\"Start new session,\"* not *\"Start New Session.\"* It's calmer, friendlier, and quicker to scan. Report it as *\"this is Title Case - make it sentence case,\"* a tone fix, not a reword.\n\n> **⚠️ Known conflict - reconcile later.** This sentence-case guidance is the intended modern-UI direction, but it **contradicts** the repo-wide coding guideline that mandates title-style capitalization for command labels, buttons, and menu items (see [coding-guidelines.instructions.md](..\u002F..\u002Finstructions\u002Fcoding-guidelines.instructions.md), \"UI labels\"). The two conventions have not yet been reconciled. Until they are, **follow the existing title-case rule for shipped, non-experimental UI**, and apply sentence case only within surfaces that have explicitly adopted the modern UI direction. TODO: agree a single casing convention and update whichever doc loses.\n\n- **Serves:** *The interface explains itself* (3).\n\n---\n\n## The phrasebook: describe the bug, name the principle\n\nLead with the **role \u002F tier \u002F ramp**, not the number - then name the principle so the fix lands everywhere, not just here. The number is a symptom.\n\n| ❌ Don't say | ✅ Do say | Principle |\n|----------------------|--------------------------|-----------|\n| \"border-radius should be 6, not 8\" | \"this is an **Inner** surface rounded at the **Outer** tier\" | 5 · Elevation |\n| \"this menu corner is too sharp\" | \"this **overlay** should be on the **Outer** radius tier\" | 5 · Elevation |\n| \"add 2px of padding\" | \"this content is **off the spacing ramp** \u002F needs ramp breathing room\" | 2 · Room to breathe |\n| \"make this 14px\" | \"this should use the **`label1` \u002F `body1` type role**\" | 4 · One thing leads |\n| \"the title looks thin\" | \"the heading is **missing the `semiBold` weight**\" | 4 · One thing leads |\n| \"font-weight 500 here\" | \"**500 is off the ramp** - snap to `semiBold` (600)\" | 6 · Sameness |\n| \"shrink this icon a touch\" | \"this icon should be the **compact (12px) size + `*Compact` glyph**\" | 4 · One thing leads |\n| \"this icon is 14px\" | \"codicons are **16 or 12 only** - pick base or compact\" | 6 · Sameness |\n| \"this ordinary border is too thick\" | \"standard borders are **one stroke (1px)** - this should\u002Fshouldn't have one; preserve thicker focus\u002Fsemantic strokes\" | 1 · Quiet at rest |\n| \"change this grey hex\" | \"this is the **wrong theme token** \u002F it **vanishes in light\u002FHC**\" | 6 · Sameness |\n| \"the command center has a box around it\" | \"chrome should be **quiet at rest, reveal on hover**\" | 1 · Quiet at rest |\n| \"the focus outline shows when I click\" | \"the ring is **keyboard-focus only** (`:focus-visible`)\" | 1 · Quiet at rest |\n| \"the list is cut off at the bottom\" | \"the surface is **missing its scroll-shadow fade**\" | 7 · Delight \u002F 5 · Elevation |\n| \"the pane header has a line \u002F hard edge\" | \"pane headers are **rounded, separator-less section titles**\" | 1 · Quiet at rest |\n\n---\n\n## Giving and receiving feedback\n\n**Describe the design, not the pixel.** When you name the rule that's broken, the fix lands everywhere it's broken - not just in the one spot you happened to notice.\n\nWhen something looks wrong, say it in this order:\n\n1. **The feeling** - which of the four values is it missing? *Calm, Focused, Consistent, Delightful.*\n2. **The surface** - what and where? *\"the sidebar pane header,\" \"the Save dialog.\"*\n3. **The principle it breaks** - the rule behind the feeling.\n4. **The move that would fix it** - the mechanic that restores it.\n5. **Only then, if useful, the number** - *\"shows 4px, looks like it wants 6px.\"*\n\n> **Example** \"The activity bar doesn't feel **Calm** - it's loud at rest. The icons carry a permanent fill that's competing with the editor (*Quiet at rest, present on intent*). Could the fill reveal on hover instead? It reads about 2px too tight as well, but the fill is the real thing.\"\n\n### Lead with the feeling, not the fix\n\nThe word points everyone at the same principle, even before anyone agrees on a pixel:\n\n| Say this first | Not this |\n|----------------|----------|\n| \"this doesn't feel **Calm** - it's noisy at rest\" | \"make the background transparent\" |\n| \"this isn't **Focused** - the eye has nowhere to land\" | \"make the title bigger\" |\n| \"this feels **inconsistent** - these two dialogs don't match\" | \"change the radius to 6\" |\n| \"this transition isn't **Delightful**, it's just decoration\" | \"make the animation faster\" |\n\n### What makes feedback hard to act on\n\nThese aren't wrong, they're just *incomplete* - they fix one spot and drift back out of sync:\n\n- **A bare number.** *\"This should be 6px.\"* Which token? Why? Name the role and the fix lands everywhere.\n- **A taste claim with no rule.** *\"I don't like this corner.\"* Tie it to a value or principle so it's a shared standard, not a preference.\n- **A fix with no feeling.** *\"Make it transparent.\"* Maybe - but say what's wrong first (*\"it's loud at rest\"*), so we fix the cause, not just this instance.\n- **Several things at once.** Split *\"this panel is busy, off-grid, and the icon's wrong\"* into three, each with its own value.\n\n### Practical notes\n\n- **Attach the surface.** A screenshot or a short clip (for motion) plus the name of the view beats a paragraph of description. Circle the spot.\n- **One observation per thread.** Keep each piece of feedback to a single surface + value, so it can be discussed and resolved on its own.\n- **Light vs. dark vs. high-contrast.** If something only breaks in one theme, say so - that usually points at a *theme token* problem, not a color choice.\n- **Reduced motion.** For animation feedback, note whether you have `prefers-reduced-motion` on; a transition should still make sense without it.\n- **Same intent, same treatment.** A shared fix should reach the places that share the problem - not make every window or dialog behave like the one you're looking at.\n- **Reuse the familiar interaction.** A hover or link shouldn't become a special case just because it lives on a new surface. Keep the shared behavior, including keyboard access and safe content handling, rather than recreating only its appearance.\n- **Respect the user's choices.** A new default changes an experience someone already knows. Make that change deliberately, preserve explicit preferences and rollout controls, and check both the old and new experience.\n\n### Does the fix feel right in use?\n\nA fix isn't finished when one screenshot looks right. The principle should hold as the user moves through the experience, not just in the frame we happened to capture.\n\n- **Name what should get better.** Start with the feeling, surface, and principle. Then find what owns the problem before changing it everywhere. Space between panels and space inside a panel do different jobs, even when they happen to measure the same.\n- **Follow the change.** Hover, then use the keyboard. Open, close, pin, unpin, move, and resize the same surface. Check the themes, densities, and window types the change touches - not every possible combination, but the ones that could tell a different story. The [layout](..\u002Fux-css-layout\u002FSKILL.md#8-responsive-layout) and [interaction-state](..\u002Fux-theming\u002FSKILL.md#high-contrast-interaction-state-contract) guidance cover the mechanics.\n- **Try the thing, not its description.** A declared radius doesn't prove the corner looks right; a focused element doesn't prove you can see focus. Look at the painted result and use the control. Tests should catch the original problem, not merely confirm the new implementation's description of itself.\n- **Make sure you're seeing the state you mean.** A screenshot called \"hover\" should actually show hover; a keyboard check should follow the keyboard path. Simulating an event isn't always the same as making the interaction happen. Use the [rendered-state guidance](..\u002Fux-theming\u002FSKILL.md#testing-rendered-interaction-states) to keep that evidence honest.\n- **Understand feedback before chasing it.** Several comments may describe one problem; a green check may miss it entirely. Find out whether a failure is in the experience, the test's expectations, or the setup before deciding what to change. A passing rerun isn't an explanation, and an unrelated failure isn't a reason to reshape the UI.\n- **Show the fix you actually shipped.** Capture the final version, look beyond the intended surface for surprises, and check again after a refinement changes the result. Exercise the affected interactions before accepting new screenshot baselines. Reuse useful checks rather than repeating everything, and say what was tested and what wasn't - a browser capture can't speak for a native window you haven't tried.\n",{"name":5,"description":7},"main","1448348da3b327766105cde54b608195de21b2d4",".github\u002Fskills\u002Fdesign-philosophy",43835,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode","https:\u002F\u002Fcode.visualstudio.com","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-15 03:00:24",{"source":9,"skillName":5,"commands":67,"prompt":77,"zipAvailable":78},[68,71,74],{"tool":69,"command":70},"npx","npx skills add microsoft\u002Fvscode --skill design-philosophy",{"tool":72,"command":73},"bunx","bunx skills add microsoft\u002Fvscode --skill design-philosophy",{"tool":75,"command":76},"pnpm","pnpm dlx skills add microsoft\u002Fvscode --skill design-philosophy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fdesign-philosophy\u002FSKILL.md",true,[],[81,89,96,103,127,156],{"skillNo":82,"name":83,"nameZh":17,"description":84,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":88},"01M7B4XRMJX3WB67XWMX3GVHNN","vscode-ui","Present metrics, comparisons, tables, bar charts, and expandable details as native visuals inside an Agents window response. Use when numbers or a comparison are clearer shown than described. Not for diagrams, mockups, or standalone documents.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fvscode-ui\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":90,"name":91,"nameZh":17,"description":92,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":88},"01M78JJQ6C7V7NR93D5D9N2VCA","html-preview","Create visual reports, implementation plans, code-review explainers, comparisons, diagrams, and static UI mockups as inline HTML previews in the Agents window. Use when the user asks for visual or rendered output, not ordinary HTML code examples.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fhtml-preview\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":17,"description":99,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":88},"01M78JJDRGWKHBBZY6W3GY2CQ9","endgame-status","Report VS Code endgame status, focusing on test-plan progress, tester activity, release-branch PRs, and release-build availability.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fendgame-status\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":17,"description":106,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":51},"01M70H0ANBKZAVEP1NVV4K28M3","sweeper-query","Answer natural-language questions about the VS Code Sweeper's published issue index (index-\u003Cname>.json for microsoft\u002Fvscode and the enrolled family repos) — which issues are agent-ready to implement or plan, what the sweeper proposed for an assignee or area, whether the sweeper knows a report as a duplicate, the highest-value open bugs in a lane — and, for one issue, the review's full record (evidence with file citations, fix brief, proposed comment). Use ONLY when the request explicitly names the sweeper — \"sweeper\", \"vscodesweeper\", \"sweeper-query\", a sweeper verdict, record, brief or index, an agent-ready issue — or asks what \"the sweeper\" found, proposed or knows. Do NOT use for general questions about issues, duplicates, priorities or ranking that do not mention the sweeper. Read-only; discovery only.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsweeper-query\u002FSKILL.md",[],[110,111,112,113,114,115,116,117,118,119,120,49,121,122,123,124,125,47,46,126],"sweeper query","query","sweeper","duplicates","read","Citations","brief","ready","which","review","request","plan","issues","ranking","open","only","natural-language",{"skillNo":128,"name":129,"nameZh":130,"description":131,"descriptionZh":132,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":133,"categories":134,"keywords":141,"publishedAt":51},"01M699DRJS4YJCV600Q72SVVWE","update-skills","仓库技能与指令更新","Create or update repository skills and instructions when major learnings are discovered during a session. Use when the user says \"learn!\", when a significant pattern or pitfall is identified, or when reusable domain knowledge should be captured for future sessions.","当在会话中发现重要经验教训时，创建或更新仓库技能与指令。当用户说\"learn!\"、识别出重要模式或陷阱，或需要为未来会话捕获可复用的领域知识时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fupdate-skills\u002FSKILL.md",[135,138],{"categoryNo":136,"categoryName":137,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":139,"categoryName":140,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",[142,143,144,145,146,147,148,149,40,150,151,38,47,152,153,154,155],"update","update skills","repository","pattern","user","sessions","instructions","domain","session","knowledge","reusable","learn","learnings","create",{"skillNo":157,"name":158,"nameZh":159,"description":160,"descriptionZh":161,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":162,"categories":163,"keywords":168,"publishedAt":51},"01M699DPWHZ72B66P82EW31RNE","update-pr","Pull Request 更新与推送","Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.","更新当前会话的拉取请求（Pull Request）。当用户希望把新变更推送到已有 PR 时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fupdate-pr\u002FSKILL.md",[164,165],{"categoryNo":136,"categoryName":137,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":166,"categoryName":167,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[169,142,170,171,172,173,174,40,120,150,38,175,47,146],"pr","update pr","pull","push","changes","pull request","Existing"]