Agent skill

Node

by HsienW in HsienW/chat-gun

Provides domain-specific best practices for Node.js development with TypeScript, covering type stripping, async patterns, error handling, streams, modules, testing, performance, caching, logging…

Custom licenceAuto-check passedTesting & QA

Install Node

skills CLI
$ npx skills add HsienW/chat-gun --skill node -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install HsienW/chat-gun node --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/HsienW/chat-gun.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/node .claude/skills/node && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
node
GitHub stars
143
Token cost
~1.6k tokens
SKILL.md length
524 words
Files
19
Skills in repo
8
Repo updated
First seen
Licence
Custom licence

At a glance

Provides domain-specific best practices for Node.js development with TypeScript, covering type stripping, async patterns, error handling, streams, modules, testing, performance, caching, logging…

  • Works in 4 steps: Use await pipeline(...) from… → Include at least one explicit async… → Choose a cache strategy when repeated… → …
  • Setting up Node.js projects with native TypeScript support
  • SKILL.md covers When to use, TypeScript with Type Stripping, Common Workflows and High-priority activation…, plus 1 more section
  • Runs TypeScript scripts from its folder; calls node

What it does

Node is an agent skill from HsienW/chat-gun. Provides domain-specific best practices for Node.js development with TypeScript, covering type stripping, async patterns, error handling, streams, modules, testing, performance, caching, logging, and more. Use when setting up Node.js projects with native TypeScript support, configuring type stripping (--experimental-strip-types), writing Node 22+ TypeScript without a build step, or when the user mentions 'native TypeScript in Node', 'strip types', 'Node 22 TypeScript', '.ts files without compilation', 'ts-node…

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 20 other files (for example `rules/assets/graceful-server.test.ts`, `rules/assets/graceful-server.ts` and `rules/async-patterns.md`).

It sits in Testing & QA, covering Failing and flaky tests, Caching and Error handling. It works with TypeScript, Node.js and npm. The repository describes itself as: 🤖 A full-stack Agent Chat Runtime for pre-production validation, built with act, TypeScript, and LangGraph JS combining streaming, multimodal, HITL, and tools with durable…

When your agent uses it

  • Setting up Node.js projects with native TypeScript support
  • Configuring type stripping (--experimental-strip-types)
  • Writing Node 22+ TypeScript without a build step
  • The user mentions native TypeScript in Node

Example prompts

  • “native TypeScript in Node”
  • “strip types”
  • “Node 22 TypeScript”
  • “/node”

Requirements

  • Node.js

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Use await pipeline(...) from node:stream/promises (prefer this over chained .pipe() in guidance/code).
  2. Include at least one explicit async function* transform when data is being transformed in-stream.
  3. Choose a cache strategy when repeated work appears
  4. Show where backpressure is handled (implicitly via pipeline() or explicitly via drain).

What it can do on your machine

Read from SKILL.md and the folder at commit 4569cb0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (TypeScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Node loads about 1.6k tokens when it runs. Until then it costs about 210 tokens; SKILL.md has 524 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~210
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 524 words (~1,591 tokens).

“Use this skill whenever you are dealing with Node.js code to obtain domain-specific knowledge for building robust, performant, and maintainable Node.js applications.”

— opening of SKILL.md by HsienW, Custom licence
name
node
metadata.tags
node, nodejs, javascript, typescript, type-stripping, backend, server

Read the full SKILL.md on GitHub

Files

SKILL.md and 18 other files in .agents/skills/node of HsienW/chat-gun.

  • SKILL.md
  • rules/assets/graceful-server.test.ts
  • rules/assets/graceful-server.ts
  • rules/async-patterns.md
  • rules/caching.md
  • rules/environment.md
  • rules/error-handling.md
  • rules/flaky-tests.md
  • rules/graceful-shutdown.md
  • rules/logging.md
  • rules/modules.md
  • rules/node-modules-exploration.md
  • rules/performance.md
  • rules/profiling.md
  • rules/streams.md
  • rules/stuck-processes-and-tests.md
  • rules/testing.md
  • rules/typescript.md
  • tile.json

Open the folder on GitHubat commit 4569cb0

Compare with similar skills

Node next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Node compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Node this skillHsienW/chat-gun143—~1.6kAutomated safety check: PassCustom licence
Repo Healthcheck Nodecommercetools/ui-kit154—~1.6kAutomated safety check: NotesMIT
Testingtrieb-work/nextjs-turbo-redis-cache151—~1.1kAutomated safety check: PassMIT
Bungalfrevn/apollo237—~2kAutomated safety check: NotesMIT
Bunbastani-inc/atomic846—~2.8kAutomated safety check: PassCustom licence
ClickUp CLI Testingkrodak/clickup-cli120—~1.4kAutomated safety check: NotesMIT

Similar skills

  • Repo Healthcheck Node

    commercetools/ui-kit

    Verify a Node.js/TypeScript repo's development environment is correctly set up.

    154 GitHub stars~1.6k tokensUpdated 4 days ago
    Frontend & DesignAuto-check: notes
  • Testing

    trieb-work/nextjs-turbo-redis-cache

    Run tests and add Next.js version coverage for the cache handler.

    151 GitHub stars~1.1k tokensUpdated 13 days ago
    Testing & QAAuto-check passed
  • Bun

    galfrevn/apollo

    A skill your agent uses when building, running, testing, or bundling JavaScript/TypeScript applications.

    237 GitHub stars~2k tokensUpdated 1 mo ago
    Testing & QAAuto-check: notes
  • Bun

    bastani-inc/atomic

    A skill your agent uses when building, testing, and deploying JavaScript/TypeScript applications.

    846 GitHub stars~2.8k tokensUpdated today
    Testing & QAAuto-check passed
  • ClickUp CLI Testing

    krodak/clickup-cli

    Explains how to run and extend the clickup-cli tests: unit tests with a mocked client, e2e tests against a real ClickUp workspace, and the fixture data they rely on.

    120 GitHub stars~1.4k tokensUpdated yesterday
    Testing & QAAuto-check: notes
  • Pre Commit

    wellwelwel/poku

    Run the mandatory pre-commit checks for the poku repository before staging a commit.

    1.2k GitHub stars~728 tokensUpdated 3 mo ago
    Testing & QAAuto-check passed

More from HsienW/chat-gun

All 8 skills in this repo
  • Chat Gun 的前端、OpenSpec、Streaming Event、Tool Renderer、型別邊界、多模態流式鏈路與 React/Vite 編程約束。Use when working on frontend code, tool rendering, streaming contracts, multimodal requests/responses, Weather…

    143 GitHub stars~467 tokensUpdated 3 days ago
    Auto-check passed
  • MUST be considered at task start in this repository to detect OpenSpec change lifecycle work and route Claude Code/CCR coordination tasks without loading unnecessary context.

    143 GitHub stars~939 tokensUpdated 3 days ago
    Auto-check passed
  • MUST be considered at task start in this repository to detect OpenSpec change lifecycle work and route it to token-efficient stage prompts.

    143 GitHub stars~907 tokensUpdated 3 days ago
    Auto-check passed
  • MUST be considered at task start in this repository to detect OpenSpec change lifecycle work and route Qwen Code review tasks without loading unnecessary context.

    143 GitHub stars~923 tokensUpdated 3 days ago
    Auto-check passed
  • 對 OpenSpec、Git Diff、frontend、bff、backend、LangGraph、Tool、MCP 與安全邊界進行獨立唯讀審查,輸出 Blocker、Major、Minor 與標準 Verdict。

    143 GitHub stars~775 tokensUpdated 3 days ago
    Auto-check passed
  • Apply when creating, modifying, refactoring, debugging, testing, or reviewing TypeScript, LangGraph JS, LangChain, provider adapter, tool, MCP, prompt, state, checkpoint, runtime event, or backend…

    143 GitHub stars~2.1k tokensUpdated 3 days ago
    Auto-check passed

Questions about Node

What does Node do?

Provides domain-specific best practices for Node.js development with TypeScript, covering type stripping, async patterns, error handling, streams, modules, testing, performance, caching, logging…. Node is an agent skill from HsienW/chat-gun.js development with TypeScript, covering type stripping, async patterns, error handling, streams, modules, testing, performance, caching, logging, and more.

When should I use Node?

Node fits situations like: setting up Node.js projects with native TypeScript support; configuring type stripping (--experimental-strip-types); writing Node 22+ TypeScript without a build step; the user mentions native TypeScript in Node.

How do I install Node in Claude Code?

Run `npx skills add HsienW/chat-gun --skill node -a claude-code`. Or copy the skill folder (.agents/skills/node in HsienW/chat-gun) into .claude/skills/node in your project. Claude Code loads it when a task matches its description.

How do I install Node in Codex?

Run `npx skills add HsienW/chat-gun --skill node -a codex`. Or copy the skill folder (.agents/skills/node in HsienW/chat-gun) into .agents/skills/node in your project. Codex loads it when a task matches its description.

Can I use Node in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HsienW/chat-gun --skill node -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/node, .gemini/skills/node, .github/skills/node and .opencode/skills/node in your project.

What does Node need to run?

Going by SKILL.md and its folder, Node needs TypeScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: Node.js.

Does Node access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Node safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Node use?

Node has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Node use?

About 1.6k tokens (SKILL.md is roughly 6.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Node?

Skills that share tags, products or a category with Node: Repo Healthcheck Node (commercetools/ui-kit, 154 stars), Testing (trieb-work/nextjs-turbo-redis-cache, 151 stars), Bun (galfrevn/apollo, 237 stars) and Bun (bastani-inc/atomic, 846 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Node?

HsienW (a GitHub user) maintains it in HsienW/chat-gun, which has 143 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 4, 2026.

Source: HsienW/chat-gun on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.