test-inventorylisted
Install: claude install-skill app-vitals/shipwright
# test-inventory skill
## Purpose
Build the **inventory** — the source-of-truth ledger of what should be tested in this repo, at which layer, with what priority.
## When invoked
By the `/test-inventory` command. The repo path arrives as `$ARGUMENTS` (defaults to `.`).
## Process
### Step 1 — detect the stack
Read these signals to determine language and frameworks:
- `package.json`, `tsconfig.json`, `bun.lock`, `pnpm-lock.yaml` → JS/TS
- `pyproject.toml`, `requirements.txt`, `setup.py` → Python
- `go.mod` → Go
- `Gemfile` → Ruby
- `Cargo.toml` → Rust
- `pom.xml`, `build.gradle` → JVM
Record stack profile (language, package manager, primary framework if obvious — e.g., Hono, Express, FastAPI, Rails).
**CLAUDE.md layer-declaration convention:** also check the target repo's root `CLAUDE.md` for a section declaring its concrete layer structure (e.g. "handler → service → data", or whatever naming that repo uses — `architecture_layering` in `references/principles.md` is explicit that the layering principle concerns the *relationship* between layers, not literal names, and each repo's own `CLAUDE.md` should declare its concrete layer names). This mirrors the existing "## Testing" section pattern: `commands/review.md` extracts a repo's CLAUDE.md Testing section into `testReadinessContext` for `code-reviewer.md`'s test-readiness rule to consume, falling back to the universal baseline in `references/principles.md` when no such section exists. Apply the same fallback here — if t