Typescript Advanced Types
rolling-scopes/rsschool-app
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.
Diagnose and optimize TypeScript checker, build, V8, Node, and browser performance.
$ npx skills add caarlos0/dotfiles --skill typescript-performance -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install caarlos0/dotfiles typescript-performance --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/caarlos0/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/typescript-performance .claude/skills/typescript-performance && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "typescript-performance" agent skill from https://github.com/caarlos0/dotfiles/tree/main/skills/typescript-performance into .claude/skills/typescript-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-performance", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/caarlos0/dotfiles/tree/main/skills/typescript-performanceType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add caarlos0/dotfiles --skill typescript-performance -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install caarlos0/dotfiles typescript-performance --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/caarlos0/dotfiles.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/typescript-performance .agents/skills/typescript-performance && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "typescript-performance" agent skill from https://github.com/caarlos0/dotfiles/tree/main/skills/typescript-performance into .agents/skills/typescript-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-performance", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add caarlos0/dotfiles --skill typescript-performance -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install caarlos0/dotfiles typescript-performance --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/caarlos0/dotfiles.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/typescript-performance .cursor/skills/typescript-performance && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "typescript-performance" agent skill from https://github.com/caarlos0/dotfiles/tree/main/skills/typescript-performance into .cursor/skills/typescript-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-performance", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/caarlos0/dotfiles.git --path skills/typescript-performance--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add caarlos0/dotfiles --skill typescript-performance -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install caarlos0/dotfiles typescript-performance --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/caarlos0/dotfiles.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/typescript-performance .gemini/skills/typescript-performance && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "typescript-performance" agent skill from https://github.com/caarlos0/dotfiles/tree/main/skills/typescript-performance into .gemini/skills/typescript-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-performance", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install caarlos0/dotfiles typescript-performanceInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add caarlos0/dotfiles --skill typescript-performance -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/caarlos0/dotfiles.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/typescript-performance .github/skills/typescript-performance && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "typescript-performance" agent skill from https://github.com/caarlos0/dotfiles/tree/main/skills/typescript-performance into .github/skills/typescript-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-performance", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add caarlos0/dotfiles --skill typescript-performance -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install caarlos0/dotfiles typescript-performance --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/caarlos0/dotfiles.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/typescript-performance .opencode/skills/typescript-performance && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "typescript-performance" agent skill from https://github.com/caarlos0/dotfiles/tree/main/skills/typescript-performance into .opencode/skills/typescript-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-performance", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
typescript-performanceDiagnose and optimize TypeScript checker, build, V8, Node, and browser performance.
Typescript Performance is an agent skill from caarlos0/dotfiles. Diagnose and optimize TypeScript checker, build, V8, Node, and browser performance.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development. It works with TypeScript. The licence is MIT.
Read from SKILL.md and the folder at commit b144097. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
tscnodenpxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Typescript Performance loads about 1.5k tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 709 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from caarlos0/dotfiles at commit b144097, republished under its MIT licence (© caarlos0). 709 words, ~1,455 tokens.
.claude/skills/typescript-performance/SKILL.md (or your agent's skills folder).First identify the slow layer: type checking, emit and bundling, emitted JavaScript, Node.js, or the browser. Measure one representative workload and change one demonstrated bottleneck.
Start with phase timing:
tsc -p tsconfig.json --extendedDiagnostics
tsc -p tsconfig.json --generateTrace trace --incremental false
npx @typescript/analyze-trace traceUse --generateTrace only when check time dominates. Its output identifies
expensive files, comparisons, and type instantiations.
Concrete checker fixes, only for traced hot spots:
--listFiles or --explainFiles.
exclude does not remove an imported file.types to ambient packages the program uses; do not load every
installed @types package by accident.incremental for repeated builds and invalidate .tsbuildinfo when the
compiler or relevant configuration changes.skipLibCheck saves time by not validating dependency declarations. It can
hide incompatible .d.ts files, so treat it as a correctness trade-off rather
than a default optimization. isolatedDeclarations enables compatible tools to
emit declarations per file; it does not make ordinary tsc checking faster.
Run fast transpilation beside, never instead of, type checking:
tsc --noEmit ─────────────► type errors
source ─► esbuild / SWC ─► JavaScript and source mapsEnable isolatedModules to detect constructs unsafe for file-isolated
transpilers. Inspect:
package.json sideEffects. Use false only when module evaluation is
actually pure; list CSS, polyfills, and registration modules explicitly.target against the deployed runtime. Lower targets inject syntax-lowering
code; TypeScript does not polyfill missing runtime APIs.Interfaces, type aliases, generics, and type modifiers erase. Regular enums, namespaces, decorators, and parameter properties emit JavaScript. Inspect the bundle before making runtime claims.
In measured hot paths:
Reject stale bans on try/catch, async/await, classes, or modern syntax.
V8 behavior changes; require a current profile on the deployed Node or browser.
fs, dns, crypto, and zlib can contend for the
shared libuv worker pool. Moving work off the event loop does not create
unlimited capacity.write() returns false, wait for
drain, and prefer stream.pipeline for connected stages and error cleanup.AsyncLocalStorage for request context instead of raw async_hooks.node --cpu-prof app.js
node --heap-prof app.jsMeasure bundle delivery, script parse/evaluate/GC, rendering, and field responsiveness separately. Use the Performance panel to attribute long tasks before splitting or yielding. Include structured-clone and messaging cost when moving work to Web Workers; transfer buffers when ownership transfer is valid. Batch DOM reads and writes to avoid repeated style and layout work.
Lighthouse is lab evidence. Use Core Web Vitals field data for real-user impact; one local run is not a regression gate.
Bundle bytes and compiler diagnostic counts can be hard gates when the lockfile, toolchain, input, and variance are controlled. Keep shared-runner wall time and browser lab scores advisory until repeated baselines show a stable threshold.
code-review checks a completed diff. When invoked from code-review, do not
invoke it again.code-simplifier runs after the gain is proven.change-impact-auditor traces config, cache, module, and consumer changes.runtime-process-debugging owns event-loop, process, pipe, and shutdown
failures.Correctness overrides performance.
© caarlos0, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/typescript-performance of caarlos0/dotfiles.
Open the folder on GitHubat commit b144097
Typescript Performance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Typescript Performance this skillcaarlos0/dotfiles | 220 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Typescript Advanced Typesrolling-scopes/rsschool-app | 10k | 25 repos | ~4.2k | Automated safety check: Pass | MPL-2.0 | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 5 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Nx Importnrwl/nx | 29k | 6 repos | ~3.5k | Automated safety check: Pass | MIT | |
| Install Anti-Slop Oxlint Rulesdmmulroy/anti-slop | 5.3k | 1 repos | ~2.2k | Automated safety check: Pass | MIT | |
| OpenTUI Terminal Interfacescline/cline | 70k | — | ~1.9k | Automated safety check: Pass | Apache-2.0 |
rolling-scopes/rsschool-app
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
nrwl/nx
Import, merge, or combine repositories into an Nx workspace using nx import.
dmmulroy/anti-slop
Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.
cline/cline
Helps build terminal user interfaces with OpenTUI using its core imperative API or its React and Solid reconcilers, with references for layout, keyboard, animation and testing.
langgenius/dify
Reviews frontend changes under `web/` or `packages/dify-ui/` for concrete defects and broken project contracts, using routed rule packs and a severity scale for findings.
caarlos0/dotfiles
Design and review command-line interfaces for usability, automation, safety, accessibility, and long-term compatibility.
caarlos0/dotfiles
Review and merge open dependency pull requests from Dependabot, Renovate and similar bots across the goreleaser organization and the caarlos0 user.
caarlos0/dotfiles
Use GitHub CLI efficiently for pull requests, CI checks, workflow runs, logs, and merge status.
caarlos0/dotfiles
Design terminal user interfaces and interactive CLIs that stay usable, accessible, and scriptable.
caarlos0/dotfiles
Design and review dashboards that are informative, honest, accessible, and visually polished, independent of any tool.
caarlos0/dotfiles
Author and revise clear GitHub internal documentation, including design docs, proposals, decision records, runbooks, status updates, and handoffs.
Works with
Categories
Diagnose and optimize TypeScript checker, build, V8, Node, and browser performance. Typescript Performance is an agent skill from caarlos0/dotfiles. Diagnose and optimize TypeScript checker, build, V8, Node, and browser performance.
Typescript Performance fits situations like: development work in your project.
Run `npx skills add caarlos0/dotfiles --skill typescript-performance -a claude-code`. Or copy the skill folder (skills/typescript-performance in caarlos0/dotfiles) into .claude/skills/typescript-performance in your project. Claude Code loads it when a task matches its description.
Run `npx skills add caarlos0/dotfiles --skill typescript-performance -a codex`. Or copy the skill folder (skills/typescript-performance in caarlos0/dotfiles) into .agents/skills/typescript-performance in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add caarlos0/dotfiles --skill typescript-performance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/typescript-performance, .gemini/skills/typescript-performance, .github/skills/typescript-performance and .opencode/skills/typescript-performance in your project.
Going by SKILL.md and its folder, Typescript Performance needs the command-line tools its instructions call (tsc, node and npx). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Typescript Performance is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Typescript Performance: Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Nx Import (nrwl/nx, 29k stars) and Install Anti-Slop Oxlint Rules (dmmulroy/anti-slop, 5.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
caarlos0 (a GitHub user) maintains it in caarlos0/dotfiles, which has 220 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on October 7, 2026.
Source: caarlos0/dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.