본문으로 건너뛰기
cccskills
무료GitHub에 공개

compliance

Check a change against WordPress.org plugin rules and PHPCS standards.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구WordPress
설치 방법 보기

포함된 파일(1)

  • SKILL.md2.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

WordPress Compliance

Ensure compatibility with:

  • WordPress Plugin Check
  • Repository PHPCS rules
  • WordPress.org expectations

Config

This skill targets wp-media/wp-rocket:

  • TEXT_DOMAIN = rocket
  • CAPABILITIES = WP Rocket's registered custom capabilities (e.g. rocket_manage_options)

Responsibilities

  • Respect repository PHPCS configuration.
  • Follow WordPress escaping standards.
  • Avoid forbidden or deprecated APIs.
  • Avoid direct access to superglobals without sanitization.
  • Ensure output is escaped for context.

Escaping heuristics

HTML text: esc_html() HTML attribute: esc_attr() URL: esc_url() Allowed HTML: wp_kses_post()

Text domain

Use the rocket text domain for all translation calls:

esc_html__( 'Clear Cache', 'rocket' )
esc_attr__( 'WP Rocket Settings', 'rocket' )

Custom capabilities

WP Rocket registers custom capabilities. Always use those (not manage_options) for capability checks. PHPCS is configured to allow them without warnings:

// Correct — use the WP Rocket–registered capability, not manage_options directly
current_user_can( 'rocket_manage_options' )

Using manage_options directly for WP Rocket–specific actions is incorrect and will flag in code review.

JavaScript

  • Do not use jQuery. Use native DOM APIs (document.querySelector, addEventListener, fetch, etc.).
  • jQuery is available in WordPress but its use introduces an unnecessary dependency and conflicts with modern bundling practices.

Anti-patterns

  • Echoing raw variables
  • Introducing unescaped output
  • Storing sensitive values in plain text
  • Bypassing repository PHPCS configuration
  • Using jQuery in new or modified JS code

Related Specs

When relevant, consult repository specs under .claude/specs/, especially:

  • .claude/specs/phpcs/nonce-verification-recommended.md
  • .claude/specs/phpcs/validated-sanitized-input.md
  • .claude/specs/phpcs/escaped-output.md

Git Operations

Follow the policy defined in AGENTS.md §5.1. Outside the issue workflow, do not run git commit or git push.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

challenge

무료

Adversarially review a grooming spec before implementation starts. Finds hidden risks, unvalidated assumptions, and missing dependencies. Standalone entry point for the challenger agent.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wp-media/wp-rocket7672026년 10월 17일 업데이트

docs

무료

Update developer-facing documentation to reflect code changes on the current branch. Runs as an inline skill inside backend-agent and frontend-agent (step 2.5 of the internal sequence) after implementation and before DOD. Receives the explicit list of changed files from the implementation agent. No-op if no public API changes occurred.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wp-media/wp-rocket7672026년 10월 17일 업데이트

dod

무료

Run the Definition of Done checklist for the current wp-rocket branch and report PASS/WARN/FAIL with evidence. Two modes: layer 1 (self-correction inside backend-agent / frontend-agent — resolves FAILs before handoff) and layer 2 (independent orchestrator gate — fresh perspective after handoff). Pass layer: "1" or layer: "2" when invoking.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wp-media/wp-rocket7672026년 10월 17일 업데이트

e2e

무료

Run a basic E2E behavioral probe — one primary scenario smoke test for the grooming step.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wp-media/wp-rocket7672026년 10월 17일 업데이트

groom

무료

Groom a single GitHub issue — produce an implementation spec and optionally post the grooming summary as a GitHub comment. Standalone entry point for the grooming-agent.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wp-media/wp-rocket7672026년 10월 17일 업데이트

Work on a GitHub issue by number for wp-media/wp-rocket. Fetches the issue and hands control to the orchestrator skill (running inline in this conversation), which manages grooming, spec review, implementation, lead review, CI, and QA end-to-end.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wp-media/wp-rocket7672026년 10월 17일 업데이트

wp-media의 스킬 모두 보기

이 스킬의 문제 신고