跳到正文
cccskills
免费在 GitHub 公开

pr

INVOKE THIS SKILL before creating any PR to ensure compliance with branch naming, changelog requirements, and reviewer assignment.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

ATmosphere PR Workflow

Quick-reference for opening a PR. Full reference: docs/pull-request.md.

Branch Naming

PrefixUse
add/{feature}New feature.
update/{feature}Iterating on an existing feature.
fix/{bug}Bug fix.
try/{idea}Experimental — open as draft.

Reserved: release/{X.Y.Z} (owned by the release script), trunk.

git checkout trunk && git pull origin trunk
git checkout -b fix/something

Required Before Opening

  1. Lint + tests must pass.

    composer lint
    npm run env-test
    
  2. Changelog entry or Skip Changelog label.

    composer changelog:add
    

    Commit the entry on the same branch as the code change. End the message with punctuation. Write for end users — no class names, no internal jargon.

    If neither a changelog entry nor a Skip Changelog label applies, stop and ask the user which they prefer. Don't open the PR with neither.

  3. Code review. Delegate the diff to the code-review agent. Address every critical finding before opening the PR.

Opening the PR

# Create PR (includes required assignment/reviewer).
gh pr create --assignee @me --reviewer Automattic/atmosphere

Copilot is requested as a reviewer automatically by the trunk branch ruleset — don't add it manually.

Use .github/PULL_REQUEST_TEMPLATE.md as-is — don't invent custom formatting. The body must include:

  • Summary explaining why (not just what — the diff covers that).
  • Testing instructions a reviewer can reproduce locally.
  • Screenshots for any visual change (before / after).

Changelog Messages

Write for end users; they appear in the WordPress update screen.

✅ Fix posts not appearing on Bluesky when published via Quick Edit.
✅ Add option to disable standard.site document records.
❌ Refactor Publisher class to handle edge case in applyWrites batch.
❌ Fix TID collision in transformer output.

End with punctuation. Never mention AI tools or coding assistants.

When to Read the Full Docs

Read docs/pull-request.md when you need:

  • The full pre-PR checklist (code preparation, testing, documentation, review).
  • Commit message format (the Type: prefix table).
  • Special situations — Hotfix, Breaking Change, New Feature, Bug Fix, Experimental, Multi-PR Feature checklists.
  • Common review feedback patterns — what reviewers typically ask for and how to respond.
  • Label reference.

Related Skills

  • release — release script, patch releases, GitHub Release UI.
  • dev — running tests, linting, troubleshooting wp-env.
  • code-style — PHP conventions the reviewer will be checking against.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

PHP coding standards and WordPress patterns for ATmosphere plugin. Use when writing PHP code, creating classes, implementing WordPress hooks, or structuring plugin files.

中文简介正在准备中。当前显示原文说明。

Automattic/wordpress-atmosphere542026年10月19日 更新

dev

免费

Development workflows for WordPress ATmosphere plugin including wp-env setup, testing commands, linting, and build processes. Use when setting up development environment, running tests, checking code quality, or working with wp-env.

中文简介正在准备中。当前显示原文说明。

Automattic/wordpress-atmosphere542026年10月19日 更新

pr

免费

MUST be invoked before creating any PR, pushing a branch for review, or running `gh pr create`. Covers changelog entries, branch naming, PHPCS/PHPUnit checks, and reviewer assignment.

中文简介正在准备中。当前显示原文说明。

Automattic/wordpress-atmosphere542026年10月19日 更新

release

免费

Version management and release processes using Jetpack Changelogger. Use when creating releases, managing changelogs, bumping versions, or preparing releases.

中文简介正在准备中。当前显示原文说明。

Automattic/wordpress-atmosphere542026年10月19日 更新

test

免费

Testing patterns for PHPUnit tests. Use when writing tests, debugging test failures, setting up test coverage, or implementing test patterns for ATmosphere features.

中文简介正在准备中。当前显示原文说明。

Automattic/wordpress-atmosphere542026年10月19日 更新

查看 Automattic 的全部技能

报告此技能的问题