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 skills add didacrios/ai-coding-protocols --skill typescript-standardgit clone --depth 1 https://github.com/didacrios/ai-coding-protocolsWrote 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/didacrios/ai-coding-protocols/typescript-standard)<a href="https://agentmods.dev/skills/didacrios/ai-coding-protocols/typescript-standard"><img src="https://agentmods.dev/badge/skills/didacrios/ai-coding-protocols/typescript-standard/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/didacrios/ai-coding-protocols/typescript-standard"><img src="https://agentmods.dev/badge/skills/didacrios/ai-coding-protocols/typescript-standard.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.00071 | $0.00730 |
| Opus 5.5 | $0.00028 | $0.00292 |
| Sonnet 5.5 | $0.00014 | $0.00146 |
| Haiku 4.5 | $0.00007 | $0.00073 |
Grade A, and why
typescript-standard 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 yesterday.
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 — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TypeScript & Testing Standards
Language-specific rules for TypeScript projects covering clean code constraints, TDD workflow, and testing framework conventions.
When to Activate
- Writing or modifying TypeScript code
- Creating or updating tests in a TypeScript project
- Reviewing TypeScript code for standards compliance
- Setting up testing infrastructure (Jest, Playwright)
Core Concepts
- Strict typing everywhere — no
any, interfaces for all data structures - Small methods — 10-20 lines maximum, extraction is mandatory
- TDD flow — one test at a time, written before the implementation
Detailed Guidance
Clean Code Constraints
- Method Size: Methods must be between 10 and 20 lines max.
- Typing: Strict mode enabled. No
any. Use interfaces for all data structures. - Naming: Variable and function names must be descriptive and self-documenting.
- Simplification: Avoid unnecessary abstractions. Prefer the simplest working solution.
Testing Protocol (TDD)
- One Test at a Time: Create exactly one test before implementing the corresponding code.
- Given-When-Then: Use this format in comments to structure test logic.
- Data Builders: Use the
entity.data-builder.tspattern for test data. - Faker: Use Faker for all default values to avoid hardcoded bias.
- Naming Convention: Use
file-name.spec.tsand place tests near the production code.
Testing Frameworks
- Unit/Component: Jest + React Testing Library.
- E2E: Playwright
- Mocks: Mock database calls; use
InMemoryRepositoriesfor adapters. - Coverage: Minimum 80% coverage required.
Examples
Test structure:
// file: create-user.spec.ts
describe('CreateUser', () => {
it('should create a user with valid data', () => {
// Given
const userData = aUser().withEmail('[email protected]').build();
// When
const result = createUser(userData);
// Then
expect(result.email).toBe('[email protected]');
});
});
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.
- yesterday Changed · +1 lines · +48 tokens per session fd45d8c0a3cc
- 15d ago First seen · 78 lines · 23 tokens per session scan A 67decfa1c332
typescript-standard is a skill published in the GitHub repository didacrios/ai-coding-protocols (2 stars, last pushed 2d ago), licensed MIT. It adds 71 tokens to every session and 730 once invoked, about $0.0003 per session on Opus 5.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-10-01.
Other skills, from other repositories
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.
typescript-eval
Test TypeScript code snippets before persisting as skills.
Unit Test Scaffold (TypeScript)
Generate TypeScript unit test skeletons (Jest/Vitest) from specifications.
programming-fsharp
Guides F# work under the F# standard: placing each new file in the compile order, reaching a red that fails on an assertion, choosing among option, result, and exception, and finding invariants worth a property-based test.
programming-javascript
Guides JavaScript work under the JavaScript standard: confirming the file is type-checked, typing through JSDoc, validating input the checker cannot see, and noticing floating promises and swallowed errors before handing off.
programming-shell
Guides shell work under the shell standards: checking the declared dialect first, deciding whether logic belongs in shell at all, tracing where exit-on-error does not reach, and testing the script as its callers run it.