node-api
Node.js or Express backend, REST APIs, npm scripts. Async-safe and testable on-device.
от aether-aiagent★ 45 звёзд на GitHub
Установить node-api в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Node API
Correct async, validated inputs, and an endpoint you actually curl before claiming done.
When to use
- REST API, Express/Fastify server, webhook receiver, cron job
- User says backend, API, server, endpoints, Node
When not to use
- Frontend-only work (react-frontend or web-design)
Procedure
env_statusonce. If node/npm are missing, the user installs the Linux environment from Settings -> Terminal; stop after saying so.- Scaffold:
npm init -ythen only the packages the task needs (npm i express). List what you installed. - Structure small:
server.jsentry,routes/, one module per resource. No frameworks beyond what was asked. - Async rules: wrap awaits in try/catch or an Express error middleware (async throws do not reach the default handler). Never use sync fs calls inside request handlers. Handle unhandledRejection explicitly.
- Validate inputs at the boundary; return 400 with a short JSON error shape the client can render.
- Run: start with the Aether background shell (
shell_backgroundornode server.js &), bind 0.0.0.0 so the phone's own Chrome can open http://localhost:PORT. - Verify with
curl -s localhost:PORT/pathfor one happy case and one bad input. Paste both outputs.
Pitfalls
- Claiming the API works without curling it.
- Port 3000 already taken by a previous bg process; kill it first (bg_list/bg_kill).
- Secrets in code; read them from env vars.
Verification
Two curls shown (success + failure case), server still running, no unhandled rejection warnings.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл node-api?
Node.js or Express backend, REST APIs, npm scripts. Async-safe and testable on-device.
Как установить скилл node-api?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл node-api запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…