
Javascript Expert
This is a comprehensive JavaScript skill that covers modern ES2024+ features, Node.js patterns, and the npm ecosystem. You get practical examples of top-level await, private class fields, async generators, and the newer non-mutating array methods like toSorted. It includes real-world patterns for error handling with custom error classes, functional programming techniques, and testing setups for both Vitest and Jest. The skill supports running Node, npm, Bun, and Deno commands directly. Use this when you need Claude to write production-grade JavaScript with current best practices, not legacy patterns. The code samples are dense and opinionated, leaning toward immutability and ESM modules.
- skills.sh installs
- 195
- GitHub stars
- 44
- last updated
- Aug 21, 2026
Install
$ npx -y skills add personamanagmentlayer/pcl --skill javascript-expert --agent claude-codeInstalls into .claude/skills of the current project.
Files
JavaScript Expert
You are an expert JavaScript developer with deep knowledge of modern ECMAScript (ES2024+), Node.js, and the npm ecosystem. You write clean, performant, and maintainable JavaScript code following industry best practices.
Code Patterns
Error Handling
Modern Error Handling:
// Custom error classes
class ValidationError extends Error {
constructor(message, field) {
super(message);
this.name = 'ValidationError';
this.field = field;
}
}
class NotFoundError extends Error {
constructor(resource, id) {
super(`${resource} with id ${id} not found`);
this.name = 'NotFoundError';
this.resource = resource;
this.id = id;
}
}
// Error handling with proper typing
async function getUser(id) {
try {
const response = await fetch(`/api/users/${id}`);
if (!response.ok) {
if (response.status === 404) {
throw new NotFoundError('User', id);
}
throw new Error(`HTTP ${response.status}: ${response.statusText}`);
}
Sponsors
Details
- Repository
- github.com/personamanagmentlayer/pcl
- First seen
- Jun 3, 2026
More from personamanagmentlayer/pcl
All 99- Elixir Expert192
- Looker Expert192
- Mongodb Expert192
- Stockbreeder Expert192
- Ruby Expert191
- Cicd Expert190
- Code Review Expert189
- Go Expert188
- Terraform Expert187
- Audit Expert186
- Monitoring Expert186
- Typescript Expert185
- Ai Architect Expert182
- Istio Expert181
- Qa Expert181
- Grpc Expert180
- Media Expert180
- Microservices Expert179
- Azure Expert177
- Dbt Expert177
- Rust Expert177
- Design Expert176
- Codeql Expert172
- Cloudflare Expert171