pm-tests

pm-tests is a skill for Claude Code from wei63w/pm-manager. It costs 27 tokens per session (308 once invoked), scanned A, original, MIT.

A project-testing command that lists missing unit-test companions for core files or recently changed source files. Unit tests are small checks for individual pieces of code.

In plain words
What is it for?
Use it to inspect the project's test gaps, identify suggested locations for tests, and report whether important changed code lacks unit coverage.
Why use it?
It shows where tests are missing without writing files into the business code unless the user approves.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to inspect the project's test gaps, identify suggested locations for tests, and report whether important changed code lacks unit coverage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wei63w/pm-manager/pm-tests
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.

Any agent
npx skills add wei63w/pm-manager --skill pm-tests
Clone the repo
git clone --depth 1 https://github.com/wei63w/pm-manager

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pm-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/wei63w/pm-manager/pm-tests/github.svg)](https://agentmods.dev/skills/wei63w/pm-manager/pm-tests)
Your own site
<a href="https://agentmods.dev/skills/wei63w/pm-manager/pm-tests"><img src="https://agentmods.dev/badge/skills/wei63w/pm-manager/pm-tests/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pm-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/wei63w/pm-manager/pm-tests"><img src="https://agentmods.dev/badge/skills/wei63w/pm-manager/pm-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 308 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00027 $0.00308
Opus 5.5 $0.00011 $0.00123
Sonnet 5.5 $0.00005 $0.00062
Haiku 4.5 $0.00003 $0.00031

Measured 1mo ago against content hash e171f2a765c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pm-tests 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 1mo ago.

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.

adapters/cursor/skills/pm-tests/SKILL.md · 35 lines

What it actually says

User Input

$ARGUMENTS

Outline

/pm-tests 只管单测缺口。用户以中文交互时用中文回复。未确认不得把测试文件写入业务树。

  1. Require .pm/。缺则建议 /pm-init。
  2. 先读 .pm/architecture/map.json 与 .pm/state/test-gaps.md(若有)。禁止为找测试做无过滤全库递归。
  3. 运行 pm tests,列出核心源 / 本轮变更缺少的配套测试,以及建议落点。
  4. 只报告。若用户要求起草,先给出方案,停下等确认后再写测试文件。
  5. Closing:_closing.md 轻量档。指向 test-gaps.md。

Done When

  • 缺口已列出(或明确没有)
  • 未自动创建业务树测试文件

Shared Workflow

Map-first. Confirm-before-write for test files. Design baseline: docs/prd.md + 宪章。

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. 1mo ago First seen · 35 lines · 27 tokens per session scan A e171f2a765c4

Subscribe to this mod's changes

pm-tests is a skill published in the GitHub repository wei63w/pm-manager (87 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 308 once invoked, about $0.0001 per session on Opus 5.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

awesome-test-writing

Designs and writes tests that catch real regressions: unit, integration or E2E placement, fixtures, behavior-first assertions, characterization and property tests. Use when asked to write tests, add coverage or a regression test.

khasky/awesome-agent-skills · 49 tokens

aif-test

Run unit, integration, e2e and UI tests with coverage analysis, build verification, visual regression and QA reports.

ainative-build/skills · 28 tokens

aif-web-testing

Test web apps with Playwright, Vitest and k6: E2E, unit, integration, load, security, visual and a11y.

ainative-build/skills · 36 tokens

crucible

Write solid unit tests using property-based testing and mutation testing. Use whenever unit tests are being written, fixed, audited, or reviewed in a TypeScript project; whether the user asks directly or test-writing occurs as a step inside another workflow (TDD, feature implementation, bug fixing, code review). Also…

gpanakkal/crucible · 98 tokens

migrate-to-shoehorn

Migrate test files from as type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.

mxyhi/ok-skills · 48 tokens

test-driven-development

Drives development with tests using the red-green-refactor loop. Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality. Use when asked to add tests to a function, fix a bug…

addyosmani/agent-skills · 92 tokens