wpds

tarafından wordpress

WordPress Tasarım Sistemi (WPDS) ve bileşenleri, tokenları, desenleri vb. kullanarak arayüzler oluştururken kullanın.

npx skills add https://github.com/wordpress/agent-skills --skill wpds

WordPress Design System (WPDS)

Prerequisites

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

The following terms should be treated as synonyms:

  • "WordPress" and "WP";
  • "Design System" and "DS";
  • "WordPress Design System" and "WPDS".

When to use

Use this skill when the user mentions:

  • building and/or reviewing any UI in a WordPress-related context (for example, Gutenberg, WooCommerce, WordPress.com, Jetpack, etc etc);
  • WordPress Design System, WPDS, Design System;
  • UI components, Design tokens, color primitives, spacing scales, typography variables and presets;
  • Specific component packages such as @wordpress/components or @wordpress/ui;

Rules

Use the WPDS MCP server to access WPDS-related documentation

  • Use the WPDS MCP server to retrieve the canonical, authoritative documentation:
    • reference site (wpds://pages)
    • list of available components (wpds://components) and specific component information (wpds://components/:name)
    • list of available tokens (wpds://design-tokens)
  • 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 information

Required documentation

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

Boundaries

  • Skip non-UI related aspects of an answer (for example, fetching data from stores, or localizing strings of text).
  • Focus on building UI that adheres as much as possible to the WPDS best practices, uses the most fitting WPDS components/tokens/patterns.

Tech stack

  • Unless you are told otherwise (or gathered specific information from the local context of the request), assume the following tech stack: TypeScript, React, CSS.

Validation

  • If the local context in which a task is running provide lint scripts, use them to validate the proposed code output when possible.

Output

  • 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.
  • Be explicit about the boundaries, ie. what was explicitly left out of the task because not relevant (eg non-ui related).
  • Provide working code snippets

wordpress tarafından daha fazla skill

blueprint
wordpress
WordPress Playground blueprint JSON dosyalarını oluştururken, düzenlerken veya incelerken kullanılır. Blueprint'lerden, playground yapılandırmasından veya taleplerden bahsedildiğinde tetiklenir…
official
wordpress-router
wordpress
WordPress kod tabanlarını sınıflandırır ve eklentiler, temalar, bloklar ile çekirdek kontrolleri için doğru iş akışına yönlendirir. Depo türünü (eklenti, tema, blok teması, Gutenberg blokları, WP çekirdeği) ve mevcut araçları belirlemek için otomatik proje triyajı çalıştırır. Kullanıcı niyeti ve proje türüne göre sınıflandırma sonuçları ile karar ağacı yönlendirmesini alana özel becerilere çıktı olarak verir. Depo kök erişimi ve bash/Node dosya sistemi işlemleri gerektirir; bazı iş akışları WP-CLI'ye ihtiyaç duyar. WordPress 6.9+ ve PHP
official
wp-abilities-api
wordpress
WordPress Abilities API kaydı, REST sunumu ve WordPress 6.9+ için istemci tarafı tüketimi. wp_register_ability() ve wp_register_ability_category() kullanarak PHP'de kararlı kimlikler, etiketler ve meta verilerle yetenekler ve kategoriler kaydedin. meta.show_in_rest: true ayarını yaparak yetenekleri /wp-json/wp-abilities/v1/ REST uç noktaları aracılığıyla istemcilere sunun. @wordpress/abilities paketini kullanarak JavaScript'te istemci tarafı erişim ve izin kontrolleri için yetenekleri tüketin. WordPress 6.9+ gerektirir...
official
wp-abilities-audit
wordpress
WordPress eklentisinin REST yüzeyini denetleyin ve Abilities API kayıtları öneren standart bir denetim belgesi oluşturun. YAML içeren bir markdown belgesi üretir…
official
wp-abilities-verify
wordpress
WordPress eklentisinin Abilities API kayıtlarını doğrulayın: yetenekleri numaralandırın, geri çağırma davranışının her açıklamanın iddiasıyla eşleşip eşleşmediğini kontrol edin (saldırgan…
official
wp-block-development
wordpress
WordPress blok geliştirme (Gutenberg için): meta veri, kayıt, oluşturma ve derleme iş akışları. Blok oluşturma, block.json yapılandırması, statik ve dinamik oluşturma ile register_block_type_from_metadata() kullanarak sunucu tarafı PHP kaydını kapsar. WordPress 6.9+ uyumluluğu için apiVersion: 3'ü zorunlu kılar; iframe düzenleyici desteği ve stil izolasyonunu içerir. "Geçersiz blok" hatalarını önlemek için nitelik serileştirme, eski sürümler/geçişler ve iç blok kompozisyonunu yönetir. Şunları içerir...
official
wp-block-themes
wordpress
WordPress blok tema geliştirme: theme.json, şablonlar, desenler ve Site Düzenleyici sorun giderme. theme.json düzenleme (ön ayarlar, ayarlar, blok başına stiller), şablonlar ve şablon parçaları, desenler ve WordPress 6.9+ üzerinde stil varyasyonlarını kapsar. Tema köklerini ve blok tema yapısını tespit etmek için triyaj betikleri ile yeni temalar oluşturma veya klasik temaları dönüştürme için rehberli prosedürler içerir. Stil hiyerarşisi sorunları, kullanıcı özelleştirme geçersiz kılmaları ve Site... için hata ayıklama iş akışları sağlar.
official
wp-interactivity-api
wordpress
WordPress Interactivity API özellikleri (data-wp-* yönergeleri, @wordpress/interactivity store/state/actions, block viewScriptModule…) oluştururken veya hata ayıklarken kullanın.
official