/typescript-development:typescript-testingfrom typescript-development
Use when designing or implementing tests for TypeScript behavior, public types, compiler failures, filesystem or process boundaries, or package-consumer compatibility.
Ships in typescript-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Test runtime behavior and compile-time contracts separately, using the repository's established runner and compiler commands.
Read the test configuration, tsconfig files, package scripts, CI, and nearby tests. Keep the configured runner, assertion library, coverage tool, DOM/browser environment, and compiler version unless the user asks for a migration.
| Surface | Verify with |
|---|---|
| Pure decisions and transformations | Focused runtime unit tests through public behavior |
| Filesystem, process, network, database, worker, or browser seams | The smallest realistic integration boundary |
| Exported type narrowing and inference | A compiled consumer fixture or type-test file |
| Invalid types that must stay rejected | @ts-expect-error whose unused directive fails compilation |
| Published package behavior | A packed external consumer, not source-path imports |
false, 0, or an empty string.@ts-expect-error.Run the narrowest affected runtime and compiler tests first, then the repository's full required checks. Report the exact commands and distinguish runtime-test, type-test, and package-consumer failures.
| Mistake | Correction |
|---|---|
| Testing only runtime behavior | Compile the public narrowing and invalid-use contracts too |
Using as to make a fixture compile | Construct input through the real public boundary |
Treating @ts-ignore as a negative test | Use @ts-expect-error so disappearance of the error fails |
| Importing package source in a consumer test | Pack/install the artifact and resolve its public exports |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 skills in this plugin
/dignified-typescriptUse when implementing or reviewing substantial TypeScript, designing public APIs, modeling domain state, validating runtime data, or refactoring project-scale TypeScript code./tighten-typescript-typesUse when tightening annotations in existing TypeScript, removing avoidable any or assertions, improving changed-file types, or reducing compiler errors without broad refactoring./typescript-modules-packagingUse when TypeScript imports, ESM or CommonJS, module resolution, package exports, declaration emit, subpaths, project references, or published consumer compatibility are involved./typescript-project-toolingUse when configuring or maintaining a TypeScript repository, package manager, tsconfig files, linting, formatting, testing, builds, workspaces, CI, or publishing automation./typescript-type-system-referenceUse when answering difficult or disputed TypeScript questions about assignability, inference, narrowing, variance, generics, conditional or mapped types, declarations, or compiler-option semantics.npx claudepluginhub cjthompson/claude-code-config --plugin typescript-development