Skip to main content
command CX Codex

derive-tests — Claude Code command: what it does, how to install

The derive-tests command maps documented app behavior to existing test coverage. The maintained version lives in the ai-shipping plugin.

MIT ★ 28,211 updated 2026-10-16

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add phuryn/pm-skills
/plugin install pm-ai-shipping@pm-skills
Open on GitHub

What derive-tests does

derive-tests compares what the application is documented to do with the tests present in a repository. It can work from a specific check and a repository path or area, or inspect the whole repository when no path is supplied.

The maintained version moved to the ai-shipping plugin in phuryn/product-engineering. The copy in pm-skills points users to that version and shows how to install it. That distinction matters when both copies could be loaded, since the older command should not sit beside the maintained one.

What it helps with

  • map documented behavior to existing tests
  • spot repository areas with missing coverage
  • review test coverage across the whole repository
  • check coverage for one repository area

Example prompts for the agent

  • Run /ai-shipping:derive-tests to map test coverage for the whole repository from its documentation.
  • Use /ai-shipping:derive-tests for src/billing and identify documented scenarios without tests.
  • Run /ai-shipping:derive-tests with the checkout check against repository ..

How to install derive-tests

1Plugin marketplace

/plugin marketplace add phuryn/pm-skills
/plugin install pm-ai-shipping@pm-skills

2Manually: put the files in place

.claude/commands/derive-tests.md

Call it with /derive-tests. For all projects use ~/.claude/commands/

Questions about derive-tests

How do I install derive-tests in Claude Code?

Add the marketplace with /plugin marketplace add phuryn/pm-skills, then install the plugin with /plugin install pm-ai-shipping@pm-skills.

What does derive-tests do?

It maps documented application behavior to the repository’s test coverage and helps surface gaps in that coverage.

Where is the maintained version of derive-tests?

It is maintained in the ai-shipping plugin in phuryn/product-engineering. The copy in pm-skills points to that move.

Source text

derive-tests.md · MIT
---
description: Moved to phuryn/product-engineering, where it is maintained in the ai-shipping plugin; this copy says where it went and how to install it. Use when asked to map test coverage from what the docs say the app does.
argument-hint: "[check] <repo path or area; defaults to the whole repository>"
---

# /derive-tests has moved

`derive-tests` is maintained in [phuryn/product-engineering](https://github.com/phuryn/product-engineering/tree/main/ai-shipping/skills/derive-tests), in its `ai-shipping` plugin, with the rest of the AI Shipping Kit. This command, now a skill there, stays in pm-skills only so an agent that loads it knows where it went.

- **`ai-shipping:derive-tests` is installed:** use it, not this copy.
- **It isn't:** tell the user that `derive-tests` moved and how to install it, then help with the task as you would without it:

  ```bash
  claude plugin marketplace add phuryn/product-engineering
  claude plugin install ai-shipping@product-engineering
  ```

  Other agents: [the repository's README](https://github.com/phuryn/product-engineering#install). Once it's installed, turn off `pm-ai-shipping` here, so this copy no longer loads beside it.

© Paweł Huryn · MIT · phuryn/pm-skills

Similar slash commands

All slash commands for Testing and QA →

From the same set120

The whole set →
intended-vs-implemented intended-vs-implemented detects discrepancies where code diverges from its documentation. This stub copy informs the agent that the tool moved to another repository. CX Codex +1 1,900installs code-review This copy points to the current code-review skill in the ai-shipping plugin. When asked to review code, it reports the move and can proceed without the skill. CX Codex +1 465installs document-app document-app — a command to generate structured descriptions of AI-built code. Moved to the ai-shipping plugin; this installer shows where to find it and how to connect. CX Codex +1 ★ 28,211repo stars ship-check ship-check is a Claude Code command that checks whether an AI-built repository is ready to ship and points to its new home in the ai-shipping plugin. CX Codex +1 ★ 28,211repo stars security-audit-static security-audit-static — a command to scan code for security vulnerabilities. Analyzes files, folders, or commit ranges and flags risks introduced by AI or manual changes. CX Codex +1 ★ 28,211repo stars performance-audit-static performance-audit-static runs a static performance audit on AI-written code and directs users to its updated location in the ai-shipping plugin. CX Codex +1 ★ 28,211repo stars proofread proofread is a Claude Code command that checks grammar, reasoning, and flow in pasted or uploaded text, suggesting focused fixes for drafts, documents, and emails. CX Codex +1 ★ 28,211repo stars draft-nda The draft-nda command creates professional Non-Disclosure Agreements tailored to your jurisdiction, parties, and scope of information. CX Codex +1 ★ 28,211repo stars

Project sponsors

Companies that keep this analytics open