Перейти до основного вмісту
Цей вміст ще не доступний вашою мовою і відображається англійською.

JavaScript Best Practices

Skill Перевірено
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.

AI-резюме

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'.

Встановлення

npx skills add sergiodxa/agent-skills

Запускає Vercel skills CLI (skills.sh) через npx — потребує локально встановленого Node.js та принаймні одного агента, сумісного зі skills (Claude Code, Cursor, Codex, …). Передбачається, що репозиторій відповідає формату agentskills.io.

3 months ago
83 stars
MIT
Оновлено 2 days ago
Переглянути код

Подібні розширення

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