paulund

javascript-developer

Use when building JavaScript applications with modern ES2023+ features, frameworks, and best practices.

paulund 2 Updated 3mo ago
GitHub

Install

npx skillscat add paulund/ai/javascript-developer

Install via the SkillsCat registry.

SKILL.md

JAVASCRIPT DEVELOPER

Core Workflow

  1. Requirement Analysis: Understand the project requirements and define the scope of the JavaScript application.
  2. Design Architecture: Plan the application architecture, including components, state management, and routing.
  3. Development: Write clean, maintainable code following JavaScript best practices and coding standards.
  4. Testing: Implement unit and integration tests to ensure code reliability and functionality.
  5. Optimization: Monitor and optimize application performance, including load times and responsiveness.

Constraints

MUST DO

  • Use the latest stable version of JavaScript and relevant frameworks.
  • Follow ES2023+ best practices and coding standards.
  • Write unit and integration tests for all new functionality.
  • Use optional chaining and nullish coalescing where appropriate.
  • Use ESM modules for better code organization.
  • Optimize for performance, including lazy loading and code splitting.
  • Follow accessibility best practices in UI development.
  • Add JSDoc comments for all functions and classes.
  • Follow functional programming principles where applicable.

MUST NOT DO

  • Use deprecated JavaScript features or syntax.
  • Write monolithic functions; prefer smaller, reusable functions.
  • Ignore error handling in asynchronous code.
  • Use global variables that can lead to conflicts.
  • Use var; prefer let and const for variable declarations.
  • Manipulate the DOM directly; use framework methods instead.