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.
npx agentmods add skills/nikzlabs/shipit/testing-and-qualitynpx skills add nikzlabs/shipit --skill testing-and-qualitygit clone --depth 1 https://github.com/nikzlabs/shipitWrote 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.
[](https://agentmods.dev/skills/nikzlabs/shipit/testing-and-quality)<a href="https://agentmods.dev/skills/nikzlabs/shipit/testing-and-quality"><img src="https://agentmods.dev/badge/skills/nikzlabs/shipit/testing-and-quality.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00086 | $0.01779 |
| Opus 5 | $0.00043 | $0.00890 |
| Sonnet 5 | $0.00017 | $0.00356 |
| Haiku 4.5 | $0.00009 | $0.00178 |
Grade A, and why
testing-and-quality 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Testing Conventions & Quality Checklist
Progressive Testing
During development, use npm run test:dev instead of npm test. This runs:
- Affected tests — tests co-located with files you've changed (uncommitted + staged)
- Smoke tests — a small set of critical-path tests that always run
The full suite (npm test) runs in CI on every PR. Only run it locally if you suspect wide-reaching breakage.
| Command | When to use |
|---|---|
npm run test:dev |
Default for development — fast, targeted |
npm run test:dev -- --list |
Dry run — see which files would run |
npm run test:smoke |
Smoke tests only |
npm test |
Full suite — CI runs this, rarely needed locally |
npx vitest run path/to/file.test.ts |
Run a single specific test file |
Smoke tests are defined in scripts/test-dev.ts (the SMOKE_TESTS array). Keep the list small (~4-6 files).
Test Configuration
Tests use Vitest with two project configs in vitest.config.ts:
- Server tests (
src/server/**/*.test.ts) — Node environment - Client tests (
src/client/**/*.test.{ts,tsx}) — jsdom environment with React Testing Library
Server Tests
- Use temp directories (
fs.mkdtempSync) cleaned up inafterEachwithfs.rmSync(tmpDir, { recursive: true, force: true }). - A server test starts with no credential configured.
server-test-setup.tsstrips every cataloguestorageEnvname and everySHIPIT_CREDENTIAL_*variable — eagerly, and again before every test. That covers both sources: the ambient environment (a session container exports the user's real keys into the test process, a CI runner has none — the divergence is invisible in CI, which is whytest-env-hermeticity.test.tspins it against an injected sentinel), and the suite's own writes (storing a credential through the API assigns its mode's variable in-process, so it would otherwise leak into the next test in the file). A test that wants a credential sets it per test or withvi.stubEnv— not inbeforeAll, which the strip runs after. - A
shipit.yamlfixture that does not parse fails the test that wrote it.server-test-setup.tsinstalls a write hook (shared/shipit-config-test-guard.ts) that validates any file namedshipit.yamlwith the product's own parser. The reason is that every opportunistic reader —classifyEmptyDepDirs,staleDepDirs,computeDepsHash,warnOnSkippedInstallOutput— deliberately catches aShipitConfigErrorand returns a conservative empty result, so a malformed fixture makes the check under test evaluate nothing while the assertion still passes. Three dep-dir tests were green that way (planning#480). The classic trap: YAML parses a baretrueas a BOOLEAN, so an install command must be quoted —- "true", never- true. A test that writes an invalid config on purpose wraps the write inexpectInvalidShipitConfig(() => ...), which is also the readable marker that the invalidity is the point. - Testability is built in. Store-backed managers take a
DatabaseManager—SessionManager(dbManager),UsageManager(dbManager),RepoStore(dbManager)— so a test passes an isolated database rather than a temp file path. Filesystem-backed ones still take a directory:GitManager(workspaceDir?). (The oldersessionsFile?/usageFile?/ThreadManager/DeploymentStoresignatures are gone — persistence moved to SQLite.)
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.
- 5d ago First seen · 126 lines · 86 tokens per session scan A 176f03506b52
testing-and-quality is a skill published in the GitHub repository nikzlabs/shipit (6 stars, last pushed today), licensed Apache-2.0. It adds 86 tokens to every session and 1,779 once invoked, about $0.0004 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-31.
Other skills, from other repositories
lanes-sessions
Use when managing Lanes issues or driving Claude Code sessions through the lanes MCP tools — creating issues, starting/stopping/inspecting sessions, batch-launching work across worktrees, reading terminal output, attaching labels and components by UUID, or moving issues across the…
github-lanes-bridge
Use when bridging GitHub and Lanes — importing GitHub issues into Lanes for local Claude Code execution, batch-spawning sessions per ticket, decomposing one GitHub issue into multiple Lanes sub-issues with dependencies, or posting session results (PR links, comments, follow-up issues) back to GitHub. Triggers on…
lanes-forms
Use when the user wants a form backend or contact form set up (a live POST endpoint that captures submissions and emails them), OR wants an agent to fill in / submit to a form on their behalf. Lanes Forms creates and manages hosted form endpoints from Claude Code. Triggers on "set up a contact form", "provision a…
linear-lanes-bridge
Use when bridging Linear and Lanes — importing Linear issues into Lanes for local Claude Code execution, batch-spawning sessions per Linear ticket, decomposing one Linear issue into multiple Lanes sub-issues with dependencies, or posting session results (PR links, comments, status updates) back to Linear. Triggers on…
setup-lanes-link
Use when installing or standing up Lanes Link, the self-hostable MCP endpoint that gives an agent someone's own accounts, memory, tasks, assets, skills, identity and vault. Triggers on "set up Lanes Link", "install Lanes Link", "connect my Gmail/Calendar/Notion to Claude", "one MCP for all my accounts", "lanes link…
install-lanes-desktop
Use when installing, updating, or repairing the Lanes desktop app on a Mac, or when someone wants the Lanes issue board running for the first time. Triggers on "install Lanes", "set up Lanes", "get Lanes running", "download Lanes", "update Lanes", "Lanes won't open", or any request to connect an agent to a Lanes app…