Aller au contenu principal
Ce contenu n'est pas encore disponible dans votre langue et est affiché en anglais.

JavaScript Best Practices

Skill Vérifié
95

JavaScript performance optimization guidelines. Use when writing, reviewing, or refactoring JavaScript/TypeScript code to ensure optimal performance patterns. Triggers on tasks involving loops, data structures, DOM manipulation, or general JS optimization.

Résumé IA

This skill offers detailed rules and code examples for improving JavaScript and TypeScript performance, covering areas like loop optimization, data structures, DOM manipulation, and caching. It includes practical advice for writing more efficient and maintainable code.

Versioning

  • warning:Release ManagementNo version information (manifest version, GitHub releases, CHANGELOG) is present in the repository, and installation instructions reference 'HEAD'.

Installation

npx skills add sergiodxa/agent-skills

Exécute le CLI skills de Vercel (skills.sh) via npx — nécessite Node.js en local et au moins un agent compatible skills installé (Claude Code, Cursor, Codex, …). Suppose que le dépôt suit le format agentskills.io.

3 months ago
83 stars
MIT
Mis à jour le about 22 hours ago
Voir le code source

Extensions similaires

Async Best Practices

95

Async/await and Promise optimization guidelines. Use when writing, reviewing, or refactoring asynchronous code to eliminate waterfalls and maximize parallelism. Triggers on tasks involving data fetching, loaders, actions, or Promise handling.

Skill
sergiodxa

ESLint Plugin React Hooks

99

ESLint rules for React Hooks

Skill
facebook

React PWA

98

Extension from jwynia/agent-skills

Skill
jwynia

React Router Best Practices

98

React Router performance and architecture patterns. Use when writing loaders, actions, forms, routes, or working with React Router data fetching. Triggers on tasks involving React Router routes, data loading, form handling, or route organization.

Skill
sergiodxa

Node.js Best Practices

95

Provides domain-specific best practices for Node.js development with TypeScript, covering type stripping, async patterns, error handling, streams, modules, testing, performance, caching, logging, and more. Use when setting up Node.js projects with native TypeScript support, configuring type stripping (--experimental-strip-types), writing Node 22+ TypeScript without a build step, or when the user mentions 'native TypeScript in Node', 'strip types', 'Node 22 TypeScript', '.ts files without compilation', 'ts-node alternative', or needs guidance on error handling, graceful shutdown, flaky tests, profiling, or environment configuration in Node.js. Helps configure tsconfig.json for type stripping, set up package.json scripts, handle module resolution and import extensions, and apply robust patterns across the full Node.js stack.

Skill
mcollina

Audit Speed

95

Deep Core Web Vitals and page speed audit. Use when the user asks about page speed, Core Web Vitals, LCP, CLS, INP, FCP, TTFB, Lighthouse scores, why a page is slow, performance optimization, or resource size analysis. For broader technical SEO issues, see diagnose-seo.

Skill
calm-north