Agent skill

Pierre Testing and Verification Guide

by pierrecomputer in pierrecomputer/pierre

Chooses the right verification step after a code change in Pierre's monorepo: format and lint, a typecheck, Bun unit tests, snapshots, or Playwright E2E.

Apache-2.0Auto-check passedTesting & QA

Install Pierre Testing and Verification Guide

skills CLI
$ npx skills add pierrecomputer/pierre --skill testing-and-verification -a claude-code

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

GitHub CLI
$ gh skill install pierrecomputer/pierre testing-and-verification --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/pierrecomputer/pierre.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/testing-and-verification .claude/skills/testing-and-verification && 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
testing-and-verification
GitHub stars
6.2k
Token cost
~608 tokens
SKILL.md length
235 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
Apache-2.0

At a glance

Chooses the right verification step after a code change in Pierre's monorepo: format and lint, a typecheck, Bun unit tests, snapshots, or Playwright E2E.

  • Deciding which verification step to run after a code change
  • SKILL.md covers Baseline Commands, Unit and Integration Tests, Snapshots and Browser and E2E Tests
  • Calls bun
  • Running unit tests scoped to just the packages that changed

What it does

After any code change, a baseline format-and-lint command runs from anywhere in the repo through the project's task runner, with separate check-only and fix variants available for the root project. Code changes also get a typecheck scoped to the affected project, with the task runner automatically building workspace dependencies first, and an `--affected` flag available to scope the check to only what actually changed.

Unit and integration tests use Bun's built-in runner with `describe`, `test` and `expect`, usually living in a `test/` folder inside each package; running the whole suite is possible but tests import workspace dependencies through their built output, so either the task runner builds those first or `bun test` is run directly once the dist output is already fresh. Snapshot testing is supported but discouraged except where it stays shallow and narrowly scoped to the exact behavior under test, updated from the package directory with a dedicated flag.

Browser and end-to-end tests are reserved for behavior that genuinely cannot be checked without a real browser engine, such as computed style checks or shadow DOM boundaries, kept small and high-value rather than broad. A React-oriented lint rule set is overridden off for two specific Preact component directories, so new Preact components belong there rather than getting a one-off lint-disable comment.

When your agent uses it

  • Deciding which verification step to run after a code change
  • Running unit tests scoped to just the packages that changed
  • Adding a browser E2E test for behavior that needs a real rendering engine
  • Updating a snapshot test from inside its package directory

Example prompts

  • “What should I run after this change to the trees package?”
  • “Add a Playwright test for this shadow DOM boundary behavior.”
  • “Update the snapshot for this component after my change.”

Requirements

  • Bun
  • The project's moon task runner
  • Playwright, for browser E2E tests

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bun

    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

Pierre Testing and Verification Guide loads about 608 tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 235 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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 pierrecomputer/pierre at commit d302ea0, republished under its Apache-2.0 licence (© pierrecomputer). 235 words, ~608 tokens.

Download SKILL.mdSave it as .claude/skills/testing-and-verification/SKILL.md (or your agent's skills folder).
name
testing-and-verification
description
Use when adding or running tests, checking snapshots, choosing between Bun tests and Playwright, running lint/format/typecheck, or deciding the verification scope for a change.

Testing and Verification

Baseline Commands

After code changes, run the required baseline (moon tasks run from anywhere in the repo, including CI-marked agent shells):

bash
moon run root:format root:lint

Useful check/fix pairs on the root project:

bash
moon run root:format-check
moon run root:format
moon run root:lint
moon run root:lint-fix
moon run root:lint-css
moon run root:lint-css-fix

For code changes, also run the relevant typecheck (moon builds workspace dependencies first automatically):

bash
moonx <project>:typecheck
# or, scoped to what actually changed:
moonx :typecheck --affected

The React Compiler lint rules (react/* in .oxlintrc.json) assume React. packages/trees/src/render/**/*.tsx and packages/trees/src/components/**/*.tsx are Preact, so an overrides entry there turns react/refs off for those globs. Put new Preact components under those directories instead of adding per-file oxlint-disable headers.

Unit and Integration Tests

Use Bun's built-in test runner. Tests usually live in a test/ folder inside each package and use describe, test, and expect from bun:test.

Prefer unit or integration tests by default:

bash
moonx diffs:test
moonx trees:test

moon run :test runs every project's suite. Tests import workspace dependencies through their built dist, so moon builds those first; running bun test directly inside a package also works when dist is fresh.

Snapshots

Bun supports toMatchSnapshot(). Avoid new snapshot coverage unless it is shallow and narrowly scoped to the exact behavior under test.

Update snapshots from the package directory:

bash
bun test -u

Browser and E2E Tests

Add Playwright/browser E2E tests only when behavior cannot be validated without a real browser engine. Good candidates include computed style checks, shadow DOM boundaries, and browser-only rendering behavior.

Keep E2E coverage small and high-value:

bash
moonx trees:coverage
moonx trees:test-e2e
moonx path-store:test-demo
moonx docs:test-e2e

If E2E fixtures or dev servers are started in a worktree, follow the cleanup contract from the worktrees-and-dev-servers skill.

© pierrecomputer, Apache-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/testing-and-verification of pierrecomputer/pierre.

Open the folder on GitHubat commit d302ea0

Compare with similar skills

Pierre Testing and Verification Guide 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.

Pierre Testing and Verification Guide compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pierre Testing and Verification Guide this skillpierrecomputer/pierre6.2k—~608Automated safety check: PassApache-2.0
Ha Frontend Testinghome-assistant/frontend5.7k—~1.7kAutomated safety check: PassApache-2.0
React Testingaffaan-m/ECC274k1 repos~3.3kAutomated safety check: PassMIT
Senior QAalirezarezvani/claude-skills28k1 repos~2.1kAutomated safety check: PassMIT
Frontend Typescript Testingshinpr/ai-coding-project-boilerplate232—~1.5kAutomated safety check: PassMIT
Front End Testingcitypaul/.dotfiles739—~6.2kAutomated safety check: PassCustom licence

Similar skills

  • Ha Frontend Testing

    home-assistant/frontend

    Home Assistant frontend testing and validation workflow. An agent skill from home-assistant/frontend.

    5.7k GitHub stars~1.7k tokensUpdated today
    Testing & QAAuto-check passed
  • React Testing

    affaan-m/ECC

    React component testing with React Testing Library, Vitest/Jest, MSW for network mocking, accessibility assertions with axe, and the decision boundary between component tests and Playwright/Cypress…

    274k GitHub starsUsed in 1 repo~3.3k tokens
    Testing & QAAuto-check passed
  • Senior QA

    alirezarezvani/claude-skills

    Generates unit tests, integration tests, and E2E tests for React/Next.js applications.

    28k GitHub starsUsed in 1 repo~2.1k tokens
    Testing & QAAuto-check passed
  • Frontend Typescript Testing

    shinpr/ai-coding-project-boilerplate

    Designs frontend tests using the repository's configured React test and browser harnesses, including RTL, MSW, Vitest, and Playwright when present.

    232 GitHub stars~1.5k tokensUpdated 3 days ago
    Testing & QAAuto-check passed
  • Front End Testing

    citypaul/.dotfiles

    Behavior-driven UI testing patterns across Vitest Browser Mode, Playwright E2E evidence boundaries, and DOM Testing Library.

    739 GitHub stars~6.2k tokensUpdated 4 days ago
    Testing & QAAuto-check passed
  • Senior QA

    borghei/Claude-Skills

    Testing for React/Next.js with Jest, React Testing Library, and Playwright.

    874 GitHub stars~1.6k tokensUpdated today
    Testing & QAAuto-check passed

More from pierrecomputer/pierre

All 10 skills in this repo
  • @pierre/diffs Code Rendering

    pierrecomputer/pierre

    Guides an agent through using @pierre/diffs to render syntax-highlighted files and diffs, and to build editing and review surfaces in React or plain JavaScript.

    6.2k GitHub starsUsed in 2 repos~803 tokens
    Auto-check passed
  • Pierre Theming Library

    pierrecomputer/pierre

    Explains how to use the @pierre/theming package to list, resolve, select, switch and persist themes, with controller, color and React references.

    6.2k GitHub stars~661 tokensUpdated today
    Auto-check passed
  • Pierre Trees File Tree

    pierrecomputer/pierre

    Use when an app uses @pierre/trees to render or control a file tree, including React, vanilla JavaScript, SSR, web components, selection, search, rename, drag…

    6.2k GitHub stars~473 tokensUpdated today
    Auto-check passed
  • Pierre Highlights

    pierrecomputer/pierre

    Shows how to use @pierre/highlights for syntax-highlighted HTML or tokens, streaming and incremental tokenizing, and Zed-compatible themes with CSS variables.

    6.2k GitHub stars~409 tokensUpdated today
    Auto-check passed
  • Pierre Theme Package

    pierrecomputer/pierre

    Shows an agent how to install and use the @pierre/theme package, which ships ten Pierre light and dark color themes for Shiki and VS Code.

    6.2k GitHub stars~352 tokensUpdated today
    Auto-check passed
  • Sets one monorepo's rules for toolchain pins, pnpm package operations, the shared dependency catalog and moon tasks, so the agent adds versions and scripts the right way.

    6.2k GitHub stars~1.1k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Pierre Testing and Verification Guide

What does Pierre Testing and Verification Guide do?

Chooses the right verification step after a code change in Pierre's monorepo: format and lint, a typecheck, Bun unit tests, snapshots, or Playwright E2E. After any code change, a baseline format-and-lint command runs from anywhere in the repo through the project's task runner, with separate check-only and fix variants available for the root project. Code changes also get a typecheck scoped to the affected project, with the task runner automatically building workspace dependencies first, and an `--affected` flag available to scope the check to only what actually changed.

When should I use Pierre Testing and Verification Guide?

Pierre Testing and Verification Guide fits situations like: deciding which verification step to run after a code change; running unit tests scoped to just the packages that changed; adding a browser E2E test for behavior that needs a real rendering engine; updating a snapshot test from inside its package directory.

How do I install Pierre Testing and Verification Guide in Claude Code?

Run `npx skills add pierrecomputer/pierre --skill testing-and-verification -a claude-code`. Or copy the skill folder (.agents/skills/testing-and-verification in pierrecomputer/pierre) into .claude/skills/testing-and-verification in your project. Claude Code loads it when a task matches its description.

How do I install Pierre Testing and Verification Guide in Codex?

Run `npx skills add pierrecomputer/pierre --skill testing-and-verification -a codex`. Or copy the skill folder (.agents/skills/testing-and-verification in pierrecomputer/pierre) into .agents/skills/testing-and-verification in your project. Codex loads it when a task matches its description.

Can I use Pierre Testing and Verification Guide 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 pierrecomputer/pierre --skill testing-and-verification -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/testing-and-verification, .gemini/skills/testing-and-verification, .github/skills/testing-and-verification and .opencode/skills/testing-and-verification in your project.

What does Pierre Testing and Verification Guide need to run?

Going by SKILL.md and its folder, Pierre Testing and Verification Guide needs the command-line tools its instructions call (bun). Our summary lists: Bun; The project's moon task runner; Playwright, for browser E2E tests.

Does Pierre Testing and Verification Guide 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 Pierre Testing and Verification Guide safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pierre Testing and Verification Guide use?

Pierre Testing and Verification Guide is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pierre Testing and Verification Guide use?

About 608 tokens (SKILL.md is roughly 2.4k 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 Pierre Testing and Verification Guide?

Skills that share tags, products or a category with Pierre Testing and Verification Guide: Ha Frontend Testing (home-assistant/frontend, 5.7k stars), React Testing (affaan-m/ECC, 274k stars), Senior QA (alirezarezvani/claude-skills, 28k stars) and Frontend Typescript Testing (shinpr/ai-coding-project-boilerplate, 232 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pierre Testing and Verification Guide?

pierrecomputer (a GitHub organization) maintains it in pierrecomputer/pierre, which has 6,243 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 6, 2026.

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