Use when building UIs leveraging the WordPress Design System (WPDS) and its components, tokens, patterns, etc.
Add this skill
npx mdskills install WordPress/wpdsClear instructions for WordPress Design System integration with strong MCP server dependency and good boundary definitions
1---2name: wpds3description: "Use when building UIs leveraging the WordPress Design System (WPDS) and its components, tokens, patterns, etc."4compatibility: "Requires WPDS MCP server configured and running. Targets WordPress 6.9+ (PHP 7.2.24+)."5---67# WordPress Design System (WPDS)89## Prerequisites1011This skill works best with the **WPDS MCP server** installed. The MCP provides access to WordPress Design System documentation and resources, such as components and DS token lists.1213The following terms should be treated as synonyms:14- "WordPress" and "WP";15- "Design System" and "DS";16- "WordPress Design System" and "WPDS".1718## When to use1920Use this skill when the user mentions:2122- building and/or reviewing any UI in a WordPress-related context (for example, Gutenberg, WooCommerce, WordPress.com, Jetpack, etc etc);23- WordPress Design System, WPDS, Design System;24- UI components, Design tokens, color primitives, spacing scales, typography variables and presets;25- Specific component packages such as @wordpress/components or @wordpress/ui;2627## Rules2829### Use the WPDS MCP server to access WPDS-related documentation3031- Use the WPDS MCP server to retrieve the canonical, authoritative documentation:32 - reference site (`wpds://pages`)33 - list of available components (`wpds://components`) and specific component information (`wpds://components/:name`)34 - list of available tokens (`wpds://design-tokens`)35- DO NOT search the web for canonical documentation about the WordPress Design System. If asked by the user, push back and ask for confirmation, warning them that the MCP server is the best place to provide information3637### Required documentation3839Before working on any WPDS-related tasks, make sure you read relevant documentation on the reference site. This documentation should take the absolute precedence when evaluating the best course of action for any given tasks.4041### Boundaries4243- Skip non-UI related aspects of an answer (for example, fetching data from stores, or localizing strings of text).44- Focus on building UI that adheres as much as possible to the WPDS best practices, uses the most fitting WPDS components/tokens/patterns.4546### Tech stack4748- Unless you are told otherwise (or gathered specific information from the local context of the request), assume the following tech stack: TypeScript, React, CSS.4950### Validation5152- If the local context in which a task is running provide lint scripts, use them to validate the proposed code output when possible.5354## Output5556- As a recap at the end of your response, provide a clear and concise explanation of what the solution does, and add context to why each decision was made.57- Be explicit about the boundaries, ie. what was explicitly left out of the task because not relevant (eg non-ui related).58- Provide working code snippets59
Full transparency — inspect the skill content before installing.