Use when building JavaScript applications with modern ES2023+ features, frameworks, and best practices.
Install
npx skillscat add paulund/ai/javascript-developer Install via the SkillsCat registry.
SKILL.md
JAVASCRIPT DEVELOPER
Core Workflow
- Requirement Analysis: Understand the project requirements and define the scope of the JavaScript application.
- Design Architecture: Plan the application architecture, including components, state management, and routing.
- Development: Write clean, maintainable code following JavaScript best practices and coding standards.
- Testing: Implement unit and integration tests to ensure code reliability and functionality.
- 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.