# Streamline WooCommerce Development Checks

WooCommerce contributors need project-specific commands for testing and code quality. This skill provides focused workflows for tests, linting, formatting, and troubleshooting.

## Install

```bash
npx skillstore add woocommerce/woocommerce-dev-cycle
```

## Metadata

- Status: approved
- Slug: woocommerce-woocommerce-dev-cycle
- Skillstore revision: r2
- Version status: missing
- Tree hash: c01f1a33bb35f9a7f5beab1f0c02ba482a5edebd749d246560eefc895d58b154
- Author: woocommerce
- GitHub username: woocommerce
- License: MIT
- Repository: https://github.com/woocommerce/woocommerce/tree/trunk/.ai/skills/woocommerce-dev-cycle
- Ref: 88a8e9a07f4c54ab105c1c41b6267c287146b07b
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: network, external\_commands
- Quality score: 79
- Quality tier: bronze
- Public page: https://skillstore.pages.dev/skills/woocommerce-woocommerce-dev-cycle
- Manifest: https://skillstore.pages.dev/api/skills/woocommerce-woocommerce-dev-cycle/manifest

## Capabilities

- Selects focused PHP unit test commands by class, method, directory, or name pattern.
- Guides JavaScript test execution, watch mode, file targeting, and coverage checks.
- Explains branch-scoped PHP and JavaScript linting commands and automatic fixes.
- Provides WooCommerce PHP style patterns for comments, headers, alignment, parameters, and indentation.
- Provides JavaScript and TypeScript localization patterns for plurals, placeholders, links, and translator comments.
- Guides Markdown linting, UTF-8 checks, code fence fixes, line wrapping, and spacing.

## Use Cases

- Validate a PHP change: Choose focused unit tests, run branch-level PHP linting, and review failures before committing.
- Check localized interface text: Review placeholders, plural forms, translator comments, linked text, and relevant JavaScript lint commands.
- Prepare documentation updates: Run repository-aware Markdown checks and fix code fences, line length, spacing, and encoding issues.

## Prompt Templates

### Run one PHP test

```
Show the command to run the WooCommerce PHP test class [class name]. Explain how to read a failure.
```

### Check changed files

```
Create a WooCommerce quality check sequence for my changed [PHP or JavaScript] files. Include tests, branch-scoped linting, and review steps.
```

### Fix localization lint errors

```
Review this localization issue: [error and surrounding text]. Recommend the correct placeholders, translator comments, plural handling, and targeted lint command.
```

### Diagnose a failing development cycle

```
Analyze this WooCommerce test and lint output: [output]. Separate root causes, propose focused commands, and order fixes to minimize unrelated changes.
```

## Limitations

- Requires a local WooCommerce repository with its dependencies and test environment configured.
- Does not replace test design, code review, or manual validation of business behavior.
- Commands can vary when WooCommerce scripts or repository structure change.
- Automatic lint fixes may modify files and still require review before commit.

## Best Practices

- Run the smallest relevant test set during development, then broaden validation before committing.
- Use branch-scoped or file-specific lint commands to avoid unrelated changes.
- Review every automatic fix and rerun affected tests and checks.

## Anti Patterns

- Do not lint the entire repository when only branch changes require validation.
- Do not commit automatic formatting changes without reviewing the diff.
- Do not hardcode translatable brand names or interpolate variables without translator context.

## Security Audit

- Audited at: 2026-07-24T02:00:28.139\+00:00
- Summary: All 19 static findings are false positives caused by documentation examples, ordinary identifiers, or Markdown command formatting. No semantic evidence of prompt injection, data exfiltration, or malicious intent was found.

## Stats

- Views: 380
- Downloads: 12
- Favorites: 0
- Popularity score: 0
