typescript-runtime

typescript-runtime is a skill for Claude Code, Codex from eliecer2000/kiro-bootstrap. It costs 40 tokens per session (2,020 once invoked), scanned A, original, MIT.

A guide for setting up and maintaining a modern TypeScript project, including strict types, code checks, formatting, tests, and bundling.

In plain words
What is it for?
Use it to configure tsconfig, ESLint, Prettier, Vitest, bundling, public interfaces, and TypeScript project standards.
Why use it?
It helps prevent unclear or unsafe types and keeps TypeScript projects consistent as they grow.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/eliecer2000/kiro-bootstrap/typescript-runtime
Any agent
npx skills add eliecer2000/kiro-bootstrap --skill typescript-runtime
Clone the repo
git clone --depth 1 https://github.com/eliecer2000/kiro-bootstrap

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for typescript-runtime

README.md
[![agentmods](https://agentmods.dev/badge/skills/eliecer2000/kiro-bootstrap/typescript-runtime.svg)](https://agentmods.dev/skills/eliecer2000/kiro-bootstrap/typescript-runtime)
Your own site
<a href="https://agentmods.dev/skills/eliecer2000/kiro-bootstrap/typescript-runtime"><img src="https://agentmods.dev/badge/skills/eliecer2000/kiro-bootstrap/typescript-runtime.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,020 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00040 $0.02020
Opus 5 $0.00020 $0.01010
Sonnet 5 $0.00008 $0.00404
Haiku 4.5 $0.00004 $0.00202

Measured 3d ago against content hash 15f793877041, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

typescript-runtime 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 3d 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.

skills/typescript-runtime/SKILL.md · 277 lines

How it starts

The opening of the file, as written. The whole thing — 277 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TypeScript Runtime

Skill para configurar y mantener toolchains TypeScript modernos: tsconfig estricto, ESLint con typescript-eslint, Prettier, Vitest, bundling, gestión de tipos y estándares de proyecto.

Principios fundamentales

  • strict: true obligatorio en tsconfig. Sin excepciones.
  • Nunca usar any. Usar unknown + type guards cuando el tipo es desconocido.
  • ESLint con @typescript-eslint/parser + Prettier como estándar.
  • Vitest como test runner (soporte nativo de TypeScript, rápido, ESM).
  • Tipos explícitos en interfaces públicas (funciones exportadas, props de componentes). Inferencia para variables locales.

tsconfig.json recomendado

{
  "compilerOptions": {
    "target": "ES2022",
    "module": "ESNext",
    "moduleResolution": "bundler",
    "strict": true,
    "noUncheckedIndexedAccess": true,
    "noImplicitOverride": true,
    "noPropertyAccessFromIndexSignature": true,
    "exactOptionalPropertyTypes": false,
    "esModuleInterop": true,
    "forceConsistentCasingInFileNames": true,
    "skipLibCheck": true,
    "declaration": true,
    "declarationMap": true,
    "sourceMap": true,
    "outDir": "dist",
    "rootDir": "src"
  },
  "include": ["src/**/*.ts"],
  "exclude": ["node_modules", "dist", "**/*.test.ts"]
}

Estructura de proyecto recomendada

proyecto/
├── src/
│   ├── handlers/
│   ├── services/
│   ├── repositories/
│   ├── types/              # Tipos e interfaces compartidos
│   │   └── index.ts
│   ├── utils/
│   └── index.ts
├── tests/
│   ├── unit/
│   ├── integration/
│   └── helpers/
│       └── fixtures.ts
├── tsconfig.json
├── eslint.config.mjs
├── .prettierrc
├── vitest.config.ts
├── package.json
└── README.md

ESLint con typescript-eslint (flat config, v9+)

// eslint.config.mjs
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

export default tseslint.config(
  eslint.configs.recommended,
  ...tseslint.configs.strictTypeChecked,
  {
    languageOptions: {
      parserOptions: {
        projectService: true,
        tsconfigRootDir: import.meta.dirname,
      },
    },
    rules: {
      '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
      '@typescript-eslint/no-explicit-any': 'error',
      '@typescript-eslint/explicit-function-return-type': ['warn', {
        allowExpressions: true,
        allowTypedFunctionExpressions: true,
      }],
      '@typescript-eslint/strict-boolean-expressions': 'error',
      '@typescript-eslint/no-floating-promises': 'error',
      'no-console': ['warn', { allow: ['warn', 'error'] }],
    },
  },
  { ignores: ['dist/', 'node_modules/', 'coverage/'] },
);

Read the full file on GitHub · 277 lines

Changes

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.

  1. 3d ago First seen · 277 lines · 40 tokens per session scan A 15f793877041

Subscribe to this mod's changes

typescript-runtime is a skill published in the GitHub repository eliecer2000/kiro-bootstrap (9 stars, last pushed 5mo ago), licensed MIT. It adds 40 tokens to every session and 2,020 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

sandy

Run TypeScript scripts in sandboxed microVMs or Docker containers with AWS SDK access via IMDS. Use when investigating AWS resources, running read-only queries, or executing TypeScript automation that needs AWS credentials.

jamestelfer/sandy · 45 tokens

aws-cdk-builder

AWS CDK infrastructure builder using TypeScript with L2/L3 constructs and Well-Architected patterns. Activate on: AWS CDK, CDK construct, CDK stack, CDK pipeline, AWS infrastructure as code TypeScript, L2 construct, CDK patterns. NOT for: Terraform IaC (use terraform-module-builder), Kubernetes manifests (use…

curiositech/windags-skills · 94 tokens

zod-4

Zod 4 schema validation patterns. Trigger: When creating or updating Zod v4 schemas for validation/parsing (forms, request payloads, adapters), including v3 -> v4 migration patterns.

prowler-cloud/prowler · 46 tokens

typescript

TypeScript strict patterns and best practices. Trigger: When implementing or refactoring TypeScript in .ts/.tsx (types, interfaces, generics, const maps, type guards, removing any, tightening unknown).

prowler-cloud/prowler · 44 tokens

agent-squad-typescript

Use when building or modifying a Node.js / TypeScript app that uses the agent-squad npm package — multi-agent orchestration: orchestrator, agents (all built-in types + GroundedAgent), classifier routing (Bedrock / Anthropic / OpenAI), storage (in-memory / DynamoDB / SQL), retrievers (Amazon KB / Dakera), and tools…

2FastLabs/agent-squad · 87 tokens

node-modules-inspector

Inspects a project's installed nodemodules and produces three reports: duplicated packages (installed in multiple versions), packages sorted by install size, and maintenance actions (dep-upgrade opportunities + publint findings, grouped by consumer/author). Use when the user wants to audit dependencies, find duplicate…

antfu/node-modules-inspector · 156 tokens