Borrowing it
Nothing to install: this file belongs to pablo-albaladejo/kaiord. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/pablo-albaladejo/kaiord/main/.claude/skills/guidelines/testing-standards/SKILL.mdgit clone --depth 1 https://github.com/pablo-albaladejo/kaiordWrote 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/pablo-albaladejo/kaiord/testing-standards)<a href="https://agentmods.dev/skills/pablo-albaladejo/kaiord/testing-standards"><img src="https://agentmods.dev/badge/skills/pablo-albaladejo/kaiord/testing-standards/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.
<a href="https://agentmods.dev/skills/pablo-albaladejo/kaiord/testing-standards"><img src="https://agentmods.dev/badge/skills/pablo-albaladejo/kaiord/testing-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00046 | $0.01054 |
| Opus 5 | $0.00023 | $0.00527 |
| Sonnet 5 | $0.00009 | $0.00211 |
| Haiku 4.5 | $0.00005 | $0.00105 |
Grade A, and why
testing-standards 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 9d 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 — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Testing Standards — Kaiord
AAA pattern
Every test uses Arrange / Act / Assert with a blank line between each section:
it("converts power zone to explicit watts", () => {
// Arrange
const step = buildWorkoutStep({ target: { type: "power", zone: 3 } });
// Act
const result = toGcnStep(step);
// Assert
expect(result.targetValueOne).toBe(195);
expect(result.targetValueTwo).toBe(230);
});
Per-layer test strategy
| Layer | Test type | Dependencies | Notes |
|---|---|---|---|
| Domain (schemas, types, pure functions) | Unit | None | No mocks |
| Application (use cases) | Unit | Port stubs/mocks | No real adapters |
| Adapters | Integration | FIT SDK, parser, real fixtures | Use @kaiord/core/test-utils |
| Round-trip (FIT ↔ KRD ↔ TCX) | Integration | Full pipeline | Within tolerances in krd-format guideline |
| CLI | Integration | Spawns child process | Timeout ≥ 15 000 ms |
Coverage thresholds
| Scope | Threshold |
|---|---|
@kaiord/core |
80% |
Frontend (workout-spa-editor) |
70% |
Mappers vs converters
*.mapper.ts— MUST NOT have tests (simple transform, no logic)*.converter.ts— MUST have tests- Exception: if a
*.mapper.tsgrows non-trivial logic (validation, branching, side effects, anything beyond pure field-to-field transformation), refactor it to*.converter.tsand add tests.
Fixture imports
Always import fixtures from @kaiord/core/test-utils. Never re-implement fixture loading.
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.
- 9d ago First seen · 83 lines · 46 tokens per session scan A 49b053d6bb3a
testing-standards is a skill published in the GitHub repository pablo-albaladejo/kaiord (9 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 1,054 once invoked, about $0.0002 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
ts-library
Use when authoring TypeScript libraries or npm packages - covers project setup, package.json exports, build tooling (tsdown/unbuild), API design patterns, type inference tricks, testing, and publishing to npm. Use when bundling, configuring dual CJS/ESM output, or setting up release workflows.
typescript-eval
Test TypeScript code snippets before persisting as skills.
server-side-calls
Call tRPC procedures directly from server code using t.createCallerFactory() and router.createCaller(context) for integration testing, internal server logic, and custom API endpoints. Catch TRPCError and extract HTTP status with getHTTPStatusCodeFromError(). Error handling via onError option.
insta-snapshots
Guide for working with and updating insta snapshot tests in Oxc without terminal interaction.
output
Import and use Kubb's generated code (types, clients, hooks, schemas, mocks). Use when writing app or test code that consumes a Kubb build.
om-troubleshooter
Diagnose and fix standalone Open Mercato bugs across scope, commands, locking, fields, generated registries, UI hydration, cache/search, bootstraps, queues, and providers. Use for "fix bug", "why does this fail", "regression", "debug", "napraw błąd", or a failing test.