typescript
Skill275 starsChanged 52 days agoApache-2.0View on GitHub
Expert in TypeScript development with best practices for type safety and clean code
76 other projects use a version of this.
Adopted by
Most recently taken up by
- Inrixia/TidaLunatheir own version, first seen Nov 29, 2026
- kevinreber/claude-code-configstheir own version, first seen Nov 29, 2026
- oberemokis/skillstheir own version, first seen Nov 29, 2026
- alvaroofernaandez/dotfilestheir own version, first seen Nov 29, 2026
- martinholovsky/claude-skills-generatortheir own version, first seen Nov 29, 2026
- amutaal122/ai-engineer-mastertheir own version, first seen Nov 29, 2026
Used with
Projects with it also use tailwind-4, zod-4 and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
prowler-cloudSkilltailwind-4
Tailwind CSS 4 patterns and best practices. Trigger: When styling with Tailwind (className, variants, cn()), especially when dynamic styling or CSS variables are involved (no var() in className).
Also in 4 projects that use this
prowler-cloudSkillzod-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.
Also in 4 projects that use this
nek1987Skillreact-19
Guide for React 19 development with Actions, Server Components, and new hooks. Use for building React 19 apps, form handling, optimistic updates, and migrations.
Also in 3 projects that use this
thongdn-itSkillmsw
MSW (Mock Service Worker) best practices for API mocking in tests (formerly test-msw). This skill should be used when setting up MSW, writing request handlers, or mocking HTTP APIs. This skill does NOT cover general testing patterns (use test-vitest or test-tdd skills) or test methodology.
Also in 3 projects that use this
joeldevzSkillchained-pr
Split large changes (>400 lines OR >5 slices) into a series of reviewable PRs. Two strategies — stacked-to-main and feature-branch-chain. Prevents the 100-conflict merge disaster.
Also in 3 projects that use this
SupabaseSkillreact-hook-form
Correct React Hook Form usage anywhere in the monorepo — data flow, subscriptions,
Also in 3 projects that use this
- +1 more from prowler-cloud
Other versions76 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 76
- lobehub/lobe-chat★ 86ksame name
- lobehub/lobehub★ 86ksame name
- recharts/recharts★ 28ksame name
- ccusage/ccusage★ 20ksame name
- ryoppippi/ccusage★ 20ksame name
- scalar/scalar★ 16ksame name
- prowler-cloud/prowler★ 15ksame name
- microsoft/fast★ 9.7ksame name
- epicenter-md/epicenter★ 4.8ksame name
- EpicenterHQ/epicenter★ 4.8ksame name
66 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository264 other files it gives its agents.
- accessibility-a11ySkill
- alpine-jsSkill
- analytics-data-analysisSkill
- android-developmentSkill
- angular-developmentSkill
- angularSkill
- anime-jsSkill
- anthropic-claude-developmentSkill
- api-developmentSkill
- apollo-graphqlSkill
- aspnet-coreSkill
- astroSkill
- auth0-authenticationSkill
- autogen-developmentSkill
- automl-hyperparameter-optimizationSkill
- aws-developmentSkill
- azureSkill
- backend-developmentSkill
- bash-scriptingSkill
- beautifulsoup-parsingSkill
- bitbucket-workflowSkill
- blazorSkill
- blender-python-addonSkill
- blockchainSkill
- bootstrapSkill
- business-central-developmentSkill
- cheerio-parsingSkill
- chrome-extension-developmentSkill
- ci-cd-best-practicesSkill
- clean-architectureSkill
- clean-codeSkill
- clerk-authenticationSkill
- cloudflare-developmentSkill
- computer-vision-opencvSkill
- convexSkill
- cppSkill
- c-sharpSkill
- cssSkill
- cypressSkill
- data-analysis-jupyterSkill
- data-analystSkill
- data-jupyter-pythonSkill
- deep-learning-pythonSkill
- deep-learning-pytorchSkill
- deep-learningSkill
- deno-typescriptSkill
- design-systemsSkill
- devopsSkill
- django-pythonSkill
- django-rest-api-developmentSkill
- dockerSkill
- dotnetSkill
- drizzle-ormSkill
- drupal-developmentSkill
- elasticsearch-best-practicesSkill
- electron-developmentSkill
- elixirSkill
- embedded-stm32Skill
- esbuild-bundlerSkill
- ethereumSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
27 rules. 0 are common, 23 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 56 edited versions we read keep these.
23
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Write concise, technical TypeScript with accurate examples
- Distinctive: line 17
Use functional and declarative programming patterns.
- Distinctive: line 18
Prefer iteration and modularization over code duplication
- Very specific: line 19
Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError)
- Distinctive: line 23
Use PascalCase for classes, types, and interfaces
- Distinctive: line 24
Use camelCase for variables, functions, and methods
- Distinctive: line 25
Use kebab-case for file and directory names
- Distinctive: line 26
Use UPPERCASE for environment variables and constants
- Distinctive: line 31
Use TypeScript for all code.
- Very specific: line 32
Avoid any type; create precise type definitions
- Distinctive: line 33
Use functional components with TypeScript interfaces
- Distinctive: line 34
Avoid enums; use maps instead
- Very specific: line 35
Use readonly for immutable properties
- Very specific: line 36
Use as const for literal values
- Distinctive: line 40
Write short functions with single purpose (less than 20 lines)
- Distinctive: line 41
Use arrow functions for simple operations (less than 3 lines)
- Distinctive: line 42
Use named functions for complex logic
- Distinctive: line 44
Use default parameters instead of null/undefined checks
- Distinctive: line 50
Prefer immutability where possible
- Distinctive: line 52
Prefer composition over inheritance
- Distinctive: line 53
Keep classes under 200 lines with fewer than 10 public methods
- Distinctive: line 57
Use exceptions for unexpected errors
- Distinctive: line 59
Create custom error types for consistency
- Distinctive: line 60
Use guard clauses for preconditions
- Distinctive: line 65
Use JSDoc for public classes and methods
- Distinctive: line 66
Document all exports clearly
- Distinctive: line 68
Keep documentation concise and accurate
“Common” is measured: kept by at least 6 in 10 of the 56 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
TypeScript
You are an expert in TypeScript development with deep knowledge of type safety and modern JavaScript patterns.
Core Principles
Code Style & Structure
- Write concise, technical TypeScript with accurate examples
- Use functional and declarative programming patterns; avoid classes
- Prefer iteration and modularization over code duplication
- Use descriptive variable names with auxiliary verbs (e.g.,
isLoading,hasError) - Structure files: exported component, subcomponents, helpers, static content, types
Naming Conventions
- Use PascalCase for classes, types, and interfaces
- Use camelCase for variables, functions, and methods
- Use kebab-case for file and directory names
- Use UPPERCASE for environment variables and constants
- Prefix functions with verbs; use boolean prefixes like
is,has,can
TypeScript Usage
- Use TypeScript for all code; prefer interfaces over types
- Avoid
anytype; create precise type definitions - Use functional components with TypeScript interfaces
- Avoid enums; use maps instead
- Use
readonlyfor immutable properties - Use
as constfor literal values
Functions & Methods
- Write short functions with single purpose (less than 20 lines)
- Use arrow functions for simple operations (less than 3 lines)
- Use named functions for complex logic
- Implement early returns to avoid nested blocks
- Use default parameters instead of null/undefined checks
- Apply the RORO pattern: "Receive an Object, Return an Object"
Data & Classes
- Encapsulate data in composite types
- Prefer immutability where possible
- Follow SOLID principles
- Prefer composition over inheritance
- Keep classes under 200 lines with fewer than 10 public methods
Error Handling
- Use exceptions for unexpected errors
- Implement proper error logging with context
- Create custom error types for consistency
- Use guard clauses for preconditions
- Catch exceptions only to fix expected problems or add context
Documentation
- Use JSDoc for public classes and methods
- Document all exports clearly
- Provide usage examples when appropriate
- Keep documentation concise and accurate
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

