kaiord: Skill for Claude Code

.claude/skills/guidelines/xp-tdd-practices/SKILL.md

xp-tdd-practices is a skill for Claude Code from pablo-albaladejo/kaiord. It costs 32 tokens per session (497 once invoked), scanned A, original, MIT.

A development guide that combines Extreme Programming practices with test-driven development, or TDD: writing a failing test, making it pass, then improving the code.

In plain words
What is it for?
Use it when planning implementation tasks, developing features, fixing bugs, or ordering work across project layers.
Why use it?
It gives behavior-changing work a clear order and ensures bug fixes are backed by tests that reproduce the problem.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is pablo-albaladejo/kaiord's own configuration. It tells Claude Code how to work on kaiord itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kaiord configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/pablo-albaladejo/kaiord/main/.claude/skills/guidelines/xp-tdd-practices/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pablo-albaladejo/kaiord

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 xp-tdd-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/pablo-albaladejo/kaiord/xp-tdd-practices/github.svg)](https://agentmods.dev/skills/pablo-albaladejo/kaiord/xp-tdd-practices)
Your own site
<a href="https://agentmods.dev/skills/pablo-albaladejo/kaiord/xp-tdd-practices"><img src="https://agentmods.dev/badge/skills/pablo-albaladejo/kaiord/xp-tdd-practices/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 xp-tdd-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/pablo-albaladejo/kaiord/xp-tdd-practices"><img src="https://agentmods.dev/badge/skills/pablo-albaladejo/kaiord/xp-tdd-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 497 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.00032 $0.00497
Opus 5 $0.00016 $0.00249
Sonnet 5 $0.00006 $0.00099
Haiku 4.5 $0.00003 $0.00050

Measured 11d ago against content hash 20b0cbcdafa5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

xp-tdd-practices 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 11d 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.

.claude/skills/guidelines/xp-tdd-practices/SKILL.md · 57 lines

What it actually says

XP & TDD Practices — Kaiord

TDD task format

Every implementation task with behavior (use cases, adapters, converters, components, hooks) uses the preceding-sibling RED → GREEN → REFACTOR pattern:

- [ ] parent feature
  - [ ] write failing test for X (RED)
  - [ ] implement X — minimal passing code (GREEN)
  - [ ] refactor X (REFACTOR)

The failing test task MUST immediately precede its implementation task. Do not batch tests at the end.

Tasks without behavior

Types, interfaces, DTOs, config files, and pure wiring tasks are plain checkboxes — no TDD format.

Characterization tests for unchanged production code (e.g., adding a *.converter.test.ts next to a *.converter.ts whose logic is not modified) use plain checkboxes — they describe current behavior, not new behavior, so the RED → GREEN → REFACTOR cycle does not apply.

Bug fixes

A bug fix that changes observable behavior MUST start with a failing regression test that reproduces the bug, then the fix that makes it pass.

Task ordering — inside-out

Order tasks strictly by layer:

domain types/schemas → ports → application use cases → adapters → CLI/MCP wiring → docs/changeset

Within each layer, apply RED → GREEN → REFACTOR ordering.

Task sizing

Each checkbox should be implementable + testable in one focused commit (~30–60 min). Split larger items into nested sub-checkboxes.

Final validation group

Every task list ends with this block (in order):

- [ ] pnpm -r test:coverage (thresholds: 80% core, 70% frontend)
- [ ] pnpm -r build (zero warnings)
- [ ] pnpm lint (zero errors/warnings; includes lint:specs, lint:archive, lint:archive-index)
- [ ] /opsx:verify against all spec scenarios
- [ ] pnpm exec changeset (for any user-visible change)
- [ ] Update affected domain specs in openspec/specs/ and run pnpm lint:specs
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. 11d ago First seen · 57 lines · 32 tokens per session scan A 20b0cbcdafa5

Subscribe to this mod's changes

xp-tdd-practices is a skill published in the GitHub repository pablo-albaladejo/kaiord (9 stars, last pushed 2d ago), licensed MIT. It adds 32 tokens to every session and 497 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.

Related

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.

YuDefine/nuxt-supabase-starter · 65 tokens

typescript-eval

Test TypeScript code snippets before persisting as skills.

vellum-ai/vellum-assistant · 14 tokens

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.

trpc/trpc · 61 tokens

work

Deliver one maintainer-approved EmDash issue, choosing the bug-fix path for a defect and the direct implementation path for an enhancement or task.

emdash-cms/emdash · 31 tokens

typescript-test-writing

Use this skill when writing or modifying tests in the llxprt-code repository. Covers mandatory TDD, behavioral testing, bun:test conventions and file naming, mock hygiene (no mock theater), and what never to test. Distilled from dev-docs/RULES.md, which remains the source of truth.

vybestack/llxprt-code · 66 tokens

maestro-work

Drive one accepted implementation unit - smallest falsifiable behavior, minimum edits, evidence that names the real falsifier; red tests only inside a Full bundle.

ReinaMacCredy/maestro · 34 tokens