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 shinpr/ai-coding-project-boilerplate --skill frontend-typescript-testinggit clone --depth 1 https://github.com/shinpr/ai-coding-project-boilerplateWrote 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/shinpr/ai-coding-project-boilerplate/frontend-typescript-testing)<a href="https://agentmods.dev/skills/shinpr/ai-coding-project-boilerplate/frontend-typescript-testing"><img src="https://agentmods.dev/badge/skills/shinpr/ai-coding-project-boilerplate/frontend-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/shinpr/ai-coding-project-boilerplate/frontend-typescript-testing"><img src="https://agentmods.dev/badge/skills/shinpr/ai-coding-project-boilerplate/frontend-typescript-testing.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.00056 | $0.01245 |
| Opus 5.5 | $0.00022 | $0.00498 |
| Sonnet 5.5 | $0.00011 | $0.00249 |
| Haiku 4.5 | $0.00006 | $0.00125 |
Grade A, and why
frontend-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 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.
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 Testing Rules (Frontend)
Prerequisite Detection
Inspect package.json, the lockfile, test configuration, and existing test imports before selecting a framework or command. Apply Vitest, React Testing Library, MSW, or Playwright rules only when the dependency/configuration is present. Use the repository's configured equivalent when different. If no runnable harness can be identified, report the inspected paths and the missing framework or command instead of inventing one.
References
| Test Type | Reference | When to Use |
|---|---|---|
| Unit / Integration | This document | Implementing React component tests with RTL + Vitest + MSW |
| E2E | references/e2e.md | Implementing browser-level E2E tests with Playwright |
Test Framework
- Vitest: Use when the repository config or existing tests select Vitest
- React Testing Library: For component testing
- MSW (Mock Service Worker): For API mocking
- Test imports:
import { describe, it, expect, beforeEach, vi } from 'vitest' - Component test imports:
import { render, screen } from '@testing-library/react' - User interaction:
import userEvent from '@testing-library/user-event' - Mock creation: Use
vi.mock()
Basic Testing Policy
Quality Requirements
- Regression protection: assert the named acceptance result, public branch, or failure state on critical paths and high-reuse components
- Independence: Each test passes in isolation, in any order, and alongside the tests the runner executes concurrently with it
- Reproducibility: Control time, randomness, environment values, network responses, browser state, and the order of concurrent work so identical inputs produce the same observable result
- Readability: Each test names one user-visible behavior, separates setup/action/assertion, and keeps fixtures limited to values used by that behavior
Where to concentrate test rigor
For shared components, custom hooks, and utilities reused across features, cover their public branches, error states, and boundary contracts because their regression blast radius is wider. Verify page-level composition through integration/E2E tests when the behavior depends on multiple rendered units.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 Changed be55fb17c2b1
- 1mo ago Changed cf9cb07f942e
- 1mo ago Changed · -1 lines 7c4ad64ba129
- 2mo ago Changed · -1 lines d6809815acbb
- 3mo ago First seen · 85 lines · 56 tokens per session scan A 2551dafb6049
frontend-typescript-testing is a skill published in the GitHub repository shinpr/ai-coding-project-boilerplate (239 stars, last pushed 5d ago), licensed MIT. It adds 56 tokens to every session and 1,245 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-08-30.
frontend-typescript-testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| frontend-typescript-testingshinpr/ai-coding-project-boilerplate | Skill | 239 | 5d ago | MIT | A | 56 | Claude Code |
| tuturuuu-cli-resourcestutur3u/platform | Skill | 56 | today | Apache-2.0 | A | 26 | Codex |
| V3 CLI Modernizationruvnet/ruflo | Skill | 83k | yesterday | MIT | A | 35 | Claude Code |
| spec-harness-ticketschohra-med/expo_boilerplate | Skill | 36 | 2mo ago | MIT | A | 82 | Claude Code |
| chroniclemicrosoft/vscode | Skill | 195k | today | MIT | A | 72 | Claude Code, Codex |
| generate-run-commandsmicrosoft/vscode | Skill | 195k | today | MIT | A | 36 | Claude Code, Codex |
| agentmailpaperclipai/paperclip | Skill | 120k | today | MIT | A | 30 | Claude Code, Codex |