# Javascript Code

> JavaScript/TypeScript development, paradigms, and runtime environments

- Skill: `dongduong2001/javascript-code` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dongduong2001/javascript-code`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dongduong2001/javascript-code/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: DongDuong2001 (https://skillmd.com/u/dongduong2001)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/dongduong2001/javascript-code

---


# JavaScript/TypeScript Code Skill

This skill manages JavaScript and TypeScript specific development practices across Node.js, browsers, and edge runtimes.

## When to use this skill
- When writing or maintaining JS/TS applications.
- When dealing with asynchronous programming (Promises, async/await).
- When configuring module systems (ESM vs CommonJS).

## Guidelines
- Prefer TypeScript over vanilla JavaScript for large projects to leverage static typing.
- Always use strict equality (`===`) and avoid loose equality (`==`).
- Avoid mutating state when possible; prefer functional approaches like `map`, `filter`, and `reduce`.
- Use `const` by default, `let` when necessary, and never use `var`.

