Agent skill

Chat Gun Bff Contract

by HsienW in HsienW/chat-gun

Apply when creating, modifying, refactoring, debugging, testing, or reviewing TypeScript and Node.js code under bff/ in chat-gun.

Custom licenceAuto-check passedDevelopment

Install Chat Gun Bff Contract

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

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

GitHub CLI
$ gh skill install HsienW/chat-gun chat-gun-bff-contract --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/chat-gun-bff-contract .claude/skills/chat-gun-bff-contract && 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
chat-gun-bff-contract
GitHub stars
143
Token cost
~2.6k tokens
SKILL.md length
1,182 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
Custom licence

At a glance

Apply when creating, modifying, refactoring, debugging, testing, or reviewing TypeScript and Node.js code under bff/ in chat-gun.

  • Works in 6 steps: Approved OpenSpec proposal, specs,… → Root AGENTS.md → bff/AGENTS.md → …
  • Tasks that involve Internationalization
  • SKILL.md covers Instruction precedence, Existing stack must be preserved, BFF ownership and Skill routing, plus 12 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

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…

When your agent uses it

  • Tasks that involve Internationalization
  • Tasks that involve Legacy modernization
  • Tasks that involve Observability

Example prompts

  • “/chat-gun-bff-contract”

Requirements

  • Node.js

Workflow steps

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

  1. Approved OpenSpec proposal, specs, design, and tasks
  2. Root AGENTS.md
  3. bff/AGENTS.md
  4. Existing public contracts, tests, and accepted runtime behavior
  5. This skill
  6. External general-purpose skills

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

    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.

  • 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

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.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~2.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 1,182 words (~2,600 tokens).

name
chat-gun-bff-contract

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/chat-gun-bff-contract of HsienW/chat-gun.

Open the folder on GitHubat commit 4569cb0

Compare with similar skills

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.

Chat Gun Bff Contract compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Chat Gun Bff Contract this skillHsienW/chat-gun143—~2.6kAutomated safety check: PassCustom licence
ast-grep Codemod Referencewarp-drive-data/warp-drive3.2k—~2.6kAutomated safety check: PassMIT
Effect TSmattiacerutti/supernova185—~2.8kAutomated safety check: PassMIT
Code Reviewespennilsen/pi122—~771Automated safety check: PassMIT
Lokalise SDK Patternsjeremylongshore/tons-of-skills-marketplace2.8k—~3kAutomated safety check: PassMIT
Effect TSpproenca/dot-skills215—~2kAutomated safety check: PassMIT

Similar skills

  • 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.

    3.2k GitHub stars~2.6k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Effect TS

    mattiacerutti/supernova

    Write idiomatic Effect v4 TypeScript following official best practices from effect-solutions and the Effect source.

    185 GitHub stars~2.8k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Code Review

    espennilsen/pi

    Review code for quality, security, performance, and maintainability.

    122 GitHub stars~771 tokensUpdated 19 days ago
    DevelopmentAuto-check passed
  • Lokalise SDK Patterns

    jeremylongshore/tons-of-skills-marketplace

    Apply production-ready Lokalise SDK patterns for TypeScript and Node.js.

    2.8k GitHub stars~3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Effect TS

    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…

    215 GitHub stars~2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Failproof AI SDK Integration

    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.

    5.3k GitHub stars~6k tokensUpdated 4 days ago
    AI & LLM EngineeringAuto-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 today
    Auto-check passed
  • Node

    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…

    143 GitHub stars~1.6k tokensUpdated today
    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 today
    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 today
    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 today
    Auto-check passed
  • 對 OpenSpec、Git Diff、frontend、bff、backend、LangGraph、Tool、MCP 與安全邊界進行獨立唯讀審查,輸出 Blocker、Major、Minor 與標準 Verdict。

    143 GitHub stars~775 tokensUpdated today
    Auto-check passed

Categories

Questions about Chat Gun Bff Contract

What does Chat Gun Bff Contract do?

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.

When should I use Chat Gun Bff Contract?

Chat Gun Bff Contract fits situations like: tasks that involve Internationalization; tasks that involve Legacy modernization; tasks that involve Observability.

How do I install Chat Gun Bff Contract in Claude Code?

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.

How do I install Chat Gun Bff Contract in Codex?

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.

Can I use Chat Gun Bff Contract 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 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.

What does Chat Gun Bff Contract need to run?

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.

Does Chat Gun Bff Contract 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 Chat Gun Bff Contract 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 Chat Gun Bff Contract use?

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.

How many tokens does Chat Gun Bff Contract use?

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.

What are the alternatives to Chat Gun Bff Contract?

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.

Who maintains Chat Gun Bff Contract?

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.