跳到正文
cccskills
免费在 GitHub 公开

pr

Create a pull request following WooCommerce iOS conventions

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

集成工具LinearGitHub
查看安装方法

包含的文件(1)

  • SKILL.md3.5 KB

SKILL.md(原文)

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

Create a pull request following WooCommerce iOS conventions.

Steps:

  1. Verify the current branch is not trunk:
git branch --show-current
  1. Check the diff against trunk:
git log trunk..HEAD --oneline
git diff trunk...HEAD --stat
  1. Check non-test diff size (should be under 300 lines):
git diff trunk...HEAD --stat -- . ':!*Tests*' ':!*Test*' ':!*.generated.*'
  1. Review the changes to write an accurate description. Read modified files if needed.

    • Never include actual Linear issue links (e.g., https://linear.app/...) in PR descriptions — Linear is an internal resource. Only reference the issue ID (e.g., WOOMOB-2485).
  2. Determine if RELEASE-NOTES.txt needs updating. If the change is user-facing, remind about adding a release note entry.

  3. Push the branch:

git push -u origin HEAD
  1. Create the PR. The description must follow the template in .github/PULL_REQUEST_TEMPLATE.md:
gh pr create --base trunk --title "<concise title>" --body "$(cat <<'EOF'
## Description
<description of changes — why and what>

## Test Steps
<how to test>

## Screenshots
N/A

---
- [ ] I have considered if this change warrants user-facing release notes and have added them to `RELEASE-NOTES.txt` if necessary.
EOF
)"
  1. Add labels. After creating the PR, add all labels in a single call using multiple --add-label flags: gh pr edit <number> --add-label "<label1>" --add-label "<label2>". Pick labels from these categories:

    • Type (pick one): type: bug, type: crash, type: enhancement, type: task, type: technical debt, type: documentation, type: question
    • Feature (pick one if applicable): match the changed area to a feature: * label (e.g., feature: POS, feature: order list, feature: order details, feature: product details, feature: login, feature: dashboard, feature: analytics hub, feature: coupons, feature: shipping labels, feature: order creation, feature: notifications, feature: Blaze, feature: CIAB Mobile Experience, feature: subscriptions, feature: app settings, etc.)
    • Priority (pick one if known): priority: low, priority: medium, priority: high, priority: critical
    • Category (pick any that apply): category: accessibility, category: design, category: performance, category: tracks, category: unit tests, category: ui tests, category: tooling, category: parity, category: i18n, category: dark mode, category: tablet, etc.
    • If the feature is behind a flag, also add status: feature-flagged
    • Infer labels from the diff and branch name. If unsure about the feature label, ask the user.
  2. Set milestone. After creating the PR, assign the correct milestone:

    • List open milestones: gh api repos/woocommerce/woocommerce-ios/milestones --jq '.[] | "\(.title)\t\(.description)"'
    • Each milestone description contains a Code Freeze: date.
    • If the PR targets trunk: pick the earliest milestone whose code freeze date has not yet passed (i.e., the next unfrozen milestone).
    • If the PR targets a release/X.Y branch: use milestone X.Y (the frozen release milestone).
    • Apply with: gh pr edit <number> --milestone "<milestone title>"
  3. Report the PR URL.

If non-test diff exceeds 300 lines, warn that Danger will flag it and suggest splitting.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Log in to a test store on an iOS simulator. Use live-store DEBUG login by default, WireMock when mocks are requested, and the specified store for "my site".

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

woocommerce/woocommerce-ios3582026年10月17日 更新

bootstrap

免费

Install dependencies and build tools for WooCommerce iOS

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

woocommerce/woocommerce-ios3582026年10月17日 更新

debug

免费

Debug a failing test or build error in WooCommerce iOS

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

woocommerce/woocommerce-ios3582026年10月17日 更新

lint

免费

Run SwiftLint on the WooCommerce iOS project

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

woocommerce/woocommerce-ios3582026年10月17日 更新

mocks

免费

Start or stop the WireMock API mock server for UI testing and E2E verification.

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

woocommerce/woocommerce-ios3582026年10月17日 更新

review

免费

Review code changes against WooCommerce iOS standards

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

woocommerce/woocommerce-ios3582026年10月17日 更新

查看 woocommerce 的全部技能

报告此技能的问题