javascript-typescript — how to use javascript-typescript how to use javascript-typescript, javascript-typescript setup guide, typescript configuration best practices, javascript-typescript vs javascript, javascript-typescript install, what is javascript-typescript, typescript compiler options, es2022 target, esnext modules

v1.0.0
GitHub

About this Skill

Ideal for Frontend Agents requiring efficient JavaScript development with advanced TypeScript configurations. javascript-typescript is a skill that combines JavaScript and TypeScript development, utilizing compiler options like strict mode and module resolution for bundlers.

Features

Utilizes TypeScript compiler options for ES2022 target and ESNext modules
Supports strict mode with noUncheckedIndexedAccess and noImplicitOverride
Enables declaration file generation and output directory specification
Includes src directory and excludes node_modules and dist for compilation
Allows for utility types like Pick for specific property selection
Configures module resolution for bundlers

# Core Topics

end8cl01g end8cl01g
[0]
[0]
Updated: 3/10/2026

Quality Score

Top 5%
30
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
> npx killer-skills add end8cl01g/focustimer/javascript-typescript
Supports 18+ Platforms
Cursor
Windsurf
VS Code
Trae
Claude
OpenClaw
+12 more

Agent Capability Analysis

The javascript-typescript MCP Server by end8cl01g is an open-source Community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use javascript-typescript, javascript-typescript setup guide, typescript configuration best practices.

Ideal Agent Persona

Ideal for Frontend Agents requiring efficient JavaScript development with advanced TypeScript configurations.

Core Value

Empowers agents to leverage ES2022 and ESNext modules for streamlined development, utilizing strict type checking and bundler module resolution, while also generating declarations for efficient code maintenance and optimization.

Capabilities Granted for javascript-typescript MCP Server

Configuring TypeScript for large-scale JavaScript projects
Implementing strict type checking for improved code quality
Utilizing ESNext modules for modern frontend development

! Prerequisites & Limits

  • Requires TypeScript compiler
  • Targeted for ES2022 compatibility
  • Excludes node_modules and dist directories by default
Project
SKILL.md
2.8 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

JavaScript/TypeScript Development

TypeScript Configuration

json
1{ 2 "compilerOptions": { 3 "target": "ES2022", 4 "module": "ESNext", 5 "moduleResolution": "bundler", 6 "strict": true, 7 "noUncheckedIndexedAccess": true, 8 "noImplicitOverride": true, 9 "skipLibCheck": true, 10 "declaration": true, 11 "outDir": "./dist" 12 }, 13 "include": ["src/**/*"], 14 "exclude": ["node_modules", "dist"] 15}

Type Patterns

Utility Types

typescript
1// Pick specific properties 2type UserPreview = Pick<User, 'id' | 'name'>; 3 4// Omit properties 5type CreateUser = Omit<User, 'id' | 'createdAt'>; 6 7// Make all properties optional 8type PartialUser = Partial<User>; 9 10// Make all properties required 11type RequiredUser = Required<User>; 12 13// Extract union types 14type Status = 'pending' | 'active' | 'inactive'; 15type ActiveStatus = Extract<Status, 'active' | 'pending'>;

Discriminated Unions

typescript
1type Result<T> = 2 | { success: true; data: T } 3 | { success: false; error: Error }; 4 5function handleResult<T>(result: Result<T>) { 6 if (result.success) { 7 console.log(result.data); // T 8 } else { 9 console.error(result.error); // Error 10 } 11}

Generic Constraints

typescript
1interface HasId { 2 id: string | number; 3} 4 5function findById<T extends HasId>(items: T[], id: T['id']): T | undefined { 6 return items.find(item => item.id === id); 7}

Modern JavaScript

Destructuring & Spread

javascript
1const { name, ...rest } = user; 2const merged = { ...defaults, ...options }; 3const [first, ...others] = items;

Optional Chaining & Nullish Coalescing

javascript
1const city = user?.address?.city ?? 'Unknown'; 2const count = data?.items?.length ?? 0;

Array Methods

javascript
1const adults = users.filter(u => u.age >= 18); 2const names = users.map(u => u.name); 3const total = items.reduce((sum, item) => sum + item.price, 0); 4const hasAdmin = users.some(u => u.role === 'admin'); 5const allActive = users.every(u => u.active);

React Patterns

typescript
1// Props with children 2interface CardProps { 3 title: string; 4 children: React.ReactNode; 5} 6 7// Event handlers 8interface ButtonProps { 9 onClick: (event: React.MouseEvent<HTMLButtonElement>) => void; 10} 11 12// Custom hooks 13function useLocalStorage<T>(key: string, initial: T) { 14 const [value, setValue] = useState<T>(() => { 15 const stored = localStorage.getItem(key); 16 return stored ? JSON.parse(stored) : initial; 17 }); 18 19 useEffect(() => { 20 localStorage.setItem(key, JSON.stringify(value)); 21 }, [key, value]); 22 23 return [value, setValue] as const; 24}

Node.js Patterns

typescript
1// ES Modules 2import { readFile } from 'node:fs/promises'; 3import { join } from 'node:path'; 4 5// Error handling 6process.on('unhandledRejection', (reason) => { 7 console.error('Unhandled Rejection:', reason); 8 process.exit(1); 9});

Related Skills

Looking for an alternative to javascript-typescript or building a Community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

testing

Logo of lobehub
lobehub

Testing is a process for verifying AI agent functionality using commands like bunx vitest run and optimizing workflows with targeted test runs.

73.3k
0
Communication

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication