nodejs
Guides AI agents to write idiomatic, correct Node.js JavaScript code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guides AI agents to write idiomatic, correct Node.js JavaScript code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
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.
基于 SOC 职业分类
| 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()]);