Skip to content
cccskills
FreePublished on GitHub

review

Review code changes against WooCommerce iOS standards

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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".

The English summary is being prepared. Showing the original description.

woocommerce/woocommerce-ios358Updated Oct 22, 2026

Install dependencies and build tools for WooCommerce iOS

The English summary is being prepared. Showing the original description.

woocommerce/woocommerce-ios358Updated Oct 22, 2026

debug

Free

Debug a failing test or build error in WooCommerce iOS

The English summary is being prepared. Showing the original description.

woocommerce/woocommerce-ios358Updated Oct 22, 2026

lint

Free

Run SwiftLint on the WooCommerce iOS project

The English summary is being prepared. Showing the original description.

woocommerce/woocommerce-ios358Updated Oct 22, 2026

mocks

Free

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

The English summary is being prepared. Showing the original description.

woocommerce/woocommerce-ios358Updated Oct 22, 2026

pr

Free

Create a pull request following WooCommerce iOS conventions

The English summary is being prepared. Showing the original description.

woocommerce/woocommerce-ios358Updated Oct 22, 2026

See all skills by woocommerce

Report a problem with this skill