Pierre Testing and Verification Guide
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.
Run Portwood's test suites — the one-command QA harness, the anonymous-Apex e2e scripts, Apex unit tests, prettier, and Code Analyzer.
$ npx skills add Portwood-Global-Solutions/Portwood --skill run-tests -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Portwood-Global-Solutions/Portwood run-tests --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Portwood-Global-Solutions/Portwood.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/run-tests .claude/skills/run-tests && rm -rf skills-srcUse ~/.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/
Install the "run-tests" agent skill from https://github.com/Portwood-Global-Solutions/Portwood/tree/main/.claude/skills/run-tests into .claude/skills/run-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "run-tests", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Portwood-Global-Solutions/Portwood/tree/main/.claude/skills/run-testsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Portwood-Global-Solutions/Portwood --skill run-tests -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Portwood-Global-Solutions/Portwood run-tests --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Portwood-Global-Solutions/Portwood.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/run-tests .agents/skills/run-tests && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "run-tests" agent skill from https://github.com/Portwood-Global-Solutions/Portwood/tree/main/.claude/skills/run-tests into .agents/skills/run-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "run-tests", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Portwood-Global-Solutions/Portwood --skill run-tests -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Portwood-Global-Solutions/Portwood run-tests --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Portwood-Global-Solutions/Portwood.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/run-tests .cursor/skills/run-tests && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "run-tests" agent skill from https://github.com/Portwood-Global-Solutions/Portwood/tree/main/.claude/skills/run-tests into .cursor/skills/run-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "run-tests", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Portwood-Global-Solutions/Portwood.git --path .claude/skills/run-tests--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Portwood-Global-Solutions/Portwood --skill run-tests -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Portwood-Global-Solutions/Portwood run-tests --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Portwood-Global-Solutions/Portwood.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/run-tests .gemini/skills/run-tests && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "run-tests" agent skill from https://github.com/Portwood-Global-Solutions/Portwood/tree/main/.claude/skills/run-tests into .gemini/skills/run-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "run-tests", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Portwood-Global-Solutions/Portwood run-testsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Portwood-Global-Solutions/Portwood --skill run-tests -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Portwood-Global-Solutions/Portwood.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/run-tests .github/skills/run-tests && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "run-tests" agent skill from https://github.com/Portwood-Global-Solutions/Portwood/tree/main/.claude/skills/run-tests into .github/skills/run-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "run-tests", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Portwood-Global-Solutions/Portwood --skill run-tests -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Portwood-Global-Solutions/Portwood run-tests --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Portwood-Global-Solutions/Portwood.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/run-tests .opencode/skills/run-tests && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "run-tests" agent skill from https://github.com/Portwood-Global-Solutions/Portwood/tree/main/.claude/skills/run-tests into .opencode/skills/run-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "run-tests", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
run-testsRun Portwood's test suites — the one-command QA harness, the anonymous-Apex e2e scripts, Apex unit tests, prettier, and Code Analyzer.
Run Tests is an agent skill from Portwood-Global-Solutions/Portwood. Run Portwood's test suites — the one-command QA harness, the anonymous-Apex e2e scripts, Apex unit tests, prettier, and Code Analyzer. Use before opening a PR, when verifying a fix, or when a test fails and you need to know whether it's your change or the harness.
Its SKILL.md is about 1.6k 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 Linting and formatting, End-to-end testing and Unit testing. It works with Prettier and Salesforce. The repository describes itself as: Free, native document generation for Salesforce. PDF, DOCX, XLSX, PPTX — merge tags, images, barcodes, QR codes, bulk generation, Flow actions. 100% Apex + LWC, zero external… The licence is Apache-2.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 70ede0c. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
sfnpmnodeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Run Tests loads about 1.6k tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 534 words of instructions outside code blocks.
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.
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.
The full file from Portwood-Global-Solutions/Portwood at commit 70ede0c, republished under its Apache-2.0 licence (© Portwood-Global-Solutions). 534 words, ~1,561 tokens.
.claude/skills/run-tests/SKILL.md (or your agent's skills folder).npm run qaRuns every suite against the docgen-verify org and writes one report. Exit code
is 0 only when every evaluated check passed, so it drops straight into CI.
npm run qa -- --org myorg # a different org
npm run qa -- --offline # only suites needing no org — CI-safe, fast
npm run qa -- --fast # skip the slow suites
npm run qa -- --suite merge-tags,metadata-audit
npm run qa -- --headed # watch the browser suites run
npm run qa -- --list # what suites existOutput lands in scripts/qa/report/:
qa-report.md — headline numbers, coverage by area, and an ordered what to fix listqa-report.json — the same data, for tracking over timeStart with npm run qa -- --offline. It needs no org at all, so it's the fastest
way to know whether you broke something, and it's what a contributor without a
configured org can still run.
apex-e2e, apex-unit, flow-actions, merge-tags, metadata-audit,
output-formats, pdf-content, record-pages, template-integrity, ui-admin,
ui-designer, ui-runner.
A suite that cannot run returns "skipped" rather than throwing — the report says so out loud instead of quietly reporting 100%. A skipped suite is not a passing suite; check the report rather than just the exit code when you care about coverage.
Drop a file in scripts/qa/suites/ exporting run({ org, headed, base }) that returns
suiteResult(...) from lib/report.mjs, then register it in SUITES in
scripts/qa/run-all.mjs. Suites must never throw.
scripts/qa/canvas-*.mjs and friends run serializer and layout logic with no browser
and no org — that's why the serializer is written to survive typeof document === 'undefined'. They're the fastest feedback loop in the repo:
node scripts/qa/canvas-serializer-check.mjs
node scripts/qa/canvas-anchor-check.mjs
node scripts/qa/canvas-export-roundtrip-check.mjs
node scripts/qa/canvas-import-fidelity.mjs
node scripts/qa/canvas-inline-sanitize-check.mjsIf you change canvasModel.js, run these before anything else.
Each script prints PASS: N FAIL: 0 ALL TESTS PASSED.
sf apex run --target-org docgen-verify -f scripts/e2e-01-permissions.apex
sf apex run --target-org docgen-verify -f scripts/e2e-02-template-crud.apex
sf apex run --target-org docgen-verify -f scripts/e2e-03-generate-pdf.apex
sf apex run --target-org docgen-verify -f scripts/e2e-03b-page-setup.apex
sf apex run --target-org docgen-verify -f scripts/e2e-04-generate-docx.apex
sf apex run --target-org docgen-verify -f scripts/e2e-05-generate-bulk.apex
sf apex run --target-org docgen-verify -f scripts/e2e-06-signatures.apex
sf apex run --target-org docgen-verify -f scripts/e2e-06b-signature-lifecycle.apex
sf apex run --target-org docgen-verify -f scripts/e2e-07-syntax1.apex
sf apex run --target-org docgen-verify -f scripts/e2e-07-syntax2.apex
sf apex run --target-org docgen-verify -f scripts/e2e-07-syntax3.apex
sf apex run --target-org docgen-verify -f scripts/e2e-07-syntax4.apex
sf apex run --target-org docgen-verify -f scripts/e2e-07-syntax5.apex
sf apex run --target-org docgen-verify -f scripts/e2e-08-cleanup.apexSequence matters: 01 standalone, 02 creates test data, 03–06b depend on 02,
07-syntax* standalone, 08 cleans up.
A governor-limit throw prints NO summary line at all. Watch for a script that emits
no PASS: N, not just a non-zero FAIL. That's why 03b is split out of 03 — each
full generateDocument costs ~10 SOQL, and the combined run blew the 100-SOQL
synchronous limit.
syntax1–syntax4 are already within a few hundred characters of it — put
new parser assertions in syntax5 or a new syntax6.AuraHandledException (uncatchable
LimitException). Negative-path assertions on @AuraEnabled guard methods belong in
unit tests, not e2e.@TestVisible private members are unreachable from anonymous Apex. Prettier
passing does not mean the script compiles — actually run it.When you fix a parser-level bug, add a regression assertion exercising the pattern via
processXmlForTest.
Scoped, for a fix:
sf apex run test --target-org docgen-verify --tests DocGenServiceTest --wait 15Never run a bare sf apex run test — it triggers an org-wide run that locks
ContentFolder. Always pass --tests or --class-names.
Full local run (what release validation uses):
sf apex run test --target-org docgen-verify --test-level RunLocalTests --wait 15 --code-coverageExpected: Outcome: Passed, Pass Rate: 100%, org-wide coverage ≥ 75%.
npm run format:check blocks merge. Run before pushing:
npm run format # auto-fix
npm run format:check # verify cleanCovers force-app/**/*.{cls,trigger,page,component,cmp,html,js,xml}, scripts/**/*.apex,
and root *.{json,md,yml,yaml}. Apex scripts get reflowed — don't fight the wrap.
sf code-analyzer run --workspace "force-app/" --rule-selector "Security" --rule-selector "AppExchange" --view tableExpected: 0 High severity violation(s) found. ~30 Moderate false positives are
acceptable and documented in code-analyzer.yml.
npm run qa -- --offline — fastest signal, no org neededcanvas-*.mjs checks if you touched canvasModel.jsnpm run format:checknpm run qa in full if you have an org configured© Portwood-Global-Solutions, 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
Just SKILL.md in .claude/skills/run-tests of Portwood-Global-Solutions/Portwood.
Open the folder on GitHubat commit 70ede0c
Run 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Run Tests this skillPortwood-Global-Solutions/Portwood | 126 | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Pierre Testing and Verification Guidepierrecomputer/pierre | 6.3k | — | ~608 | Automated safety check: Pass | Apache-2.0 | |
| Ha Frontend Testinghome-assistant/frontend | 5.7k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Run Testsartcc/freelingo | 165 | — | ~976 | Automated safety check: Pass | AGPL-3.0 | |
| Zizkadb TestZIZKA-AI-SL/ZizkaDB | 129 | — | ~358 | Automated safety check: Pass | Custom licence | |
| Typescript TestingComposioHQ/composio | 30k | — | ~222 | Automated safety check: Pass | MIT |
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.
home-assistant/frontend
Home Assistant frontend testing and validation workflow. An agent skill from home-assistant/frontend.
artcc/freelingo
A skill your agent uses when the user asks to run tests, ejecutar tests, lanzar tests, pytest, vitest, check types, typecheck, lint, or verify the codebase.
ZIZKA-AI-SL/ZizkaDB
Run the full ZizkaDB test suite across all layers — lint, Python unit tests, SDK tests, MCP tests, TypeScript tests, and dashboard build verification.
ComposioHQ/composio
Select and run TypeScript SDK verification for packages, examples, type checks, linting, builds, Vitest suites, Effect v4 CLI tests, and runtime E2E tests.
DouglasNeuroInformatics/OpenDataCapture
What actually breaks in Open Data Capture — a failing build, lint, unit test or e2e run; a change with no visible effect; a suite that stays green after you broke the code on purpose; an error…
Portwood-Global-Solutions/Portwood
Work on Portwood's Canvas designer (docGenCanvas LWC and canvasModel.js).
Portwood-Global-Solutions/Portwood
Get from a fresh clone of Portwood to a working, fully-tested Salesforce org.
Portwood-Global-Solutions/Portwood
Author or repair a Portwood HTML template that renders correctly through Blob.toPdf (Flying Saucer).
Portwood-Global-Solutions/Portwood
Decide whether a Portwood bug report is a real code defect or a template-authoring problem, before any code is written.
Portwood-Global-Solutions/Portwood
Fix a Portwood merge-tag or parser bug correctly across all of its resolution paths.
Portwood-Global-Solutions/Portwood
Constraints that only bite in a real managed-package install of Portwood — global visibility, Flow Apex-Defined types, namespace-prefixed keys, USERMODE on internal reads, immutable API names.
Works with
Categories
Run Portwood's test suites — the one-command QA harness, the anonymous-Apex e2e scripts, Apex unit tests, prettier, and Code Analyzer. Run Tests is an agent skill from Portwood-Global-Solutions/Portwood. Run Portwood's test suites — the one-command QA harness, the anonymous-Apex e2e scripts, Apex unit tests, prettier, and Code Analyzer.
Run Tests fits situations like: tasks that involve Linting and formatting; tasks that involve End-to-end testing; tasks that involve Unit testing.
Run `npx skills add Portwood-Global-Solutions/Portwood --skill run-tests -a claude-code`. Or copy the skill folder (.claude/skills/run-tests in Portwood-Global-Solutions/Portwood) into .claude/skills/run-tests in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Portwood-Global-Solutions/Portwood --skill run-tests -a codex`. Or copy the skill folder (.claude/skills/run-tests in Portwood-Global-Solutions/Portwood) into .agents/skills/run-tests in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Portwood-Global-Solutions/Portwood --skill run-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/run-tests, .gemini/skills/run-tests, .github/skills/run-tests and .opencode/skills/run-tests in your project.
Going by SKILL.md and its folder, Run Tests needs the command-line tools its instructions call (sf, npm and node).
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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.
Run Tests 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.
About 1.6k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Run Tests: Pierre Testing and Verification Guide (pierrecomputer/pierre, 6.3k stars), Ha Frontend Testing (home-assistant/frontend, 5.7k stars), Run Tests (artcc/freelingo, 165 stars) and Zizkadb Test (ZIZKA-AI-SL/ZizkaDB, 129 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Portwood-Global-Solutions (a GitHub organization) maintains it in Portwood-Global-Solutions/Portwood, which has 126 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 9, 2026.
Source: Portwood-Global-Solutions/Portwood on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.