beiryu
  • Projects
  • Blog
  • About

© 2026 Khanh Dinh. I build software and write about the journey.

  • GitHub
  • LinkedIn
  • X

vn-skills — Vietnam Toolkit for AI Coding Agents

Live

Agent Skills, CLI, MCP server and TypeScript library that teach Claude Code, Codex and Cursor Vietnam-specific logic: VietQR payloads, the new 34-province addresses, tax and citizen IDs, money in words, the Vietnamese lunar calendar and e-invoices. One offline core, published on npm as @vn-skills/*.

Oct 2026 – now· Open source· 7 views
GitHub Source
  • TypeScript

Overview#

Coding agents get Vietnam-specific tasks wrong: they invent bank BINs, use the pre-2025 provinces and districts, misread amounts in words, or confuse the Chinese and Vietnamese lunar calendars. vn-skills fixes that with one offline TypeScript core exposed in four ways.

What it ships#

  • Agent Skills — skills/*/SKILL.md following the Agent Skills spec; install with npx -y @vn-skills/cli install vietqr --agent claude.
  • CLI — @vn-skills/cli with JSON output, so agents can call it directly.
  • MCP server — @vn-skills/mcp: the same functions as MCP tools (claude mcp add vn-skills -- npx -y @vn-skills/mcp).
  • Library — @vn-skills/core, pure TypeScript, no network, data bundled.

Skills#

  • vietqr — build/parse NAPAS 247 (EMVCo) payloads, CRC16, PNG/SVG, bank BIN lookup.
  • vn-address — parse and convert 63-province + district addresses to the 34-province, 2-level structure in force from 01/07/2025.
  • vn-tax-id, vn-id, vn-phone — offline validation of tax IDs, 12-digit citizen IDs and phone numbers.
  • vn-lunar, vn-holidays — solar ↔ lunar with leap months and can chi (UTC+7), official days off and working-day maths.
  • vn-money-words, vn-number-format, vn-name — amounts in Vietnamese words, number/date formats, name splitting and Vietnamese collation.
  • vn-einvoice — e-invoice schema validation, VAT and totals, mock provider.

Tech stack: TypeScript, Node.js 22, pnpm monorepo, MCP, Agent Skills

More projects

Hero Arena

A console battle simulation in C/C++ built around a five-element affinity system where team composition and environment modify every combat statistic — with a file-backed roster, an attack-speed scheduler, and persistent match history.

Paused
  • University
  • C++
  • File I/O
  • Data Structures

LightningProxies

The complete public platform for a 20M+ IP proxy network — product and pricing surface, a free network-diagnostics toolkit, market pages for 49 countries, and revenue-critical affiliate attribution hardened against bot fraud without ever blocking the page.

Live
  • Side project
  • Next.js
  • React
  • TypeScript