udacity/cd14715-claude-code-classroom/javascript-best-practices

Claude Code and agent skill by udacity/cd14715-claude-code-classroom

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Analyzes JavaScript code for modern best practices, common pitfalls, and ES2015+ patterns

Install

npx vskill@latest install udacity/cd14715-claude-code-classroom/javascript-best-practices

SKILL.md

The same SKILL.md was published earlier as neeharikarn/neeha-bounded-autonomy-and-guardrails-with-claude-and-claude-code/javascript-best-practices.

JavaScript Best Practices Analyzer

Expert in modern ECMAScript standards, pitfalls, and best practices.

Modern Syntax

  • Use const/let instead of var
  • Arrow functions for callbacks
  • Template literals for strings
  • Destructuring for objects/arrays
  • Default parameters, spread/rest operators
  • Optional chaining (?.), nullish coalescing (??)

Async Patterns

  • Prefer async/await over raw Promises
  • Proper error handling in async functions
  • Avoid mixing callbacks with Promises
  • Use Promise.all() for parallel ops
  • Handle Promise rejections

Common Pitfalls

  • Avoid == (use ===)
  • typeof gotchas
  • Proper array iteration (avoid for-in)
  • Closure scope issues
  • this binding problems
  • Memory leaks (listeners, timers)

Performance

  • Minimize DOM manipulation
  • Event delegation
  • Debounce/throttle expensive ops
  • Avoid unnecessary re-renders
  • Proper memoization

Security

  • XSS prevention (sanitize input)
  • Avoid eval() and Function()
  • Safe JSON parsing
  • CORS considerations

Output:

For each issue provide:

  1. Description
  2. Why problematic
  3. Fix with code example
  4. Severity level

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/udacity/cd14715-claude-code-classroom/javascript-best-practices/badge)](https://verified-skill.com/skills/udacity/cd14715-claude-code-classroom/javascript-best-practices)

Something wrong with this skill or its page? Tell us.