ast-grep Codemod Reference
warp-drive-data/warp-drive
Reference for writing and debugging TypeScript and JavaScript codemods with @ast-grep/napi: parsing, node queries, meta-variables, rule objects and editing.
Apply when creating, modifying, refactoring, debugging, testing, or reviewing TypeScript and Node.js code under bff/ in chat-gun.
$ npx skills add HsienW/chat-gun --skill chat-gun-bff-contract -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install HsienW/chat-gun chat-gun-bff-contract --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/HsienW/chat-gun.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/chat-gun-bff-contract .claude/skills/chat-gun-bff-contract && rm -rf skills-srcUse ~/.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/
Install the "chat-gun-bff-contract" agent skill from https://github.com/HsienW/chat-gun/tree/master/.agents/skills/chat-gun-bff-contract into .claude/skills/chat-gun-bff-contract/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chat-gun-bff-contract", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/HsienW/chat-gun/tree/master/.agents/skills/chat-gun-bff-contractType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add HsienW/chat-gun --skill chat-gun-bff-contract -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install HsienW/chat-gun chat-gun-bff-contract --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HsienW/chat-gun.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/chat-gun-bff-contract .agents/skills/chat-gun-bff-contract && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "chat-gun-bff-contract" agent skill from https://github.com/HsienW/chat-gun/tree/master/.agents/skills/chat-gun-bff-contract into .agents/skills/chat-gun-bff-contract/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chat-gun-bff-contract", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HsienW/chat-gun --skill chat-gun-bff-contract -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install HsienW/chat-gun chat-gun-bff-contract --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HsienW/chat-gun.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/chat-gun-bff-contract .cursor/skills/chat-gun-bff-contract && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "chat-gun-bff-contract" agent skill from https://github.com/HsienW/chat-gun/tree/master/.agents/skills/chat-gun-bff-contract into .cursor/skills/chat-gun-bff-contract/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chat-gun-bff-contract", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/HsienW/chat-gun.git --path .agents/skills/chat-gun-bff-contract--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add HsienW/chat-gun --skill chat-gun-bff-contract -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install HsienW/chat-gun chat-gun-bff-contract --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HsienW/chat-gun.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/chat-gun-bff-contract .gemini/skills/chat-gun-bff-contract && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "chat-gun-bff-contract" agent skill from https://github.com/HsienW/chat-gun/tree/master/.agents/skills/chat-gun-bff-contract into .gemini/skills/chat-gun-bff-contract/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chat-gun-bff-contract", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install HsienW/chat-gun chat-gun-bff-contractInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add HsienW/chat-gun --skill chat-gun-bff-contract -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/HsienW/chat-gun.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/chat-gun-bff-contract .github/skills/chat-gun-bff-contract && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "chat-gun-bff-contract" agent skill from https://github.com/HsienW/chat-gun/tree/master/.agents/skills/chat-gun-bff-contract into .github/skills/chat-gun-bff-contract/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chat-gun-bff-contract", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HsienW/chat-gun --skill chat-gun-bff-contract -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install HsienW/chat-gun chat-gun-bff-contract --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HsienW/chat-gun.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/chat-gun-bff-contract .opencode/skills/chat-gun-bff-contract && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "chat-gun-bff-contract" agent skill from https://github.com/HsienW/chat-gun/tree/master/.agents/skills/chat-gun-bff-contract into .opencode/skills/chat-gun-bff-contract/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chat-gun-bff-contract", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
chat-gun-bff-contractApply when creating, modifying, refactoring, debugging, testing, or reviewing TypeScript and Node.js code under bff/ in chat-gun.
Chat Gun Bff Contract is an agent skill from HsienW/chat-gun. Apply when creating, modifying, refactoring, debugging, testing, or reviewing TypeScript and Node.js code under bff/ in chat-gun. Enforces transport boundaries, naming, imports, validation, streaming, timeout, cancellation, security, observability, internationalization, and legacy-code compatibility.
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Internationalization, Legacy modernization and Observability. It works with TypeScript, Node.js and LangGraph. 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…
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 4569cb0. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Chat Gun Bff Contract loads about 2.6k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 1,182 words of instructions outside code blocks.
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.
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.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,182 words (~2,600 tokens).
Just SKILL.md in .agents/skills/chat-gun-bff-contract of HsienW/chat-gun.
Open the folder on GitHubat commit 4569cb0
Chat Gun Bff Contract 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Chat Gun Bff Contract this skillHsienW/chat-gun | 143 | — | ~2.6k | Automated safety check: Pass | Custom licence | |
| ast-grep Codemod Referencewarp-drive-data/warp-drive | 3.2k | — | ~2.6k | Automated safety check: Pass | MIT | |
| Effect TSmattiacerutti/supernova | 185 | — | ~2.8k | Automated safety check: Pass | MIT | |
| Code Reviewespennilsen/pi | 122 | — | ~771 | Automated safety check: Pass | MIT | |
| Lokalise SDK Patternsjeremylongshore/tons-of-skills-marketplace | 2.8k | — | ~3k | Automated safety check: Pass | MIT | |
| Effect TSpproenca/dot-skills | 215 | — | ~2k | Automated safety check: Pass | MIT |
warp-drive-data/warp-drive
Reference for writing and debugging TypeScript and JavaScript codemods with @ast-grep/napi: parsing, node queries, meta-variables, rule objects and editing.
mattiacerutti/supernova
Write idiomatic Effect v4 TypeScript following official best practices from effect-solutions and the Effect source.
espennilsen/pi
Review code for quality, security, performance, and maintainability.
jeremylongshore/tons-of-skills-marketplace
Apply production-ready Lokalise SDK patterns for TypeScript and Node.js.
pproenca/dot-skills
Effect-TS library usage in TypeScript — Effect.gen generators, Schema.Struct/Schema.Class definitions, Layer/Context.Tag/Service patterns, Effect.pipe pipelines, Data.TaggedError/Data.Class error…
FailproofAI/failproofai
Helps instrument a custom Python or TypeScript agent to record events for Failproof AI, verify what gets written, and run an evaluator worker that scores the runs.
HsienW/chat-gun
Chat Gun 的前端、OpenSpec、Streaming Event、Tool Renderer、型別邊界、多模態流式鏈路與 React/Vite 編程約束。Use when working on frontend code, tool rendering, streaming contracts, multimodal requests/responses, Weather…
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…
HsienW/chat-gun
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.
HsienW/chat-gun
MUST be considered at task start in this repository to detect OpenSpec change lifecycle work and route it to token-efficient stage prompts.
HsienW/chat-gun
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.
HsienW/chat-gun
對 OpenSpec、Git Diff、frontend、bff、backend、LangGraph、Tool、MCP 與安全邊界進行獨立唯讀審查,輸出 Blocker、Major、Minor 與標準 Verdict。
Works with
Categories
Apply when creating, modifying, refactoring, debugging, testing, or reviewing TypeScript and Node.js code under bff/ in chat-gun. Chat Gun Bff Contract is an agent skill from HsienW/chat-gun.js code under bff/ in chat-gun.
Chat Gun Bff Contract fits situations like: tasks that involve Internationalization; tasks that involve Legacy modernization; tasks that involve Observability.
Run `npx skills add HsienW/chat-gun --skill chat-gun-bff-contract -a claude-code`. Or copy the skill folder (.agents/skills/chat-gun-bff-contract in HsienW/chat-gun) into .claude/skills/chat-gun-bff-contract in your project. Claude Code loads it when a task matches its description.
Run `npx skills add HsienW/chat-gun --skill chat-gun-bff-contract -a codex`. Or copy the skill folder (.agents/skills/chat-gun-bff-contract in HsienW/chat-gun) into .agents/skills/chat-gun-bff-contract in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HsienW/chat-gun --skill chat-gun-bff-contract -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/chat-gun-bff-contract, .gemini/skills/chat-gun-bff-contract, .github/skills/chat-gun-bff-contract and .opencode/skills/chat-gun-bff-contract in your project.
SKILL.md names no scripts, command-line tools or credentials: Chat Gun Bff Contract is instructions for the agent only. Our summary lists: Node.js.
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.
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.
Chat Gun Bff Contract has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Chat Gun Bff Contract: ast-grep Codemod Reference (warp-drive-data/warp-drive, 3.2k stars), Effect TS (mattiacerutti/supernova, 185 stars), Code Review (espennilsen/pi, 122 stars) and Lokalise SDK Patterns (jeremylongshore/tons-of-skills-marketplace, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
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.