design
Skill43 starsChanged 13 months agoMITView on GitHub
Design rules and conventions for the API Center Portal. Use when editing detail pages, card components, badges, layout, navigation, sidebars, or headers. Covers badge styling, metadata placement, page navigation patterns, and layout alignment.
119 other projects use a version of this.
Adopted by
Most recently taken up by
- nextlevelbuilder/ui-ux-pro-max-skilltheir own version, first seen Nov 18, 2026
- hmjBill/skillstheir own version, first seen Oct 5, 2026
- Boxline-dev/examplestheir own version, first seen Oct 5, 2026
- ofweb/skillstheir own version, first seen Oct 5, 2026
- jesse-merhi/skillstheir own version, first seen Oct 4, 2026
- stage2dev/power-platform-skillstheir own version, first seen Oct 2, 2026
Used with
Projects with it also use banner-design, ui-styling and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
lithStudySkillbanner-design
Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter/X, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.
Also in 15 projects that use this
MicrosoftSkillui-styling
Guide for the visual style, structure, and shared building blocks used by Semantic Link Labs interactive UI tools (HTML widgets and anywidget-based widgets). Use this when adding a new interactive UI, modifying an existing one, or adding shared visual components.
Also in 14 projects that use this
uac-opsSkilloperate
Run the live machine — set a north-star metric, build dashboards, automate routines, and run the continuous growth loop. Use when COMPANY.md Stage is operate, or the user says "metrics", "dashboard", "automate", "north star", "run the business", or "what now that I'm live".
Also in 3 projects that use this
lithStudySkillbrand
Brand voice, visual identity, messaging frameworks, asset management, brand consistency. Activate for branded content, tone of voice, marketing assets, brand compliance, style guides.
Also in 16 projects that use this
JetBrainsSkillslides
Create and edit presentation slide decks (`.pptx`) with PptxGenJS and render/validation utilities. Use when tasks involve building a new PowerPoint deck, recreating slides from screenshots/PDFs/reference decks, modifying slide content while preserving editable output, adding charts/diagrams/visuals, or diagnosing layout issues such as overflow, overlaps, and font substitution.
Also in 16 projects that use this
MicrosoftSkillperf
Speed and memory performance rules for Rust crates, the Node addon, webui-framework, and webui-router.
Also in 5 projects that use this
Other versions119 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 119
- nextlevelbuilder/ui-ux-pro-max-skill★ 156ksame name
- Infisical/agent-vault★ 2.3ksame name
- SethGammon/Citadel★ 922same name
- rshankras/claude-code-apple-skills★ 777same name
- vladikk/modularity★ 549same name
- owainlewis/blueprint★ 410same name
- Adityaraj0421/naksha-studio★ 320same name
- ohad6k/emulo★ 293same name
- ninehills/skills★ 280same name
- genkovich/sdd★ 170same name
109 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 1 is distinctive, and 5 are very specific to this project.
0
Common
Most of the 105 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Back link: Always include < Back to registry linking to /.
- Very specific: line 31
Shape: All badges in the metadata area must use shape="circular" for rounded pill appearance.
- Very specific: line 36
All secondary badges must use the same tint + brand appearance so they look visually consistent with each other and with the card view.
- Very specific: line 48
Do NOT render api.description as a standalone paragraph in ApiAdditionalInfo or the sidebar — it was removed to prevent duplication.
- Distinctive: line 54
If a page has no external docs, contacts, or custom properties, the sidebar is not rendered, giving the main content full width.
- Very specific: line 62
All detail pages: use the headerActions slot in DetailPageLayout for top-level actions.
“Common” is measured: kept by at least 6 in 10 of the 105 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Design Rules
When to Use
- Editing or creating detail pages (ApiDetailPage, ModelDetailPage, or any page using DetailPageLayout)
- Modifying card components or card click behavior
- Working with badges, pills, or metadata display
- Changing navigation or routing for API/MCP/model items
- Adjusting sidebar content or header layout
Navigation
- All cards navigate to full pages. API cards go to
/apis/:name, MCP cards go to/servers/:name, model cards go to/languageModels/:name. Never open a side panel/drawer from a card click. - No playground routes. The model playground feature is removed. Do not add "Open in playground" buttons or links, and do not route to
/languageModels/:name/playground. - The
useDesignVariationhook should NOT be used to toggle between drawer and full-page navigation — full pages are always used.
Detail Page Layout (DetailPageLayout)
- Alignment: All sections must align horizontally — the back link, header (title/summary/badges), tabs, and content area should share the same left edge. The
.headersection must NOT override horizontal padding (the globalmain sectionrule providespadding-left: 32pxandpadding-right: 32px). Only setpadding-topandpadding-bottomon.header. Never use the shorthandpadding: X 0 Ywhich zeros out horizontal padding. This applies to ALL detail pages, including standalone pages likeSkillInfothat don't useDetailPageLayout. - Back link: Always include
< Back to registrylinking to/. - Header area contains: title, summary text, metadata badges, and the version/definition selector.
- Header content order: Title first, then summary/description text, then metadata badges (tags/pills). This order is consistent across all detail pages (
DetailPageLayoutand standalone pages likeSkillInfo). - Sidebar contains: additional metadata (contacts, external docs, custom properties). Installation actions live in
headerActions, not the sidebar.
Badges / Pills
- Shape: All badges in the metadata area must use
shape="circular"for rounded pill appearance. Never useshape="rounded"— it produces square-cornered badges. - Primary pill (card type): Always reflects the high-level category — API, MCP, Skill, Model, Plugin, Agent, etc. Uses
appearance="filled" color="brand" shape="circular". For non-standalone kinds (e.g. REST, GraphQL), the category is "API". Rendered viagetCategoryLabel/ same logic on detail pages. - Secondary pills (additional metadata): API protocol (REST, GraphQL, gRPC), lifecycle stage (design, production, retired), custom property tags (Sample, Productivity, etc.). All use
appearance="tint" color="brand" shape="circular"— matching the card view's secondary pill style. - Pill order: Primary pill first (leftmost), then protocol/kind pill (if non-standalone), then lifecycle stage, then custom property tags, then "Last updated" text last.
- The primary pill tells the user WHAT it is. The secondary pills tell the user MORE ABOUT it.
- All secondary badges must use the same
tint+brandappearance so they look visually consistent with each other and with the card view.
Custom Properties as Tags
- Extract tag-like values from
api.data.customPropertiesand render them as pill badges in the header metadata area. - Include: short strings (≤50 chars), comma-separated string values, string arrays.
- Exclude: UUIDs (matching
/^[0-9a-f-]{36}$/i), URLs (starting withhttp://orhttps://), and known non-tag keys likesourceUrl. - Custom properties ALSO remain visible in the sidebar under "Properties" via the
CustomMetadatacomponent — tags appear in both places (header as pills, sidebar as labeled values).
Description / Summary Text
- The API summary/description appears ONLY in the header (via the
summaryprop ofDetailPageLayout). - Do NOT render
api.descriptionas a standalone paragraph inApiAdditionalInfoor the sidebar — it was removed to prevent duplication.
Sidebar Content
- Sidebar contains metadata only: external documentation, contact information, and custom properties (rendered by
ApiAdditionalInfo). - Installation actions (MCP, Skill) are NOT in the sidebar — they are in the
headerActionsslot (see Header Actions below). - If a page has no external docs, contacts, or custom properties, the sidebar is not rendered, giving the main content full width.
- Each sidebar section has a heading with an icon to the left and a bold title (e.g.,
<ListRegular />+ Properties). The icon and title usedisplay: inline-flex; align-items: center; gap: 16px. - Body content below each heading is indented with
padding-left: 33pxso text aligns directly under the title text (past the icon). ApiAdditionalInforenders: external documentation links, contact information, and custom properties.- It does NOT render the API description (removed to avoid duplication with the header).
Header Actions
- All detail pages use the
headerActionsslot inDetailPageLayoutfor top-level actions. - The
HeaderActionscomponent (src/experiences/HeaderActions) provides the standard layout: a row of buttons on top, with an optional "Requires API Center extension" hint below. - Installable types (MCP, Skill) show: "Install in VS Code" (primary button with VS Code icon) + "Share" (outline button).
- Non-installable types (REST, GraphQL, etc.) show: just "Share".
- Models show: just "Share" (install support can be added later).
- The "Install in VS Code" button triggers a
vscode:deeplink — remote install is preferred over local when both are available. - The
ShareButtoncopies the current page URL to clipboard and shows a "Copied!" tooltip. - The extension hint only renders when install buttons are present (
showExtensionHintprop).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

