跳到正文
cccskills
免费在 GitHub 公开

review

Review code changes against WooCommerce iOS standards

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

查看安装方法

包含的文件(1)

  • SKILL.md1.7 KB

SKILL.md(原文)

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

Review the current changes for compliance with WooCommerce iOS conventions.

  1. Get the changes to review:
git diff trunk...HEAD

If no diff against trunk, fall back to staged changes: git diff --cached

  1. Check each modified file against these criteria:

Architecture (see .agents/rules/architecture.md):

  • UI code does not import Networking or Storage directly
  • New actions follow the Yosemite dispatch pattern
  • Dependencies injected via constructor with protocol types
  • Coordinators for navigation, ViewModels for state

Swift Style (see .agents/rules/swift-style.md):

  • No force unwraps or force casts
  • Error handling uses do-catch, not try?
  • Line length under 163 characters
  • No parentheses around conditionals

Localization (see .agents/rules/localization.md):

  • NSLocalizedString uses reverse-DNS keys with value: and comment:
  • No LocalizedStringKey
  • No string interpolation in localized strings
  • Positional placeholders (%1$@)
  • Strings grouped in enum Localization { }

Analytics (see .agents/rules/analytics.md):

  • New events added to WooAnalyticsStat
  • Properties use WooAnalyticsEvent factory pattern
  • Analytics dependency injected

Testing (see .agents/rules/testing.md):

  • New code has corresponding tests
  • Tests use snake_case naming
  • Given/When/Then structure
  • Hand-written mocks with Mock prefix
  1. Report findings organized by severity:
    • Blockers: Must be fixed before merge
    • Suggestions: Recommended improvements
    • Positives: Things done well

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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月22日 更新

bootstrap

免费

Install dependencies and build tools for WooCommerce iOS

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

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

debug

免费

Debug a failing test or build error in WooCommerce iOS

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

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

lint

免费

Run SwiftLint on the WooCommerce iOS project

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

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

mocks

免费

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

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

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

pr

免费

Create a pull request following WooCommerce iOS conventions

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

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

查看 woocommerce 的全部技能

报告此技能的问题