agentleFS
Microsoft AzureKnown publisherAzure/APICenter-Portal-Starter/.github/skills/design/SKILL.md

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

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.
  • lithStudySkill

    banner-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

  • MicrosoftSkill

    ui-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-opsSkill

    operate

    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

  • lithStudySkill

    brand

    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

  • JetBrainsSkill

    slides

    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

  • MicrosoftSkill

    perf

    Speed and memory performance rules for Rust crates, the Node addon, webui-framework, and webui-router.

    Also in 5 projects that use this

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
  1. Very specific:

    Back link: Always include < Back to registry linking to /.

    line 24
  2. Very specific:

    Shape: All badges in the metadata area must use shape="circular" for rounded pill appearance.

    line 31
  3. Very specific:

    All secondary badges must use the same tint + brand appearance so they look visually consistent with each other and with the card view.

    line 36
  4. Very specific:

    Do NOT render api.description as a standalone paragraph in ApiAdditionalInfo or the sidebar — it was removed to prevent duplication.

    line 48
  5. Distinctive:

    If a page has no external docs, contacts, or custom properties, the sidebar is not rendered, giving the main content full width.

    line 54
  6. Very specific:

    All detail pages: use the headerActions slot in DetailPageLayout for top-level actions.

    line 62

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 useDesignVariation hook 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 .header section must NOT override horizontal padding (the global main section rule provides padding-left: 32px and padding-right: 32px). Only set padding-top and padding-bottom on .header. Never use the shorthand padding: X 0 Y which zeros out horizontal padding. This applies to ALL detail pages, including standalone pages like SkillInfo that don't use DetailPageLayout.
  • Back link: Always include < Back to registry linking 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 (DetailPageLayout and standalone pages like SkillInfo).
  • 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 use shape="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 via getCategoryLabel / 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 + brand appearance so they look visually consistent with each other and with the card view.

Custom Properties as Tags

  • Extract tag-like values from api.data.customProperties and 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 with http:// or https://), and known non-tag keys like sourceUrl.
  • Custom properties ALSO remain visible in the sidebar under "Properties" via the CustomMetadata component — 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 summary prop of DetailPageLayout).
  • Do NOT render api.description as a standalone paragraph in ApiAdditionalInfo or 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 headerActions slot (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 use display: inline-flex; align-items: center; gap: 16px.
  • Body content below each heading is indented with padding-left: 33px so text aligns directly under the title text (past the icon).
  • ApiAdditionalInfo renders: 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 headerActions slot in DetailPageLayout for top-level actions.
  • The HeaderActions component (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 ShareButton copies the current page URL to clipboard and shows a "Copied!" tooltip.
  • The extension hint only renders when install buttons are present (showExtensionHint prop).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.