devex-surface-placement
Use when deciding which surface a feature of a developer product belongs on (VS Code, desktop, iOS, Android, web or PWA, CLI), applying the eight placement rules (one verb per surface, adapt do not port, two-level progressive disclosure, pull help not push tutorials, undo over confirmation, first run succeeds, private by default, one command core with many skins), or filling in a feature-to-surface matrix. Triggers on where should this feature live, which platform first, surface placement, cross-surface consistency, one command core. Companion to the other developer-experience skills.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 5
- Forks
- 3
01 前言 Front Matter
- name
- devex-surface-placement
- description
- Use when deciding which surface a feature of a developer product belongs on (VS Code, desktop, iOS, Android, web or PWA, CLI), applying the eight placement rules (one verb per surface, adapt do not port, two-level progressive disclosure, pull help not push tutorials, undo over confirmation, first run succeeds, private by default, one command core with many skins), or filling in a feature-to-surface matrix. Triggers on where should this feature live, which platform first, surface placement, cross-surface consistency, one command core. Companion to the other developer-experience skills.
03 SKILL.md 正文
Developer Experience: Device-Specific Interfaces and the Feature-to-Surface Matrix
Part 5 of 9 of the Developer Experience Blueprint (plugin
developer-experience), covering: Part 2: Device-specific interfaces; Feature-to-surface matrix. Sibling skills:devex-principles-and-feedback-loops,devex-cli-and-errors,devex-api-sdk-and-docs,devex-interfaces-onboarding-and-agents,devex-editor-and-desktop-surfaces,devex-mobile-and-web-surfaces,devex-non-developers-and-visual-design,devex-reference. A reference into a sibling is written Section name →skill.Currency: the blueprint is dated Oct 23, 2026; its evidence base and the AI-tooling claims age fastest, so re-check those first.
Evidence grades used throughout: A = peer-reviewed or large study, B = credible practitioner or single study, C = vendor or opinion. Thin evidence is flagged where it occurs, and collected under Where the evidence is weak or conflicting in
devex-reference.
Part 2: Device-specific interfaces
Give each surface the one job it does best, keep the vocabulary identical across all of them, and let a non-developer reach a running result before they ever see code. Part 1 covered the developer's experience; this part covers where each feature should live and how to make a developer product usable by people who are not developers.
Eight placement rules (evidence behind each is in the sections that follow):
- One verb per surface. Android's widget guidance starts with "focus on one primary use case"; the same logic applies to a status-bar item, a menu-bar extra or a notification.
- Adapt, do not port. Each platform has its own navigation model, input method and system integration. Keep identity (color, type, tone) consistent and behavior native.
- Show the common path first, reveal the rest on request, and stop at two levels. Nielsen Norman Group's progressive-disclosure guidance says designs deeper than two levels usually perform poorly.
- Pull help, not push tutorials. NN/g (2023) reports that tutorials interrupt users, do not reliably improve task performance and are quickly forgotten; contextual help and teaching empty states work better.
- Prefer undo to confirmation dialogs. Reserve a specific, verb-labelled confirmation for serious irreversible actions.
- Make the first run succeed. Start from a template or sample, show a running result, then let people change one thing. GitHub's move to prebuilt cloud environments cut setup from about 45 minutes to about 10 seconds.
- Default to private and safe. A 2026 scan found thousands of AI-built apps public by default, with sensitive data exposed.
- One command core, many skins. Every button in every interface should call the same underlying command or API that the CLI and AI agents use, so behavior never drifts.
What this part could and could not verify. Official pages for VS Code, Android, Windows, MDN, web.dev and NN/g were opened. Apple's Human Interface Guidelines and Google's Material 3 pages did not render for my fetch tool, so iOS-specific advice below is labelled as unverified, and Material 3 research claims come from press coverage of Google's own announcement.
Feature-to-surface matrix
This table is my synthesis of the sections above. It is a recommendation for where each capability should live first, not a finding. "Primary" means design it here first; "Supporting" means offer a smaller version; "Link out" means send the user to another surface; a dash means do not build it there.
| Capability | VS Code | Desktop | iOS | Android | Web/PWA | CLI |
|---|---|---|---|---|---|---|
| Install and first run | Walkthrough, ends in a running result | Signed installer opens a sample project | Store install, passkey sign-in | Store install, passkey sign-in | Primary: try it with no install | Single install command |
| Quick action | Command Palette, context menu | Menu-bar extra, menu item | App shortcut, Siri | Shortcut, Quick Settings tile | Button, URL | Primary: one command |
| Status and monitoring | Status bar, tree view | Menu-bar extra, window | Primary: widget | Primary: widget | Dashboard page | Status command |
| Notifications | Rare, actionable only | Notification on completion | Push, with action | Channel with actions | Opt-in push | Exit code, hook |
| Authoring and editing | Primary: editor, language server | Primary: document window | Link out | Link out | Supporting: simple forms | Supporting: files and flags |
| Debug and logs | Primary: panel, output channel | Supporting: log window | Read-only summary | Read-only summary | Supporting: log viewer | Primary: stdout, verbose flag |
| Sharing results | Supporting: copy link | Share sheet, export | Primary: share sheet | Primary: Sharesheet | Primary: stable URL | Output to file or pipe |
| Settings | Settings UI, defaults work | Settings window (standard shortcut) | One short screen | One short screen | Account page | Config file, flags |
| Docs and help | Walkthrough, hover docs | Help menu search | In-context hints | In-context hints | Primary: searchable docs | --help, man page |
| AI chat and agents | Sidebar chat view, inline edits | Side panel | Supporting: ask a question | Supporting: ask a question | Chat panel | Agent mode, scripts |
How to use it. Pick the single primary surface for each capability, build that one well, and give the others a thin version that calls the same core command. Fill in cells by user research with real non-developers, not by this table alone.
04 同仓库更多 Skills
white-paper-writing
Use when writing white papers, technical reports, policy documents, thought leadership pieces, or any long-form authoritative document. Triggers on requests to write, structure, outline, or review white papers, technical reports, position papers, policy briefs, or evidence-driven arguments. Also use for B2B content marketing strategy, technical documentation requiring authority, academic-style reports, or any document that must educate while persuading. Use when someone asks "how should I structure this" for a long-form document.
prose-technical-mechanics
Use when editing or writing prose at a technical/mechanical level: choosing between Anglo-Saxon and Latinate diction, placing information in topic vs stress positions, writing periodic vs cumulative sentences, handling sentence rhythm, punctuation as logic, transitions, paragraph structure, or phonesthetics. Use when someone wants to understand WHY prose works or doesn't, not just surface-level style advice. Triggers on word choice, sentence structure, emphasis, rhythm, diction, or any deep writing mechanics question.
prose-mechanics
Use when writing, editing, or analyzing prose style; when trying to avoid generic AI-sounding writing; when applying specific prose styles such as journalistic, academic, narrative, KJV biblical, Hemingway plain, Latinate/Jamesian, Orwellian, Augustan, Victorian, Early Modern (Bacon, Browne, Milton), or free indirect discourse; or when coaching someone on writing voice and mechanics. Triggers on any request to improve, analyze, or write in a specific prose style, to fix "AI-sounding" writing, to make prose more vivid or concrete, to vary sentence rhythm, or to understand how a particular writer achieves their effects.
narrative-structure
Use when structuring stories, pitches, presentations, white papers, or any persuasive narrative; analyzing the hero's journey in fiction or non-fiction; applying StoryBrand for business communication; designing narrative arcs for thought leadership; or understanding Vogler, Snyder, Propp, or Campbell frameworks. Triggers on any narrative structure, storytelling, pitch structure, StoryBrand, hero's journey, three-act structure, Freytag, Save the Cat, narrative arc, or "how should I structure this story/pitch/presentation" request.
legal-brief-writing
Use when writing legal briefs, motions, or any court filing; when analyzing judicial cognition and persuasion; when applying elite brief-writing techniques from Roberts, Clement, Kagan, Garner; or when structuring legal arguments for maximum persuasion. Also use for autistic/neurodivergent advocates who need to understand how their natural communication style maps to elite legal advocacy. Triggers on any legal writing, brief drafting, motion preparation, or legal argument structuring request.
journal-publishability-criteria
Use whenever a research paper, article or preprint is being written, revised, reviewed or published, and specifically before every publication of docs/paper.md. Covers what legitimate journals actually gate on, in order of gating — the editor's desk screen (scope, novelty, package problems), what reviewers judge (methodological soundness, claims the evidence can carry, statistical and qualitative reporting), EQUATOR reporting guidelines, the ICMJE authorship criteria, COPE's view of text recycling, the near-universal generative-AI policy (no AI author, disclosure, author responsibility), TOP 2025 transparency standards, how to verify a journal is legitimate, submitting without an institution, and a pre-submission checklist. Triggers on requests to evaluate, review, prepare or submit a paper, to judge publishability, to write a declarations or data-availability section, to disclose AI use, or to check a journal.