wordpress-plugin-publish

작성자: automattic

이 스킬은 Pressship으로 WordPress.org 플러그인을 게시, 제출, 재업로드, 확인, 패키징, 점검, 데모 또는 릴리스할 때 사용합니다. 다음을 포함합니다…

npx skills add https://github.com/automattic/pressship --skill wordpress-plugin-publish

WordPress Plugin Publish

Use Pressship for WordPress.org plugin submission and release work. Prefer npx pressship unless the user explicitly wants the local checkout version or the WP-CLI package (wp ship).

Install Surfaces

Use the install surface the user asks for:

npx pressship verify .
wp package install f/pressship
wp ship verify .
npm install -g pressship
pressship verify .

For agent skill installation:

npx skills add f/pressship --skill wordpress-plugin-publish -a codex
npx skills add f/pressship --skill wordpress-plugin-publish -a claude-code

Safety Rules

  • Never publish, submit, reupload, or release without first running a dry run, unless the user explicitly says to skip it.
  • Do not push git commits or tags unless the user explicitly asks.
  • Report Plugin Check findings clearly. Do not hide them just because Pressship can continue.
  • Use repeatable excludes for large or source-only files. Prefer .pressshipignore when the project already has one.
  • Use --no-verify only when the user explicitly asks to bypass readme validation and Plugin Check.
  • If Pressship prompts interactively, answer only with user-approved or obvious plugin metadata.
  • If authentication fails, run npx pressship login and let the user complete WordPress.org login.
  • For approved-plugin SVN releases, expect Pressship to verify before SVN changes, reject already-published versions, and ask for a generated WordPress.org SVN password when needed.

Orientation

From the plugin directory:

npx pressship whoami
npx pressship verify .
npx pressship status .
npx pressship info .
npx pressship info --remote

Use status to determine whether publish will target a pending submission reupload or an approved SVN release. Use verify when you need readme validation and Plugin Check without creating a zip.

Local Playground Test

Start a local WordPress Playground with the plugin mounted:

npx pressship demo .

Useful options:

npx pressship demo . --port 9401
npx pressship demo . --wp 6.8 --php 8.3
npx pressship demo . --reset
npx pressship demo . --skip-browser

Verify And Package

Run the publishing checks without creating a zip:

npx pressship verify .

Create a validated WordPress-installable zip without uploading:

npx pressship pack .

For projects with bulky assets or source-only files, pass explicit ignores:

npx pressship pack . --ignore "assets/**" --ignore "src/**" --ignore "node_modules/**"

pack, publish, submit, and SVN release verify by default. If the user explicitly chooses to bypass checks, use the unified flag:

npx pressship pack . --no-verify
npx pressship publish . --no-verify

Inspect package file count and included paths. Make sure the ZIP contains runtime PHP, built assets, readme.txt, and any required examples or static assets. Confirm .pressship-svn is never included.

Submit Or Reupload Pending Review

Use this for new plugins or WordPress.org submissions still awaiting review.

Dry run first:

npx pressship publish . --dry-run -y

Then upload:

npx pressship publish . -y

When the project contains large non-distribution directories, repeat the same ignore flags in both commands:

npx pressship publish . --dry-run -y \
  --ignore "assets/**" \
  --ignore "src/**" \
  --ignore "scripts/**" \
  --ignore "package.json" \
  --ignore "package-lock.json" \
  --ignore ".github/**" \
  --ignore "node_modules/**" \
  --ignore "dist/**"

npx pressship publish . -y \
  --ignore "assets/**" \
  --ignore "src/**" \
  --ignore "scripts/**" \
  --ignore "package.json" \
  --ignore "package-lock.json" \
  --ignore ".github/**" \
  --ignore "node_modules/**" \
  --ignore "dist/**"

After upload, confirm:

npx pressship status .

Release Approved Plugin

Use this only when the plugin is already approved and the user wants a WordPress.org release.

For an existing WordPress.org plugin, the normal SVN-based edit flow is:

npx pressship get my-plugin ./my-plugin
cd ./my-plugin
npx pressship version patch
npx pressship publish --release --dry-run -y
npx pressship publish --release -y

Pressship treats the SVN checkout root as the project root and edits trunk/. It should stop with "No version change detected" if the target tag already exists.

Dry run first:

npx pressship publish . --release --dry-run -y

Then release:

npx pressship publish . --release -y

If Pressship cannot infer the slug or username:

npx pressship release . --slug my-plugin --username WpOrgUser --dry-run
npx pressship release . --slug my-plugin --username WpOrgUser -y

If svn is missing, let Pressship detect the OS and offer installation, or pass --no-install-svn only when the user wants manual setup. If the SVN password is missing, Pressship points to the user's WordPress.org SVN password page and saves the generated password locally after they provide it.

Version Bumps

Only run version bumps when the user asks:

npx pressship version patch .
npx pressship version minor .
npx pressship version major .

After a version bump, review changed plugin headers, readme.txt stable tag, and changelog.

Final Report

Always include:

  • Whether a dry run was run.
  • Whether verify ran and whether validation was bypassed.
  • Package size and notable included/excluded files.
  • Plugin Check result summary.
  • Upload/release status and slug.
  • SVN checkout/tag status for approved releases.
  • Whether git was left untouched or changed.

automattic의 다른 스킬

dn-info
automattic
등록된 도메인의 상세 정보를 dn CLI를 사용하여 조회합니다. 사용자가 만료일, 네임서버, 연락처 등의 도메인 세부 정보를 확인하려 할 때 사용하세요.
official
dev
automattic
WordPress ActivityPub 플러그인의 개발 워크플로우로, wp-env 설정, 테스트 명령어, 린팅, 빌드 프로세스를 포함합니다. 개발 환경을 설정할 때 사용하세요.
official
gitattributes
automattic
.gitattributes export-ignore 구성을 감사하거나 업데이트할 때 사용하여 개발 전용 파일(린트 설정, CI, 테스트, 문서, 빌드 도구)이 배포되지 않도록 합니다.
official
integrations
automattic
서드파티 워드프레스 플러그인 통합 패턴입니다. 새 통합을 추가하거나, 다른 플러그인과의 호환성을 디버깅하거나, 기존 작업을 할 때 사용하세요.
official
design-systems
automattic
대담한 미적 방향성을 제시하는 웹 디자인 가이드. 타이포그래피, 색상, 모션, 공간 구성 및 전반적인 시각적 요소에 대한 창의적 결정을 내릴 때 사용합니다.
official
site-specification
automattic
간단한 설명에서 포괄적인 사이트 사양을 추출합니다. 사용자의 테마 요청을 분석하여 사이트 유형, 대상, 톤, 레이아웃 등을 결정할 때 사용합니다.
official
wordpress-block-theming
automattic
WordPress 전체 사이트 편집(FSE) 테마 아키텍처. theme.json, 블록 템플릿, 템플릿 파트, 패턴 및 functions.php를 생성할 때 사용합니다.
official
wordpress-workspace-agent-ux-consistency-check
automattic
WordPress Workspace Agent, 사이트 선택기, 대화 기록, Quick Ask, QuickLauncher, 설정, 사이드바 UX가 리포지토리의 평이하고 일관된 스타일과 일치하는지 검토합니다.
official