Borrowing it
Nothing to install: this file belongs to PlunderStruck/scip-query. 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/PlunderStruck/scip-query/main/.agents/skills/typescript/SKILL.mdgit clone --depth 1 https://github.com/PlunderStruck/scip-queryWrote 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/plunderstruck/scip-query/typescript)<a href="https://agentmods.dev/skills/plunderstruck/scip-query/typescript"><img src="https://agentmods.dev/badge/skills/plunderstruck/scip-query/typescript/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/plunderstruck/scip-query/typescript"><img src="https://agentmods.dev/badge/skills/plunderstruck/scip-query/typescript.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.00057 | $0.00858 |
| Opus 5.5 | $0.00023 | $0.00343 |
| Sonnet 5.5 | $0.00011 | $0.00172 |
| Haiku 4.5 | $0.00006 | $0.00086 |
Grade A, and why
typescript 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 2mo 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 — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TypeScript Best Practices
Use this skill as a compact router to the TypeScript rule pack. A TypeScript rule is a narrow, evidence-backed coding guideline whose purpose is to improve compile speed, runtime behavior, type safety, or maintainability for TypeScript projects.
The full compiled document is AGENTS.md. Individual detailed rules live under references/.
Rules
- Start with the highest-impact category that matches the work.
- Read the specific reference file before applying a non-obvious rule.
- Prefer project conventions when a rule conflicts with established local architecture.
- Verify with the project typecheck, test, or build command after edits.
Categories
| Priority | Category | Use for | Prefix |
|---|---|---|---|
| 1 | Type system performance | slow type checking, complex types, exported APIs | type- |
| 2 | Compiler configuration | tsconfig, project references, included files | tscfg- |
| 3 | Async patterns | Promise concurrency, async wrappers, return types | async- |
| 4 | Module organization | imports, barrels, dynamic imports, @types scope | module- |
| 5 | Type safety | unknown, guards, exhaustive checks, nullability | safety- |
| 6 | Memory management | timers, listeners, closures, global caches | mem- |
| 7 | Runtime optimization | hot loops, lookups, object spread, string methods | runtime- |
| 8 | Advanced patterns | branded types, satisfies, template literal types | advanced- |
Quick Map
Type system:
type-interfaces-over-intersectionstype-avoid-large-unionstype-extract-conditional-typestype-limit-recursion-depthtype-explicit-return-typestype-avoid-deep-genericstype-simplify-mapped-types
Compiler:
tscfg-enable-incrementaltscfg-skip-lib-checktscfg-isolate-modulestscfg-project-referencestscfg-exclude-properlytscfg-strict-function-types
Async and modules:
async-parallel-promisesasync-defer-awaitasync-avoid-loop-awaitasync-explicit-return-typesasync-avoid-unnecessary-asyncmodule-avoid-barrel-importsmodule-avoid-circular-dependenciesmodule-use-type-importsmodule-dynamic-importsmodule-control-types-inclusion
What ships with it
46 files 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.
- AGENTS.md 8.2 KB
- CHANGELOG.md 1.2 KB
- references/_sections.md 1.4 KB
- references/advanced-branded-types.md 2.4 KB
- references/advanced-satisfies-operator.md 2.6 KB
- references/advanced-template-literal-types.md 2.6 KB
- references/async-avoid-loop-await.md 2.1 KB
- references/async-avoid-unnecessary-async.md 1.8 KB
- references/async-defer-await.md 2.1 KB
- references/async-explicit-return-types.md 2.1 KB
- references/async-parallel-promises.md 2.1 KB
- references/mem-avoid-closure-leaks.md 2.5 KB
- references/mem-avoid-global-state.md 2.4 KB
- references/mem-cleanup-event-listeners.md 2.9 KB
- references/mem-clear-timers.md 2.5 KB
- references/mem-use-weakmap-for-metadata.md 2.2 KB
- references/module-avoid-barrel-imports.md 1.7 KB
- references/module-avoid-circular-dependencies.md 1.8 KB
- references/module-control-types-inclusion.md 1.8 KB
- references/module-dynamic-imports.md 2.1 KB
- references/module-use-type-imports.md 1.9 KB
- references/runtime-avoid-object-spread-in-loops.md 2.1 KB
- references/runtime-cache-property-access.md 2.1 KB
- references/runtime-prefer-array-methods.md 2.3 KB
- references/runtime-use-for-of-for-iteration.md 2.0 KB
- references/runtime-use-set-for-lookups.md 1.8 KB
- references/runtime-use-string-methods.md 2.2 KB
- references/safety-assertion-functions.md 2.5 KB
- references/safety-const-assertions.md 2.2 KB
- references/safety-exhaustive-checks.md 2.4 KB
- references/safety-prefer-unknown-over-any.md 2.0 KB
- references/safety-strict-null-checks.md 1.9 KB
- references/safety-use-type-guards.md 2.1 KB
- references/tscfg-enable-incremental.md 1.4 KB
- references/tscfg-exclude-properly.md 1.8 KB
- references/tscfg-isolate-modules.md 1.7 KB
- references/tscfg-project-references.md 2.1 KB
- references/tscfg-skip-lib-check.md 1.5 KB
- references/tscfg-strict-function-types.md 1.7 KB
- references/type-avoid-deep-generics.md 1.8 KB
- references/type-avoid-large-unions.md 1.6 KB
- references/type-explicit-return-types.md 2.0 KB
- references/type-extract-conditional-types.md 1.6 KB
- references/type-interfaces-over-intersections.md 1.3 KB
- references/type-limit-recursion-depth.md 1.7 KB
- references/type-simplify-mapped-types.md 1.8 KB
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.
- 2mo ago First seen · 92 lines · 57 tokens per session scan A 4e7abd3ecd51
typescript is a skill published in the GitHub repository PlunderStruck/scip-query (7 stars, last pushed 19d ago), licensed Apache-2.0. It adds 57 tokens to every session and 858 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-31.
typescript compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| typescriptPlunderStruck/scip-query | Skill | 7 | 19d ago | Apache-2.0 | A | 57 | Claude Code, Codex |
| dd-code-generationDataDog/pup | Skill | 1.0k | yesterday | Apache-2.0 | A | 16 | Claude Code |
| better-t-stackAmanVarshney01/create-better-t-stack | Skill | 5.9k | 13d ago | MIT | A | 149 | Claude Code, Codex |
| angularericrisco/rsc-harness | Skill | 503 | 2d ago | MIT | A | 89 | Claude Code, Codex |
| gographozgurcd/gograph | Skill | 231 | yesterday | MIT | A | 69 | Claude Code |
| adding-a-commandcaliber-ai-org/ai-setup | Skill | 1.3k | 1mo ago | MIT | A | 76 | Claude Code, Codex |
| buncode-yeongyu/senpi | Skill | 511 | yesterday | MIT | A | 237 | Claude Code, Codex |