nodejs
Guides AI agents to write idiomatic, correct Node.js JavaScript code.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Guides AI agents to write idiomatic, correct Node.js JavaScript code.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
| name | nodejs |
| description | Guides AI agents to write idiomatic, correct Node.js JavaScript code. |
| metadata | {"tags":["nodejs","javascript","esm","async"]} |
Use this skill when writing any Node.js JavaScript code: modules, async logic, error handling, project structure, or environment configuration.
// ESM import — always use .js extension for local files
import { createUser } from './users.js';
import { readFile } from 'node:fs/promises';
// Async function — always propagate errors, never swallow
async function loadConfig(path) {
const raw = await readFile(path, 'utf8');
return JSON.parse(raw);
}
// Concurrent work — use Promise.all, not sequential awaits
const [users, products] = await Promise.all([getUsers(), getProducts()]);
Guides AI agents to produce accurate, well-structured technical documentation in Markdown with Mermaid diagrams.
Guides AI agents to write correct, idiomatic Fastify code using plugins, routes, schemas, and lifecycle hooks.
Guides AI agents to use Pino logging correctly — levels, structured logs, child loggers, and Fastify integration.
Guides AI agents to write secure Fastify/Node.js code — input validation, authentication, injection prevention, and safe error handling.
Baseado na classificação ocupacional SOC