typescript
Skill266 starsChanged 10 months agoApache-2.0View on GitHub
Expert in TypeScript development with best practices for type safety and clean code
33 other projects use a version of this.
Adopted by
Most recently taken up by
- Quad4-Software/skillstheir own version, first seen Oct 3, 2026
- lobehub/lobehubtheir own version, first seen Oct 1, 2026
- jscraik/Agent-Skillstheir own version, first seen Sep 27, 2026
- wolzey/agent-factorytheir own version, first seen Sep 23, 2026
- microsoft/scopetheir own version, first seen Sep 23, 2026
- AvilaCarlosDev/openclaw-skillstheir own version, first seen Sep 19, 2026
Used with
Projects with it also use security and debugging.
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.Other versions33 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 33
- lobehub/lobehub★ 83ksame name
- microsoft/fast★ 9.7ksame name
- alinaqi/maggy★ 707same name
- martinholovsky/claude-skills-generator★ 47same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- siviter-xyz/dot-agent★ 22same name
- sordi-ai/skill-everything★ 20same name
- alexander-danilenko/cortex-ai-skills★ 16same name
- caidanw/skills★ 9same name
- joabgonzalez/ai-agents-skills★ 9same name
23 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 27 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 13
Write concise, technical TypeScript with accurate examples
- Distinctive: line 14
Use functional and declarative programming patterns.
- Distinctive: line 15
Prefer iteration and modularization over code duplication
- Very specific: line 16
Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError)
- Distinctive: line 20
Use PascalCase for classes, types, and interfaces
- Distinctive: line 21
Use camelCase for variables, functions, and methods
- Distinctive: line 22
Use kebab-case for file and directory names
- Distinctive: line 23
Use UPPERCASE for environment variables and constants
- Distinctive: line 28
Use TypeScript for all code.
- Very specific: line 29
Avoid any type; create precise type definitions
- Distinctive: line 30
Use functional components with TypeScript interfaces
- Distinctive: line 31
Avoid enums; use maps instead
- Very specific: line 32
Use readonly for immutable properties
- Very specific: line 33
Use as const for literal values
- Distinctive: line 37
Write short functions with single purpose (less than 20 lines)
- Distinctive: line 38
Use arrow functions for simple operations (less than 3 lines)
- Distinctive: line 39
Use named functions for complex logic
- Distinctive: line 41
Use default parameters instead of null/undefined checks
- Distinctive: line 47
Prefer immutability where possible
- Distinctive: line 49
Prefer composition over inheritance
- Distinctive: line 50
Keep classes under 200 lines with fewer than 10 public methods
- Distinctive: line 54
Use exceptions for unexpected errors
- Distinctive: line 56
Create custom error types for consistency
- Distinctive: line 57
Use guard clauses for preconditions
- Distinctive: line 62
Use JSDoc for public classes and methods
- Distinctive: line 63
Document all exports clearly
- Distinctive: line 65
Keep documentation concise and accurate
“Common” is measured: kept by at least 6 in 10 of the 27 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.

