qa/test-execution

A procedure for detecting a project's testing tools, running its real tests, and interpreting results such as passes, failures, and coverage.

In plain words
What is it for?
Use it to run unit, integration, and end-to-end tests in JavaScript, Python, or Go projects, including Playwright browser tests when the project uses them.
Why use it?
It prevents assumptions about how a project is tested and reveals whether changes have broken existing behaviour.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/echovic/boss-skill/test-execution
Any agent
npx skills add echoVic/boss-skill --skill test-execution
Clone the repo
git clone --depth 1 https://github.com/echoVic/boss-skill

Made for: Claude Code, Codex.

Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 686 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00020 $0.00686
Opus 5 $0.00010 $0.00343
Sonnet 5 $0.00004 $0.00137
Haiku 4.5 $0.00002 $0.00069

Measured yesterday against content hash c09680943ac2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

qa/test-execution scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skill/skills/qa/test-execution/SKILL.md · 102 lines

What it actually says

测试执行方法

强制要求:真实执行测试

你必须真正执行测试,禁止生成 Mock 数据!

测试执行流程

  1. 检测项目类型和测试框架
  2. 根据项目类型执行测试
  3. 执行 E2E / 集成测试
  4. 解析测试输出(总数、通过数、失败数、覆盖率)

测试框架检测

JavaScript/TypeScript

  • Jest: jest.config.js, "jest" in package.json
  • Vitest: vitest.config.js, "vitest" in package.json
  • Playwright: playwright.config.js
  • Cypress: cypress.json

Python

  • pytest: pytest.ini, "pytest" in dependencies
  • unittest: 内置

Go

  • *_test.go 文件

测试命令

语言 单元测试 E2E测试
Node.js npm test npx playwright test
Python pytest pytest tests/e2e
Go go test ./... -

Playwright E2E 执行细节

完整方法论:详见 Skill(skill: "qa/e2e-playwright")

检测 Playwright 项目

检查以下标志确认项目使用 Playwright:

  • playwright.config.tsplaywright.config.js 存在
  • package.json 中包含 @playwright/test 依赖
  • e2e/tests/e2e/ 目录存在

执行命令

# 安装浏览器(首次或 CI 环境)
npx playwright install --with-deps

# 运行全部 E2E 测试
npx playwright test

# 仅 critical 标签(门禁加速)
npx playwright test --grep @critical

# 指定浏览器
npx playwright test --project=chromium

# JSON 报告(门禁解析用)
npx playwright test --reporter=json

结果解析

Playwright JSON 报告关键字段:

字段 说明
stats.expected 通过的测试数
stats.unexpected 失败的测试数
stats.flaky 重试后通过的测试数
stats.skipped 跳过的测试数

失败排查

# 查看 trace(失败时自动生成)
npx playwright show-trace <trace.zip路径>

# 打开 HTML 报告
npx playwright show-report
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 102 lines · 20 tokens per session scan A c09680943ac2

Subscribe to this mod's changes

qa/test-execution is a skill published in the GitHub repository echoVic/boss-skill (552 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 686 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

amazon-search-listing

Amazon search and category listing scraper: extract product listings from any Amazon search results page, keyword search URL, or category browse page and return per-item cards (asin, title, url, image, price, listPrice, stars, reviewCount, badges, isAmazonChoice, isBestSeller, isSponsored, delivery, boughtInPast…

browser-act/skills · 341 tokens

etsy-product-detail

Etsy product detail scraper: given an Etsy listing URL, returns full product detail including listingId, title, priceCurrent, priceOriginal, currency, images (all), description, shopName, shopUrl, rating, reviewCount, favorites, inCartCount, variations (with per-option price ranges), highlights, listedDate…

browser-act/skills · 187 tokens

taobao-product-reviews

Fetch customer reviews for a Taobao or Tmall product by itemId, returning reviewer name, date, purchased variant, review text, and photo URLs. Use when user asks to get product reviews from Taobao, scrape Taobao customer feedback, extract buyer reviews by item ID, collect Tmall ratings and comments, 采集淘宝商品评价…

browser-act/skills · 122 tokens

walmart-category-listing

Walmart category page scraper: input a walmart.com browse or category URL with optional page number, extract paginated product listings with itemId, url, title, brand, image, price, wasPrice, rating, reviewCount, availability, seller info, fulfillmentBadge, and classType. Use when user mentions walmart category…

browser-act/skills · 194 tokens

walmart-keyword-search

Walmart keyword search scraper: input a search keyword and page number, navigate to walmart.com search results, extract paginated product listings with itemId, url, title, brand, image, price, wasPrice, rating, reviewCount, availability, seller info, fulfillmentBadge, classType, and shortDescription. Use when user…

browser-act/skills · 173 tokens

taobao-keyword-search

Search Taobao and Tmall product listings by keyword, returning paginated product cards with title, price, shop, image, sales, and tags. Use when user asks to search Taobao, find products on Taobao/Tmall, scrape Taobao search results, get product listings from Taobao, collect Taobao items by keyword, 搜索淘宝, 淘宝关键词搜索…

browser-act/skills · 122 tokens