wp-rest-api

작성자: wordpress

WordPress REST API 엔드포인트를 등록, 검증, 디버깅하며 스키마 적용 및 권한 제어를 수행합니다. register_rest_route()와 WP_REST_Controller 서브클래스를 통한 라우트 등록, register_rest_field 및 메타 등록을 통한 사용자 정의 필드 노출, show_in_rest를 통한 CPT/분류 체계 REST 노출을 다룹니다. 스키마 검증, 인수 정리, 권한 콜백을 적용하며, 쿠키 + nonce, 애플리케이션 비밀번호, 사용자 정의 인증 플러그인을 지원합니다. 문제 해결 워크플로우를 포함하여...

npx skills add https://github.com/wordpress/agent-skills --skill wp-rest-api

wordpress의 다른 스킬

blueprint
wordpress
WordPress Playground blueprint JSON 파일을 생성, 편집 또는 검토할 때 사용합니다. blueprint, Playground 구성 또는 요청에 대한 언급 시 트리거됩니다.
official
wordpress-router
wordpress
We need to translate the given text from English to Korean. The text describes a skill called "wordpress-router" but the instruction says not to include the name unless it appears in the source text. The name does appear in the source? Actually the source text starts with "Classify WordPress codebases..." and does not include "wordpress-router" in the provided text. The instruction says "Do not include the name unless it appears in the source text." So we should not add "wordpress-router" in the translation. The text is a description of the skill. We need to preserve product names like WordPress, WP-CLI, PHP, etc. Also preserve technical terms like "repo type", "plugin", "theme", "block theme", "Gutenberg blocks", "WP core", "bash/Node filesystem operations", "WP-CLI", "PHP 7.2.24+", "WordPress 6.9+". Also preserve numbers and URLs (none here). Translate the rest naturally into Korean. The text: "Classify WordPress codebases and
official
wp-abilities-api
wordpress
WordPress Abilities API 등록, REST 노출, WordPress 6.9+용 클라이언트 측 사용. PHP에서 wp_register_ability() 및 wp_register_ability_category()를 사용하여 안정적인 ID, 레이블, 메타데이터로 능력과 카테고리를 등록합니다. meta.show_in_rest: true를 설정하여 /wp-json/wp-abilities/v1/ REST 엔드포인트를 통해 클라이언트에 능력을 노출합니다. @wordpress/abilities 패키지를 사용하여 JavaScript에서 능력을 사용하고 클라이언트 측 접근 및 권한 확인을 수행합니다. WordPress 6.9+ 필요...
official
wp-block-development
wordpress
WordPress 블록 개발 for Gutenberg: 메타데이터, 등록, 렌더링 및 빌드 워크플로우. 블록 생성, block.json 구성, 정적 vs 동적 렌더링, register_block_type_from_metadata()를 사용한 서버 측 PHP 등록을 다룹니다. WordPress 6.9+ 호환성을 위해 apiVersion: 3을 적용하며, iframe 편집기 지원 및 스타일 격리를 포함합니다. 속성 직렬화, "잘못된 블록" 오류를 방지하기 위한 폐기/마이그레이션, 내부 블록 구성을 처리합니다. 포함...
official
wp-block-themes
wordpress
WordPress 블록 테마 개발: theme.json, 템플릿, 패턴 및 사이트 편집기 문제 해결. theme.json 편집(프리셋, 설정, 블록별 스타일), 템플릿 및 템플릿 부분, 패턴, WordPress 6.9+에서의 스타일 변형을 다룹니다. 테마 루트와 블록 테마 구조를 감지하는 트라이지 스크립트와 새 테마 생성 또는 클래식 테마 변환을 위한 안내 절차를 포함합니다. 스타일 계층 문제, 사용자 맞춤 재정의 및 사이트 편집기 관련 디버깅 워크플로우를 제공합니다.
official
wp-interactivity-api
wordpress
WordPress Interactivity API 기능(데이터-wp-* 지시문, @wordpress/interactivity 스토어/상태/액션, 블록 viewScriptModule…)을 구축하거나 디버깅할 때 사용합니다.
official
wp-performance
wordpress
백엔드 전용 WordPress 성능 프로파일링 및 최적화로, WP-CLI, Query Monitor, 대상 진단을 사용합니다. WP-CLI doctor/profile 명령어, Server-Timing 헤더, Query Monitor REST API 통합을 통해 브라우저 접근 없이 성능 병목을 감지하고 측정합니다. 다섯 가지 최적화 범주를 다룹니다: 데이터베이스 쿼리 감소, 자동 로드 옵션 정리, 객체 캐시 구성, cron 작업 최적화, 원격 HTTP 호출 관리. 안전한 검증을 포함합니다...
official
wp-phpstan
wordpress
PHPStan 설정, 오류 수정 및 WordPress 프로젝트를 위한 베이스라인 관리. WordPress 특화 타입 패턴 처리: WP_REST_Request를 사용한 REST 엔드포인트, 정확한 @param 타입의 훅 콜백, 데이터베이스 결과, Action Scheduler 작업 인자. 스텁(php-stubs/woocommerce-stubs, php-stubs/acf-pro-stubs) 및 대상 지정 무시 패턴을 통해 서드파티 플러그인/테마 클래스 해석 관리. 결정론적 PHPStan 검색, 설정 검증, 베이스라인 제공.
official