javascript
Installation
SKILL.md
JavaScript Development (Lean)
When to use
.js,.mjs,.cjs,package.json- Node/Bun/Deno runtime work
- API handlers, async flows, test/lint setup
Defaults
- Prefer Bun for install/run/test where compatible.
- Prefer async/await over nested promise chains.
- Keep modules explicit (ESM preferred unless project is CJS).
- Add input validation at API boundaries.
Quick workflow
- Detect runtime and package manager from repo files.
- Keep change minimal and idiomatic.
- Add or update tests near touched behavior.
- Run lint/tests; report exact commands and outcomes.
Runtime commands
Bun-first
- Install:
bun install - Run script:
bun run <script> - Test:
bun test - One-off:
bunx <tool>
Node fallback
- Install:
npm install - Test:
npm test - Type check (TS interop):
npx tsc --noEmit
Deno
- Run:
deno run -A main.ts - Test:
deno test
Implementation checklist
- Use small pure helpers for transform logic.
- Centralize error handling at service/API boundaries.
- Avoid mutable shared state across async operations.
- Prefer native platform APIs before adding dependencies.
Validation checklist
- Lint and format pass.
- Tests cover changed paths.
- No secrets in code or logs.
- Error messages are actionable.
References
reference.md- compact runtime/tooling matrixexamples.md- API/test/config snippets../AGENT_SKILL_SPEC.md- shared Anthropic/Copilot alignment
Related skills
More from ven0m0/claude-config
llm-boost
|
20uv
|
11substituting-modern-tools
Substitutes modern performant tools for legacy equivalents in generated code (npm→bun, find→fd, pip→uv, grep→rg, jq→jaq, eslint→biome, black→ruff, git→gix). Use when generating shell commands or scripts.
9linter autofix patterns
Cross-language linter autofix commands and common fix patterns for biome, ruff, clippy, shellcheck, and more.
9moai-tool-svg
>
5building-mcp-servers
Creates high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services. Use when building MCP servers to integrate APIs, designing tool schemas, or implementing Python (FastMCP) or TypeScript (MCP SDK) servers. Triggers include "MCP server", "tool schema", "model context protocol", or "FastMCP".
5