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/design-principles/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/design-principles)<a href="https://agentmods.dev/skills/pablo-albaladejo/kaiord/design-principles"><img src="https://agentmods.dev/badge/skills/pablo-albaladejo/kaiord/design-principles/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/design-principles"><img src="https://agentmods.dev/badge/skills/pablo-albaladejo/kaiord/design-principles.svg" alt="Reviewed on agentmods" width="80" 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.00039 | $0.00463 |
| Opus 5 | $0.00019 | $0.00231 |
| Sonnet 5 | $0.00008 | $0.00093 |
| Haiku 4.5 | $0.00004 | $0.00046 |
Grade A, and why
design-principles 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 10d 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.
What it actually says
Design Principles — Kaiord
TypeScript
- Strict mode; no implicit
any - Use
typenotinterface - Separate type imports:
import type { X } from '...' - Factory functions preferred over classes
File and function size
- Files ≤ 100 lines (tests exempt)
- Functions < 40 LOC (React components < 60 LOC)
Naming
- All code, comments, commits, and docs must be in English
- File names:
kebab-case.ts - Zod schemas: camelCase name, e.g.
workoutStepSchema - KRD field names: camelCase —
subSport,durationType,heartRate - KRD enum values: snake_case —
"indoor_cycling","lap_swimming" - Access enums via
.enum:subSportSchema.enum.indoor_cycling - Adapters MAY use camelCase internally but MUST emit snake_case enum values in KRD output
Mappers vs converters
| File pattern | When to use | Tests |
|---|---|---|
*.mapper.ts |
Simple transformation, no logic | MUST NOT have tests |
*.converter.ts |
Complex logic, branching | MUST have tests |
Enforcement: scripts/check-mapper-no-tests.mjs (R-MapperNoTests) and scripts/check-converter-has-tests.mjs (R-ConverterHasTests).
Comments
Write no comments by default. Add one only when the WHY is non-obvious: a hidden constraint, a subtle invariant, a specific bug workaround. Never describe WHAT the code does — well-named identifiers do that.
Quality
- Zero ESLint warnings, zero TS errors, zero test warnings, zero build warnings
- When existing code violates a rule: fix the code — never relax the rule (no error→warn or warn→off)
- Boy Scout Rule: leave the codebase cleaner than you found it
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.
- 10d ago First seen · 48 lines · 39 tokens per session scan A ba78e3ec3da0
design-principles is a skill published in the GitHub repository pablo-albaladejo/kaiord (9 stars, last pushed yesterday), licensed MIT. It adds 39 tokens to every session and 463 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
typescript-expert
TypeScript expert for type system, generics, utility types, and strict mode patterns.
write-script-python3
MUST use when writing Python scripts.
write-script-bun
MUST use when writing TypeScript scripts. Bun is the default and preferred TypeScript runtime — pick it for TypeScript unless the script specifically needs Deno.
write-script-deno
Use ONLY when a TypeScript script specifically requires the Deno runtime (Deno stdlib or deno.land URL imports). For all other TypeScript, use write-script-bun instead.
write-script-php
MUST use when writing PHP scripts.
write-script-rust
MUST use when writing Rust scripts.