javascript

Enforce JavaScript coding standards and best practices during code review.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/flesler/dotfiles --skill javascript-flesler
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: javascript
Source: https://github.com/flesler/dotfiles/tree/main/home/.cursor/skills/javascript
Command: npx skills add https://github.com/flesler/dotfiles --skill javascript-flesler

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps engineering teams maintain high-quality JavaScript by codifying preferred patterns and discouraging anti-patterns, reducing review time and bugs.

Core Features & Use Cases

  • Enforces use of native array methods and ES6+ features over older patterns.
  • Promotes explicit comparisons, clear error messages, and consistent naming.
  • Guides code review and onboarding by documenting standard practices for everyday tasks.

Quick Start

Review a JavaScript file and refactor it to follow the rules outlined in this skill.

Frequently Asked Questions about javascript

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce JavaScript coding standards and best practices during code review?▼

This skill automates enforcement of JavaScript coding standards during code review and refactoring. It checks for consistent style, proper error handling, and modern ES6+ syntax to reduce review time and bugs.

What's the best way to refactor JavaScript to use ES6 features over older patterns?▼

Refactoring JavaScript to use ES6+ features involves applying rules that prefer native array methods over lodash or custom solutions. This skill guides the process by documenting standard practices and discouraging anti-patterns for everyday coding tasks.

How do I ensure explicit null checks and clear error messages in JavaScript code?▼

To ensure explicit null checks and clear error messages in JavaScript, apply this skill during onboarding and code review. It promotes explicit comparisons and contextual error messages to maintain high-quality, consistent code.

Can I use this skill to guide JavaScript onboarding for new engineering team members?▼

Yes, you can use this skill to guide JavaScript onboarding for new team members. It documents standard practices for everyday tasks, helping engineers understand preferred patterns and discouraging anti-patterns during their initial code reviews.

Why prefer native array methods over lodash in modern JavaScript development?▼

Preferring native array methods over lodash in modern JavaScript development reduces external dependencies and leverages built-in ES6+ features. This skill codifies this preference to keep code clean, consistent, and modern while satisfying automated checks.