
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
- 197
- GitHub stars
- 45
- 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- Stockbreeder Expert195
- Elixir Expert194
- Looker Expert194
- Mongodb Expert194
- Ruby Expert193
- Cicd Expert192
- Code Review Expert192
- Go Expert190
- Terraform Expert190
- Monitoring Expert189
- Audit Expert188
- Typescript Expert187
- Ai Architect Expert185
- Istio Expert184
- Qa Expert184
- Grpc Expert182
- Media Expert182
- Microservices Expert181
- Azure Expert180
- Dbt Expert180
- Rust Expert179
- Design Expert178
- Airflow Expert174
- Cloudflare Expert174