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 makifbaysal/tasktrooper --skill node-typescript-testinggit clone --depth 1 https://github.com/makifbaysal/tasktrooperWrote 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/makifbaysal/tasktrooper/node-typescript-testing)<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/node-typescript-testing"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/node-typescript-testing/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/makifbaysal/tasktrooper/node-typescript-testing"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/node-typescript-testing.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.00055 | $0.01078 |
| Opus 5.5 | $0.00022 | $0.00431 |
| Sonnet 5.5 | $0.00011 | $0.00216 |
| Haiku 4.5 | $0.00006 | $0.00108 |
Grade A, and why
node-typescript-testing 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 1mo 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.
TypeScript Service Testing
Overview
Test-first, same discipline as everywhere (see tdd-workflow): write the failing test, watch it fail, minimal code to pass. This skill is the Node.js mechanics for a backend.
Core principle: unit-test services and the domain with fakes for their ports; prove routes, validation and SQL against the real framework and a real database, without opening a port where the framework lets you.
Test levels
| Level | What it covers | Tools |
|---|---|---|
| Unit | Domain functions and types | the repository's runner: Vitest, Jest or node:test |
| Unit with fakes | Service, its ports faked | vi.fn() / jest.fn() objects satisfying the port interface |
| HTTP | Route registration, validation, error shape, auth | Fastify app.inject(), Nest Test.createTestingModule + supertest, supertest on an Express app |
| Persistence | Queries and migrations against real Postgres | @testcontainers/postgresql + the repository's migrate command |
Never add a second runner. A new project uses Vitest.
Unit test with a faked port
describe("TaskService.create", () => {
const repo = { add: vi.fn<TaskRepository["add"]>().mockResolvedValue(undefined) };
const service = new TaskService(repo);
beforeEach(() => repo.add.mockClear());
it("persists and returns the task", async () => {
const task = await service.create("Write the report", "user-1");
expect(task).toMatchObject({ title: "Write the report", ownerId: "user-1" });
expect(repo.add).toHaveBeenCalledWith(task);
});
it.each(["", " ", "x".repeat(201)])("rejects the title %j", async (title) => {
await expect(service.create(title, "user-1")).rejects.toThrow(InvalidTaskTitle);
expect(repo.add).not.toHaveBeenCalled();
});
});
HTTP test without a port (Fastify)
it("answers 400 in the problem shape for a blank title", async () => {
const app = buildApp({ taskService: fakeService });
const res = await app.inject({ method: "POST", url: "/tasks", payload: { title: "" }, headers: auth("user-1") });
expect(res.statusCode).toBe(400);
expect(res.headers["content-type"]).toContain("application/problem+json");
expect(res.json()).toMatchObject({ errors: { title: expect.any(String) } });
});
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.
- 1mo ago First seen · 83 lines · 55 tokens per session scan A 8aef9ec4ce4c
node-typescript-testing is a skill published in the GitHub repository makifbaysal/tasktrooper (123 stars, last pushed today), licensed Apache-2.0. It adds 55 tokens to every session and 1,078 once invoked, about $0.0002 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-17.
node-typescript-testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| node-typescript-testingmakifbaysal/tasktrooper | Skill | 123 | today | Apache-2.0 | A | 55 | Claude Code, Codex |
| agent-testerruvnet/ruflo | Skill | 83k | today | MIT | A | 15 | Claude Code |
| temporal-python-testingwshobson/agents | Skill | 43k | 5d ago | MIT | A | 45 | Claude Code |
| python-testingmicrosoft/agent-framework | Skill | 15k | 13d ago | MIT | A | 29 | Claude Code, Codex |
| nemo-automodel-model-onboardingNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 33 | Claude Code |
| cuequivariance-jaxNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 38 | Claude Code, Codex |
| cuequivariance-torchNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 37 | Claude Code, Codex |