design-system
Creates the Tamagui brand system for an Expo/React Native Power Apps mobile app, including design-system.md, tokens.ts, and an HTML gallery.
Install / Use
npx skills add microsoft/power-platform-skills --skill design-systemInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
DesignSupported Platforms
Our assessment of design-system
design-system scores 93/100 on our quality scale, 53rd of 266 Design skills we index (top 20%).
Its SKILL.md is 28 KB long, well organised into 38 sections with 13 code examples: a thorough specification that gives an agent plenty to work with.
It has 919 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated 9 days ago, so design-system is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-10-04. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
design-system compared with similar skills
All 4 of these similar skills score higher than design-system; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| design-system (this skill)by microsoft | 93 | 919 | 9d ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 11d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 11d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 12d ago | SKILL.md |
| ui-ux-pro-maxby nextlevelbuilder | 100 | 130.2k | 12d ago | SKILL.md |
Frequently asked questions
- How do I install design-system?
- Run
npx skills add microsoft/power-platform-skills --skill design-system. The install tabs above show the steps for each supported agent. - Which AI agents does design-system work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is design-system safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is design-system still maintained?
- The repository was last updated 9 days ago, so design-system is actively maintained.
Skill content
View source on GitHubname: design-system description: Creates the Tamagui brand system for an Expo/React Native Power Apps mobile app, including design-system.md, tokens.ts, and an HTML gallery. user-invocable: true allowed-tools: Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion, Task, WebFetch model: opus
Plugin check: Run
node "${PLUGIN_ROOT}/scripts/check-version.js"- if it outputs a message, show it to the user before proceeding.
Shared instructions: shared-instructions.md — read first.
Design System
Source of truth for every screen built in a Power Apps mobile app. Produces three artifacts:
brand/design-system.md— full spec (palette, typography, spacing, components, negatives)brand/tokens.ts— importable Tamagui token exportbrand/design-system.html— deterministic visual gallery (zero LLM cost)
Design-system and Tamagui integration are complementary, not alternatives. /design-system owns user-facing brand/design decisions and preview artifacts; /create-mobile-app Step 9b applies references/tamagui-integration.md as internal implementation plumbing so those decisions become Tamagui tokens, aliases, and provider props. The old separate tamagui-design-system skill existed before this split was clear; keeping it separate made users choose implementation details and added prompt surface. Do not reintroduce it as a user-invocable skill.
When to use
- Step 6.5 — auto-invoked from
/create-mobile-appafter scaffold +npx power-apps init, before screen builders - Standalone —
/design-systemcallable any time to create or refresh a brand system - Refresh —
/design-system --refresh <dimension>to change one aspect - Reskin —
/design-system --reskinfor full visual layer swap - Dark mode —
/design-system --add-dark-modeto derive + wire dark theme
When NOT to use
- Screen-level visual tweaks → use
/tweak-screen(deterministic, 0 tokens) - Plan-level screen changes → use
/edit-app screens - Data model changes → use
/add-dataverseor/setup-datamodel
Inputs
working_dir— absolute path to project root (auto-detected or passed by orchestrator)- Optional flags:
--brand-doc,--logo,--from-url,--design-spec,--from-canvas-app,--from-code-app,--from-figma,--stylesheet,--power-pages-mode - Optional:
--refresh <dimension>— palette | typography | components | density | negatives | motion - Optional:
--reskin— full theme swap - Optional:
--add-dark-mode— derive + wire dark theme - Optional:
--add-theme <name>— add named theme variant - Optional:
--history/--diff <ts>/--rollback <ts>— version history
References — read before executing
references/design-system-schema.md— schema forbrand/design-system.mdreferences/preview-template.md— HTML template for gallery renderreferences/refresh-flow.md— single-dimension refresh logicreferences/input-modes.md— how each input flag is processedreferences/vibe/brand-examples.md— real-world brand examples (Uber, Linear, Intercom, Sentry)references/vibe/style-picker.md— internal folded style picker
Sub-step 0 — Mode detection + setup
Print:
"→ [design-system] Detecting project context…"
Detect invocation mode:
1. Check env var CODE_APPS_NATIVE_ORCHESTRATING=1
→ Mode A (folded into /create-mobile-app Step 6.5)
2. Check cwd for app.config.js + tamagui.config.ts + package.json with expo deps
→ Mode B (standalone in existing project)
3. Else
→ Mode C (standalone, no project)
→ Ask: "No native project detected. Write brand/ to current directory? [y/N]"
For Mode A/B, set working_dir to cwd. For Mode C, confirm with user.
Drift detection (Mode B only — existing brand/ present):
If brand/design-system.md AND brand/tokens.ts both exist:
- Parse current tokens.ts palette + typography tokens
- Parse current design-system.md ## Palette and ## Typography
- Compute diff
- If divergent → surface drift, ask user to resolve before proceeding (see refresh-flow.md § Drift)
Sub-step 1 — Brand inputs
Telemetry checkpoint: collect_brand_inputs
Print:
"→ [design-system] Checking for brand inputs…"
MUST stop and wait for user response. Do NOT skip this step.
Ask user for optional brand input. See references/input-modes.md for full processing details.
You're building {{app_name}} — a {{industry}} app.
{{screen_count}} screens, {{entity_count}} entities.
Do you have any brand input? (skip with Enter):
(1) Skip — use Field/Ops industry defaults
No brand assets. I'll pick a direction from 3 visual styles (or you can skip style-picking entirely). High
contrast, large tap targets, safety-first colors.
(2) Free-text notes
> "Slate-blue accent, no orange. Must look at home next to ServiceTitan."
(3) Logo PNG / JPG
> --logo ~/Downloads/logo.png
(4) Design doc (markdown, PDF, or text)
> --brand-doc ~/projects/brand.md
> --design-spec ~/work/design-system.md
(5) More options…
> --from-url https://contoso.com (extract palette from live site)
> --from-canvas-app ~/exports/my-app.msapp (extract from canvas app)
> --from-code-app ~/projects/sibling-web (extract from code app)
> --from-figma <file-key> (extract from Figma)
Skip? [Enter to skip — same as option 1]
If flag was passed on invocation, skip asking — process directly.
On input provided: Extract palette/typography tokens immediately (~3-5k tokens). Print extracted summary:
"→ [design-system] Extracted from {{input}}: {{primary color}}, {{font family}}, {{N}} tokens."
On skip: Continue with no brand context.
Priority order when multiple inputs given:
--design-spec(highest — skips Sub-steps 3 AND 4)--brand-doc(locks direction, skips Sub-step 3)--from-figma(locks palette + typography + components)--from-code-app(highest fidelity sibling)--from-canvas-app(locks palette + typography + conventions)--logo(extracts palette, applied as tint)--from-url/--stylesheet(palette extractors)- Free-text notes (always applied as overrides on top)
Sub-step 2 — Cost picker
Telemetry checkpoint: select_design_depth
Print:
"→ [design-system] How much design depth do you want?"
Show the cost picker, adapting the intro and option set to brand input.
If brand input was provided, print: Brand input applied ✓ — {{primary color}}, {{font family}} extracted. Default: c.
| Option | Label | Behavior | Cost | |---|---|---|---| | a | Full design | See 3 browser styles, pick one, then get component reference; brand tints all options. | ~3 min, ~25k tokens | | b | Spec + reference | Pick a style in chat, write full design spec, see component reference sheet. | ~1 min, ~8k tokens | | c | Brand preview | Apply brand to List + Form + Detail mockups; skip style picker and component sheets. | ~30 sec, ~2k tokens | | d | Skip everything | Use palette with industry defaults; no previews. | <5 sec, ~0 tokens |
If NO brand input, print: No brand input — defaulting to polished-inspection (white surface + Power-Platform green accent + status-stripe cards + soft-tinted pills; source: references/vibe/direction-polished-inspection.md). Default: c.
| Option | Label | Behavior | Cost | |---|---|---|---| | a | Full design | See 3 browser styles, pick one, then get component reference; biggest visual quality gain. | ~3 min, ~30k tokens | | b | Spec + reference | Pick a style in chat, write full design spec, see component reference sheet. | ~1 min, ~12k tokens | | c | Apply defaults | Apply polished-inspection tokens and open a 3-screen preview. MVP-friendly zero-click default. | ~30 sec, ~3k tokens |
Default rationale: (c) is the MVP-first-run default — Enter through every prompt and the app comes out styled with the polished-inspection direction (which fits ~70% of mobile-app traffic — inspection / field-ops / asset-tracking apps that demo to enterprise stakeholders). Users who want to compare 3 styles side-by-side opt INTO (a) explicitly. This trades "highest possible design quality on first run" (path a) for "zero clicks to a styled MVP" (path c) — the right tradeoff at MVP because the user can always re-run /design-system to upgrade later.
Outdoor-only opt-in: for true field-utility apps (full sun, full shift, gloves), pass --direction inspection to use the dark slate + safety-orange preset instead. The MVP default is light + green because that demos better and remains usable; the outdoor-dark preset is a deliberate opt-in.
Note: Option (c) "Brand preview" only appears when brand input was provided (there's nothing to preview without brand tokens).
Persist choice to memory-bank.md: visual_companion: <yes|no|skip>
Branches:
-
(a) → continue all sub-steps (Sub-steps 3–7) (~3 min)
-
(b) → skip Sub-step 3 (style picker), run Sub-steps 4–7 (spec + gallery + confirmation)
-
(c) Brand preview → skip Sub-steps 3–6, render key screen mockups (List + Form + Detail) with brand tokens applied, open browser, proceed to Sub-step 7. No extra question about how many screens — always shows 3 key screens.
-
(c) Apply defaults / (d) — no-brand path → skip Sub-steps 3, 5. Run these in order:
- Minimal Sub-step 4 — write
brand/tokens.tsfrom the industry's direction preset. Source-of-truth lookup order for the preset bundle: - If the user passed
--direction <name>(e.g.inspection,saas,product), load${PLUGIN_ROOT}/skills/design-system/references/vibe/direction-<name>.mdand use its tokens. - Airline / aviation / commercial-flight carve-out (HARD RULE). If the brief contains any of
airline,aviation,flight,aircraft,carrier,pilot,cabin crew,boarding,departure,tarmac,turnaround,ground ops, OR the app name contains those tokens, DO NOT load thesignaturepreset (safety-orange would clash with airline brand expectations). Instead load${PLUGIN_ROOT}/skills/design-system/references/vibe/direction-airline.md— deep aviation blue (#0A4F8F), white surfaces, hi-vis status pills, hairline borders. Token bundle is the canonical FlightCheck tokens (proven in production). Record inmemory-bank.mdasdirection: airline. - Else (true "all defaults" path) → load
${PLUGIN_ROOT}/skills/design-system/references/vibe/direction-polished-inspection.mdas the canonicalpolished-inspectionpreset — white surface, Power-Platform green#007d48accent (Power Platform–aligned default), status-stripe cards, soft-tinted status pills, large tap targets. This is the polished MVP default that fits any inspection / field-ops / asset-tracking app (~70% of mobile-app traffic) AND demos cleanly to enterprise stakeholders. The previoussignaturepreset (slate dark + safety orange, sourced fromuber-design.md) is now opt-in via--direction inspectionfor true outdoor-only field apps. - As a last fallback, if the source file is unreadable, use the inspection direction inlined in
references/design-system-schema.md.
Skip the full
brand/design-system.mdwrite — onlybrand/tokens.tsis needed. Record the chosen source inmemory-bank.mdunder## Design:direction: polished-inspection (default — white + Power-Platform green, demo-friendly enterprise polish)so future runs know what was picked. 2. **Mini-preview - Minimal Sub-step 4 — write
Truncated for display — read the full file on GitHub.
Related Skills
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
ui-ux-pro-max
130.2kUI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
