الانتقال إلى المحتوى الرئيسي
هذا المحتوى غير متوفر بعد بلغتك ويتم عرضه باللغة الإنجليزية.

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.

ملخص الذكاء الاصطناعي

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
تم التحديث في 4 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