Typescript
tahabasri/snippets
LobeHub TypeScript style and type-safety guide. An agent skill from tahabasri/snippets.
Write, refactor, or review TypeScript code with strict, precise, maintainable types and without unnecessary any, type assertions, or type suppressions.
$ npx skills add remix-run/remix --skill typescript-expert -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install remix-run/remix typescript-expert --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/remix-run/remix.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/typescript-expert .claude/skills/typescript-expert && 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-expert" agent skill from https://github.com/remix-run/remix/tree/main/.agents/skills/typescript-expert into .claude/skills/typescript-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-expert", 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/remix-run/remix/tree/main/.agents/skills/typescript-expertType 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 remix-run/remix --skill typescript-expert -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install remix-run/remix typescript-expert --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/remix-run/remix.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/typescript-expert .agents/skills/typescript-expert && 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-expert" agent skill from https://github.com/remix-run/remix/tree/main/.agents/skills/typescript-expert into .agents/skills/typescript-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-expert", 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 remix-run/remix --skill typescript-expert -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install remix-run/remix typescript-expert --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/remix-run/remix.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/typescript-expert .cursor/skills/typescript-expert && 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-expert" agent skill from https://github.com/remix-run/remix/tree/main/.agents/skills/typescript-expert into .cursor/skills/typescript-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-expert", 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/remix-run/remix.git --path .agents/skills/typescript-expert--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 remix-run/remix --skill typescript-expert -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install remix-run/remix typescript-expert --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/remix-run/remix.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/typescript-expert .gemini/skills/typescript-expert && 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-expert" agent skill from https://github.com/remix-run/remix/tree/main/.agents/skills/typescript-expert into .gemini/skills/typescript-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-expert", 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 remix-run/remix typescript-expertInstalls 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 remix-run/remix --skill typescript-expert -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/remix-run/remix.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/typescript-expert .github/skills/typescript-expert && 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-expert" agent skill from https://github.com/remix-run/remix/tree/main/.agents/skills/typescript-expert into .github/skills/typescript-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-expert", 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 remix-run/remix --skill typescript-expert -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install remix-run/remix typescript-expert --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/remix-run/remix.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/typescript-expert .opencode/skills/typescript-expert && 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-expert" agent skill from https://github.com/remix-run/remix/tree/main/.agents/skills/typescript-expert into .opencode/skills/typescript-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typescript-expert", 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-expertWrite, refactor, or review TypeScript code with strict, precise, maintainable types and without unnecessary any, type assertions, or type suppressions.
Typescript Expert is an agent skill from remix-run/remix. Write, refactor, or review TypeScript code with strict, precise, maintainable types and without unnecessary any, type assertions, or type suppressions. Use when working on .ts or .tsx files, public APIs, generics, discriminated unions, type guards, tsconfig/module settings, declaration-facing code, or any change where TypeScript type quality affects correctness in the Remix repo.
Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
It sits in Development, covering Type safety and React components. It works with TypeScript and pnpm. The repository describes itself as: The fully-stacked web framework. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit ef2c594. 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:
pnpmFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
typescriptlang.orgFrom 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 Expert loads about 3.4k tokens when it runs. Until then it costs about 102 tokens; SKILL.md has 1,706 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 remix-run/remix at commit ef2c594, republished under its MIT licence (© remix-run). 1,706 words, ~3,368 tokens.
.claude/skills/typescript-expert/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Use this skill to write TypeScript that is simple at runtime and precise at compile time. Prefer local repo conventions first, then apply the official TypeScript guidance summarized here.
tsconfig.json, package package.json, and relevant existing source before choosing types.write-tests skill for runner, fixture, assertion, dependency, and validation conventions.pnpm run typecheck:changed and pnpm run test:changed for broader changes, and pnpm run lint when practical.import type { X } and export type { X } for type-only symbols..ts extensions in relative imports and exports, matching this repo's allowImportingTsExtensions / rewriteRelativeImportExtensions setup.src/*.ts; src/lib is implementation-only.let for locals, module-scope const, regular functions by default, arrows for callbacks, object method shorthand, native class fields, and #private.source, pattern, or method, instead of single-letter names unless local code already uses that convention.src/*.ts export files should re-export each public symbol directly from the module where it is defined, not through a src/lib pass-through barrel.src/lib files as implementation owners. Split implementation by responsibility, but do not add thin re-export wrappers or indirect ownership inside src/lib.write-tests skill rather than encoding detailed test-runner policy here.write-api-docs skill; it owns detailed JSDoc style, ESLint expectations, and API-docs workflow.unknown for values that must be inspected before use. Avoid any; it disables useful type checking and spreads unsafety through every value it touches.string, number, boolean, symbol, and object; do not use boxed types like String, Number, Boolean, Symbol, or Object.interface for new public object shapes and option objects. Prefer type for unions, tuples, mapped types, conditional types, and aliases over non-object shapes.remix/node-tsx, do not require erasableSyntaxOnly; the runtime intentionally supports TypeScript syntax that needs transformation.satisfies when an object literal must conform to a broader type while preserving narrow property inference.as const for literal tables, discriminants, and tuples that should remain narrow and readonly. Do not use it to paper over mutable data flow.any, as SomeType, !, @ts-ignore, or @ts-expect-error. First improve the type model, add control-flow narrowing, validate unknown input, or change the API shape.any as a last resort for migration or broken third-party types only. Prefer unknown at boundaries and narrow it before use.any in public APIs unless the API truly accepts and safely handles every JavaScript value. In almost all new code, unknown, a generic, or a union is a better contract.any leak through the rest of the package.value as unknown as Target; if one is unavoidable, wrap it at the boundary and document the invariant.satisfies, as const, an explicit return type, a discriminated union, a generic constraint, or a local variable with a narrower type would express the intent without disabling checking.strictNullChecks discipline: handle null and undefined before using a value.value !== undefined, value !== null, or value != null checks over broad truthiness when '', 0, false, or empty arrays are valid values.property?: T as an absent-property model. If the key is always present but the value can be missing, write property: T | undefined.!) only when a nearby invariant proves the value exists and the code cannot express that proof cleanly. Keep the assertion local.() => void for callbacks whose return value is ignored.Function; write the callable shape, for example (request: Request) => Response | Promise<Response>.extends { length: number } or extends keyof source.value as unknown as Target unless adapting an external type hole; isolate them and explain the invariant if the reason is not obvious.@ts-ignore or @ts-expect-error unless a test or upstream compatibility case requires it. Include the concrete reason..ts extensions correct?src/lib modules into pass-through barrels or accidental public API aggregators?any, assertions, non-null assertions, and suppressions absent? If not, is each one isolated, proved by nearby runtime logic, and impossible to express with safer TypeScript?© remix-run, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .agents/skills/typescript-expert of remix-run/remix.
Open the folder on GitHubat commit ef2c594
Typescript Expert 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 Expert this skillremix-run/remix | 33k | — | ~3.4k | Automated safety check: Pass | MIT | |
| Typescripttahabasri/snippets | 170 | — | ~968 | Automated safety check: Pass | MIT | |
| TypeScript Monorepo Conventionspierrecomputer/pierre | 6.2k | — | ~450 | Automated safety check: Pass | Apache-2.0 | |
| Removing Typescript SuppressionsComfy-Org/ComfyUI_frontend | 2.1k | — | ~1.6k | Automated safety check: Pass | GPL-3.0 | |
| Types Enforce TStimmo001/system-bridge | 356 | — | ~689 | Automated safety check: Pass | Apache-2.0 | |
| Typescript CoderLeoYeAI/openclaw-master-skills | 2.2k | — | ~5.8k | Automated safety check: Pass | MIT |
tahabasri/snippets
LobeHub TypeScript style and type-safety guide. An agent skill from tahabasri/snippets.
pierrecomputer/pierre
Conventions for adding packages and apps to a TypeScript monorepo: project references, moon tasks, workspace dependencies and published package exports.
Comfy-Org/ComfyUI_frontend
Replaces @ts-expect-error and @ts-ignore directives with minimal type-safe fixes.
timmo001/system-bridge
TypeScript type-safety guidance. An agent skill from timmo001/system-bridge.
LeoYeAI/openclaw-master-skills
Expert 10x engineer with extensive knowledge of TypeScript fundamentals, migration strategies, and best practices.
tabler/tabler
Moves logic out of Astro frontmatter into tested helper modules under shared/lib, with rules for naming, typing, deterministic demo data and sibling test files.
remix-run/remix
Safely replace one GitHub pull request with another. An agent skill from remix-run/remix.
remix-run/remix
Create or align a package in the Remix monorepo to match existing package conventions.
remix-run/remix
Build idiomatic headless primitives in packages/ui for Remix.
remix-run/remix
Fix a reported issue in Remix from a GitHub issue. An agent skill from remix-run/remix.
remix-run/remix
Create or revise demos in the Remix repository. An agent skill from remix-run/remix.
remix-run/remix
Create GitHub pull requests with clear, reviewer-friendly descriptions.
Works with
Categories
Write, refactor, or review TypeScript code with strict, precise, maintainable types and without unnecessary any, type assertions, or type suppressions. Typescript Expert is an agent skill from remix-run/remix. Write, refactor, or review TypeScript code with strict, precise, maintainable types and without unnecessary any, type assertions, or type suppressions.
Typescript Expert fits situations like: discriminated unions; tsconfig/module settings; declaration-facing code; any change where TypeScript type quality affects correctness in the Remix repo.
Run `npx skills add remix-run/remix --skill typescript-expert -a claude-code`. Or copy the skill folder (.agents/skills/typescript-expert in remix-run/remix) into .claude/skills/typescript-expert in your project. Claude Code loads it when a task matches its description.
Run `npx skills add remix-run/remix --skill typescript-expert -a codex`. Or copy the skill folder (.agents/skills/typescript-expert in remix-run/remix) into .agents/skills/typescript-expert 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 remix-run/remix --skill typescript-expert -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-expert, .gemini/skills/typescript-expert, .github/skills/typescript-expert and .opencode/skills/typescript-expert in your project.
Going by SKILL.md and its folder, Typescript Expert needs the command-line tools its instructions call (pnpm).
SKILL.md names 1 domain. As links in the text: typescriptlang.org. 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 Expert is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.4k tokens (SKILL.md is roughly 13k 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 Expert: Typescript (tahabasri/snippets, 170 stars), TypeScript Monorepo Conventions (pierrecomputer/pierre, 6.2k stars), Removing Typescript Suppressions (Comfy-Org/ComfyUI_frontend, 2.1k stars) and Types Enforce TS (timmo001/system-bridge, 356 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
remix-run (a GitHub organization) maintains it in remix-run/remix, which has 33,397 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 8, 2026.
Source: remix-run/remix on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.