design-system-ui-composition
Skill by WordPress
Guides building or changing WordPress interfaces with Design System components, tokens and composition. It is for Gutenberg, plugin and application developers. Package-source changes are routed to design-system-contribution.
Install design-system-ui-composition
Built from the published package, never by AI.
git clone --depth 1 https://github.com/WordPress/gutenberg /tmp/gutenberg && mkdir -p ~/.claude/skills && cp -r /tmp/gutenberg/.agents/skills/design-system-ui-composition ~/.claude/skills/design-system-ui-compositionRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install design-system-ui-composition in Claude Code
git clone --depth 1 https://github.com/WordPress/gutenberg /tmp/gutenberg && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gutenberg/.agents/skills/design-system-ui-composition ~/.gemini/antigravity-cli/skills/design-system-ui-compositionAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install design-system-ui-composition in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an assistant through building or changing a Gutenberg, plugin, or application interface with WordPress Design System packages. It covers choosing public components, composing them, styling with component props and tokens, and setting up overlays. It also covers custom UI that does not yet use those packages.
The assistant uses the Design System MCP server when it is available, with tools to look up components, component details and design tokens. Without MCP, it follows linked Gutenberg docs and the token reference. It checks existing public APIs before writing custom UI, checks migrations and rendering context, and selects checks for the affected behavior. It is aimed at developers working in a Gutenberg checkout or external WordPress projects.
Written from the project's SKILL.md and checked against it.
What it can do
- get_componentsFinds the recommended Design System component for the interface need.
- get_component_detailsChecks a component's behavior, props, usage and import.
- get_design_tokensLooks up design tokens for custom styles when the MCP server is available.
- Composition guidanceChooses the smallest public composition that meets the interaction contract.
- Styling guidancePrefers supported component props and semantic tokens over copying raw values.
- Migration checksCompares contracts before replacing a legacy component with its replacement.
- Setup checksInspects overlay portal containers, style delivery and focus in the owner document.
- Verification selectionPicks checks for the changed interaction and reuses existing test coverage.
What you need
- A Gutenberg checkout, or access to the Gutenberg repository on GitHub
- Design System MCP server (optional, used when available)
Try asking
- Find the right Design System component for a settings dialog in my plugin
- Which semantic --wpds tokens fit a warning state in this custom panel?
- Check the Design System setup for a modal opened in a separate document
Good to know
- Package-source changes are routed to the design-system-contribution skill.
- Without the MCP server, it relies on linked Gutenberg docs and the token reference.
- If no public API meets the need, it asks before introducing a workaround.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/design-system-ui-composition/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB
Alternatives to design-system-ui-composition
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
design-system-ui-composition: common questions
Does this skill change WordPress Design System package source?
No. Package-source changes are routed to the design-system-contribution skill, which is used in a Gutenberg checkout.
Should every CSS value be replaced with a design token?
No. The source says to choose semantic --wpds-* tokens by the element's purpose and state, and not to mechanically replace every CSS literal.
What happens if the MCP server is not available?
The skill follows linked docs instead, including the component selection section in design-system-packages.md and the token reference in packages/theme/docs/tokens.md.
How do I install design-system-ui-composition?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is design-system-ui-composition free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is design-system-ui-composition safe to use?
It scores 80 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to design-system-ui-composition?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
