Borrowing it
Nothing to install: this file belongs to MatrixAges/polywise. 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/MatrixAges/polywise/master/.opencode/skills/typescript/SKILL.mdgit clone --depth 1 https://github.com/MatrixAges/polywiseWrote 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/matrixages/polywise/typescript)<a href="https://agentmods.dev/skills/matrixages/polywise/typescript"><img src="https://agentmods.dev/badge/skills/matrixages/polywise/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/matrixages/polywise/typescript"><img src="https://agentmods.dev/badge/skills/matrixages/polywise/typescript.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.00032 | $0.01008 |
| Opus 5.5 | $0.00013 | $0.00403 |
| Sonnet 5.5 | $0.00006 | $0.00202 |
| Haiku 4.5 | $0.00003 | $0.00101 |
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 — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TypeScript Development Guide
This skill provides mandatory specifications for writing TypeScript in this project to ensure consistency, type safety, and code cleanliness.
1. Naming Conventions
1.1 Variables and Functions
- Variables: Use
snake_case(e.g.,theme_value,is_dev). - Functions: Use
camelCase(e.g.,getAntdTheme,setGlobalAnimation). - Internal Props Objects: Use
props_*prefix (e.g.,props_side_bar).
1.2 Classes and Types
- Classes: Use
PascalCase(e.g.,GlobalModel,Settings). - Interfaces/Types: Use
PascalCase. Interfaces preferably start withI(e.g.,IProps,IPropsSidebar). - Enum-like Types: Use literal union types instead of
enumwhere possible (e.g.,type Theme = 'light' | 'dark' | 'system').
2. Type Definitions
2.1 File Organization
- Global Types: Place in
packages/app/types/orpackages/app/typings/. - Local Types: Use
types.tsfile in the component or module directory. - Props: Define an
IPropsinterface for each component, typically in the component file or adjacenttypes.ts.
2.2 Best Practices
- Explicit Types: Prefer providing explicit type annotations for function parameters and complex return value types.
- Utility Types: Leverage TypeScript's utility types (
Pick,Omit,Partial,Exclude) to reuse existing definitions. - Strict Types: Avoid
any. If the type is truly unknown, useunknownand perform type casting (cast) when necessary. - Type Alias vs. Interface: Use
interfacefor object structures (especially props), usetypefor unions, intersections, or base types.
3. Code Style
3.1 Imports and Exports
- Named Exports: Utility functions and models prefer named exports.
- Default Exports: For the main component or main class in a file, use default export.
- Pure Type Imports: Use
import typefor importing types to maintain clear process boundaries and reduce bundle size. - Path Aliases: Use
@/to reference thesrcdirectory (e.g.,import { Settings } from '@/models').
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 · 103 lines · 32 tokens per session scan A bf0c53d343ea
typescript is a skill published in the GitHub repository MatrixAges/polywise (654 stars, last pushed 4mo ago), licensed MIT. It adds 32 tokens to every session and 1,008 once invoked, about $0.0001 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-09-04.
typescript compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| typescriptMatrixAges/polywise | Skill | 654 | 4mo ago | MIT | A | 32 | OpenCode |
| typescript-strictBlackBeltTechnology/pi-agent-dashboard | Skill | 341 | 2d ago | MIT | A | 41 | Claude Code, Codex |
| openclawznlgis/opengis-skills | Skill | 76 | 10d ago | MIT | A | 50 | Claude Code, Codex |
| V3 Core Implementationamangit1314/repo-rag | Skill | 0 | 1mo ago | none | A | 37 | Claude Code |
| agentscope-javaagentscope-ai/agentscope-java | Skill | 6.3k | yesterday | Apache-2.0 | A | 91 | Claude Code, Codex |
| freelance-gig-findertinyfish-io/tinyfish-cookbook | Skill | 2.3k | 3d ago | MIT | A | 98 | Claude Code, Codex |
| fetchtinyfish-io/tinyfish-cookbook | Skill | 2.3k | 3d ago | MIT | A | 121 | Claude Code |