Agent skill

Store Tests

by woocommerce in woocommerce/woocommerce-android

Main app unit testing patterns (BaseUnitTest, BDD naming, mockito-kotlin, AssertJ, StateFlow/LiveData capture, coroutine dispatchers).

GPL-2.0Auto-check: notesTesting & QA

Install Store Tests

skills CLI
$ npx skills add woocommerce/woocommerce-android --skill store-tests -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install woocommerce/woocommerce-android store-tests --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/woocommerce/woocommerce-android.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/store-tests .claude/skills/store-tests && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
store-tests
GitHub stars
319
Token cost
~239 tokens
SKILL.md length
70 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
GPL-2.0

At a glance

Main app unit testing patterns (BaseUnitTest, BDD naming, mockito-kotlin, AssertJ, StateFlow/LiveData capture, coroutine dispatchers).

  • Works in 5 steps: Read the class under test to understand… → Find existing tests in the same… → Determine test location: mirror main… → …
  • Reviewing unit tests in the store management app
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Unit testing

What it does

Store Tests is an agent skill from woocommerce/woocommerce-android. Main app unit testing patterns (BaseUnitTest, BDD naming, mockito-kotlin, AssertJ, StateFlow/LiveData capture, coroutine dispatchers). Use when writing, editing, exploring, debugging, or reviewing unit tests in the store management app. For POS (WooPos) tests, use the pos-tests skill instead.

Its SKILL.md is about 240 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Unit testing and Android development. It works with WooCommerce and Kotlin. The repository describes itself as: WooCommerce Android app. The licence is GPL-2.0.

When your agent uses it

  • Reviewing unit tests in the store management app
  • Tasks that involve Unit testing
  • Tasks that involve Android development

Example prompts

  • “/store-tests”

Requirements

  • Pre-approved tools (allowed-tools): Bash, Read, Write, Edit, Grep, Glob

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Read the class under test to understand its dependencies, public API, and state management
  2. Find existing tests in the same package/feature for patterns to follow
  3. Determine test location: mirror main source path under src/test/
  4. Write the test class following the conventions in the testing doc above
  5. Run the test: ./gradlew :WooCommerce:testWasabiDebugUnitTest --tests "*.ClassName"

What it can do on your machine

Read from SKILL.md and the folder at commit 309d0f5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write
    • Edit
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Store Tests loads about 239 tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 70 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~239

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write, Edit, Grep, Glob

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from woocommerce/woocommerce-android at commit 309d0f5, republished under its GPL-2.0 licence (© woocommerce). 70 words, ~239 tokens.

Download SKILL.mdSave it as .claude/skills/store-tests/SKILL.md (or your agent's skills folder).
name
store-tests
description
Main app unit testing patterns (BaseUnitTest, BDD naming, mockito-kotlin, AssertJ, StateFlow/LiveData capture, coroutine dispatchers). Use when writing, editing, exploring, debugging, or reviewing unit tests in the store management app. For POS (WooPos*) tests, use the `pos-tests` skill instead.
allowed-tools
Bash, Read, Write, Edit, Grep, Glob
user-invocable
true

Store App Unit Tests

@docs/store-testing.md

Workflow

  1. Read the class under test to understand its dependencies, public API, and state management
  2. Find existing tests in the same package/feature for patterns to follow
  3. Determine test location: mirror main source path under src/test/
  4. Write the test class following the conventions in the testing doc above
  5. Run the test: ./gradlew :WooCommerce:testWasabiDebugUnitTest --tests "*.ClassName"
    • For libs: ./gradlew :libs:<module>:testDebugUnitTest --tests "*.ClassName"

© woocommerce, GPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/store-tests of woocommerce/woocommerce-android.

Open the folder on GitHubat commit 309d0f5

Compare with similar skills

Store Tests next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Store Tests compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Store Tests this skillwoocommerce/woocommerce-android319—~239Automated safety check: NotesGPL-2.0
Mocking With Mockitoskydoves/android-testing-skills333—~4.5kAutomated safety check: PassApache-2.0
Mocking With Mockkskydoves/android-testing-skills333—~4.1kAutomated safety check: PassApache-2.0
Improve Code Coveragealexvanyo/composelife267—~1.1kAutomated safety check: PassApache-2.0
Quality Test Pilotnekomangaorg/Neko2.8k—~1.1kAutomated safety check: PassApache-2.0
Mps TestsJetBrains/MPS1.7k—~3kAutomated safety check: PassApache-2.0

Similar skills

  • Mocking With Mockito

    skydoves/android-testing-skills

    A skill your agent uses to wire Mockito (the dominant Android mocking framework, exclusively used by androidx itself) into a JVM unit-test suite.

    333 GitHub stars~4.5k tokensUpdated 4 mo ago
    Testing & QAAuto-check passed
  • Mocking With Mockk

    skydoves/android-testing-skills

    A skill your agent uses to wire MockK (the Kotlin-first mocking framework) into a JVM unit-test suite, especially when coroutines, singleton/object mocking, or constructor mocking dominate.

    333 GitHub stars~4.1k tokensUpdated 4 mo ago
    Testing & QAAuto-check passed
  • Improve Code Coverage

    alexvanyo/composelife

    Helps increment code coverage in this Kotlin Multiplatform project.

    267 GitHub stars~1.1k tokensUpdated today
    MobileAuto-check passed
  • Quality Test Pilot

    nekomangaorg/Neko

    Writes high-quality unit tests for Kotlin Android codebases to increase meaningful test coverage.

    2.8k GitHub stars~1.1k tokensUpdated today
    Testing & QAAuto-check passed
  • Mps Tests

    JetBrains/MPS

    Official

    A skill your agent uses when writing or modifying tests inside MPS @tests models — NodesTestCase (typesystem, constraints, scopes, dataflow, generator output), EditorTestCase (intentions, actions…

    1.7k GitHub stars~3k tokensUpdated today
    MobileAuto-check passed
  • Kotest

    jvm-skills/jvm-skills

    Write a new Kotlin test, or modernize an existing one, using Kotest matchers and idiomatic Kotlin test style — backticked names, apply/assertSoftly blocks, and existing object mothers and helpers.

    140 GitHub stars~2.6k tokensUpdated 1 mo ago
    MobileAuto-check passed

More from woocommerce/woocommerce-android

All 11 skills in this repo
  • PR

    woocommerce/woocommerce-android

    Create a pull request following project conventions. An agent skill from woocommerce/woocommerce-android.

    319 GitHub stars~1.3k tokensUpdated today
    Auto-check: notes
  • PR Feedback

    woocommerce/woocommerce-android

    Address PR reviewer feedback by evaluating comments, proposing fixes, and executing after user approval.

    319 GitHub stars~1.3k tokensUpdated today
    Auto-check: notes
  • Setup Test Stores

    woocommerce/woocommerce-android

    Provision a disposable Jurassic Ninja store for the Maestro smoke suite, connect Jetpack to the developer's own WordPress.com test account, create WooCommerce API keys, and write .maestro/.env.local.

    319 GitHub stars~1.4k tokensUpdated today
    Auto-check: notes
  • UI Review

    woocommerce/woocommerce-android

    Generate screenshot coverage for screen-level Compose previews from the current diff or a specific target, check required visual and data variations, and produce a compact visual report

    319 GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • Review

    woocommerce/woocommerce-android

    Review code changes against project architecture, style, and conventions

    319 GitHub stars~600 tokensUpdated today
    Auto-check: notes
  • Smoke Tests

    woocommerce/woocommerce-android

    Prepare the local environment for the Maestro smoke-test suite — verify tooling, select a device, collect the APK if needed, validate the .env file by variable name only, then hand the user the…

    319 GitHub stars~1.7k tokensUpdated today
    Auto-check: notes

Questions about Store Tests

What does Store Tests do?

Main app unit testing patterns (BaseUnitTest, BDD naming, mockito-kotlin, AssertJ, StateFlow/LiveData capture, coroutine dispatchers). Store Tests is an agent skill from woocommerce/woocommerce-android. Main app unit testing patterns (BaseUnitTest, BDD naming, mockito-kotlin, AssertJ, StateFlow/LiveData capture, coroutine dispatchers).

When should I use Store Tests?

Store Tests fits situations like: reviewing unit tests in the store management app; tasks that involve Unit testing; tasks that involve Android development.

How do I install Store Tests in Claude Code?

Run `npx skills add woocommerce/woocommerce-android --skill store-tests -a claude-code`. Or copy the skill folder (.agents/skills/store-tests in woocommerce/woocommerce-android) into .claude/skills/store-tests in your project. Claude Code loads it when a task matches its description.

How do I install Store Tests in Codex?

Run `npx skills add woocommerce/woocommerce-android --skill store-tests -a codex`. Or copy the skill folder (.agents/skills/store-tests in woocommerce/woocommerce-android) into .agents/skills/store-tests in your project. Codex loads it when a task matches its description.

Can I use Store Tests in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add woocommerce/woocommerce-android --skill store-tests -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/store-tests, .gemini/skills/store-tests, .github/skills/store-tests and .opencode/skills/store-tests in your project.

What does Store Tests need to run?

SKILL.md names no scripts, command-line tools or credentials: Store Tests is instructions for the agent only. Its frontmatter pre-approves these tools: Bash, Read, Write, Edit, Grep, Glob.

Does Store Tests access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Store Tests safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Store Tests use?

Store Tests is published under the GPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Store Tests use?

About 239 tokens (SKILL.md is roughly 956 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Store Tests?

Skills that share tags, products or a category with Store Tests: Mocking With Mockito (skydoves/android-testing-skills, 333 stars), Mocking With Mockk (skydoves/android-testing-skills, 333 stars), Improve Code Coverage (alexvanyo/composelife, 267 stars) and Quality Test Pilot (nekomangaorg/Neko, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Store Tests?

woocommerce (a GitHub organization) maintains it in woocommerce/woocommerce-android, which has 319 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 9, 2026.

Source: woocommerce/woocommerce-android on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.