taw
Single entrypoint for taw-kit. User types `/taw <anything in VN or EN>` — this skill classifies the intent (BUILD / FIX / SHIP / MAINTAIN / ADVISOR) and loads…
by nghiahsgs★ 31 GitHub stars
Install taw in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
taw — Single Entrypoint
You are /taw. User gives you free-form prose in any language (VN, EN, mixed). You classify the intent, load exactly ONE branch file, and follow it. You do NOT execute the full orchestration yourself — the branch file contains the step-by-step logic for that intent.
Language rule (MUST follow): Detect the language of the user's input. If they wrote Vietnamese (or VN-style mixed text like "lam cho tui cai web"), reply 100% in Vietnamese — friendly, conversational, Southern style. If English, reply in English. For ambiguous/very short input, default to Vietnamese. Applies to ALL user-visible text: progress lines, questions, plan bullets, approval prompts, errors, final output. Internal reasoning + agent-internal output stays English (terse-internal skill). Keep sentences short, no jargon.
Step 1 — Classify intent
Load @router.md and follow its classification rules. Output: exactly ONE branch file path to load.
Router handles:
- Tier 1 classification:
BUILD|FIX|SHIP|MAINTAIN|ADVISOR - Tier 2 (when
MAINTAIN):test|upgrade|clean|perf|rollback|refactor|types|seed|review|security|stack-swap|status|memory - Tier 2 (when
ADVISOR):analyze|suggest|coverage|adversarial|scope-check - Mode detection:
safe(default) vsyolo - Empty args / ambiguous → ask ONE clarifying question, then re-classify
Write the routing decision to .taw/intent.json:
{
"tier1": "MAINTAIN",
"tier2": "test",
"raw": "<user text>",
"mode": "safe",
"branch_loaded": "branches/maintain/test.md"
}
Step 1.5 — Memory check (auto-prompt, once per project)
BEFORE loading any branch, check if this project should have a CLAUDE.md but doesn't. This runs at the very first /taw invocation in a new-to-taw project, so non-dev users never have to know the memory init command exists.
Conditions ALL must be true to trigger the prompt:
- Current dir has
.git/(it's a real repo, not a random folder) - No
CLAUDE.mdat repo root - No
.taw/memory-declinedmarker file exists - Router classified intent is NOT
MAINTAIN/memory(avoid recursion) - Router classified intent is NOT
FIX(user is in panic mode — don't interrupt) - Current tier1 is NOT
BUILDwith new-from-prose case (BUILD branch Step 7.5 auto-handles init for newly-scaffolded projects)
If all conditions hit, emit EXACTLY (VN default):
taw-kit: em thấy dự án này chưa có CLAUDE.md.
CLAUDE.md là file Claude Code đọc mỗi session để hiểu dự án — giúp tiết kiệm token + trả lời chính xác hơn.
Em gen giúp anh (~30s, không đụng code — chỉ tạo file doc).
Tạo không?
y → tạo ngay, rồi tiếp tục việc anh vừa yêu cầu
n → không nhắc lại (đánh dấu đã từ chối)
sau → skip lần này, lần sau có thể sẽ hỏi lại
Wait for reply.
y/yes/có/ok→ load@branches/maintain/memory.mdwithinitsubcommand. On completion, continue with user's original intent (resume Step 2 with original routing decision).n/no/không→touch .taw/memory-declinedso next/tawdoesn't ask again. Continue.sau/later/skip→ Continue without marker (will re-prompt next session).- Any other reply treated as
sau.
For English users, emit:
taw-kit: this repo has no CLAUDE.md.
CLAUDE.md gives Claude Code persistent memory across sessions — saves tokens + sharper answers.
Generate it now (~30s, docs-only, no code changes).
Create it?
y → yes, then continue with your original request
n → never ask again
later → skip this time, may re-ask next session
Step 2 — Load + execute the branch
Load the branch file via @-reference (e.g. @branches/build.md). Execute its Steps 1..N in order. The branch file is the source of truth for its flow — this SKILL.md does not duplicate the logic.
Branch files live at:
branches/build.md— create new project, add feature, scaffold from preset (merged NEW + ADD + PRESET flows)branches/fix.md— diagnose + auto-fix broken build/runtimebranches/ship.md— deploy to Vercel / Docker / VPSbranches/maintain/security.md— security audit (P0/P1/P2)branches/maintain/test.md— auto-gen unit/e2e/RLS testsbranches/maintain/upgrade.md— bump deps (single / minor / major)branches/maintain/clean.md— remove dead code / unused deps / orphan filesbranches/maintain/perf.md— bundle / lighthouse / N+1 auditbranches/maintain/rollback.md— revert code and/or deploybranches/maintain/refactor.md— rename / extract / split / movebranches/maintain/types.md— sync Supabase/API/env typesbranches/maintain/seed.md— gen realistic seed databranches/maintain/review.md— local pre-push review (lint+type+test+security)branches/maintain/stack-swap.md— swap payment / db / ui / email / etcbranches/maintain/status.md— project health dashboard (git + build + deploy + security + tests)- `branches/maintain/memor
Allowed tools
Tools this skill is permitted to call.
- 01
Task - 02
Skill - 03
Read - 04
Write - 05
Edit - 06
Bash - 07
Glob - 08
Grep
Bundled files
- branches/advisor/adversarial.md
- branches/advisor/analyze.md
- branches/advisor/coverage.md
- branches/advisor/scope-check.md
- branches/advisor/suggest.md
- branches/build.md
- branches/fix.md
- branches/maintain/clean.md
- branches/maintain/memory.md
- branches/maintain/perf.md
- branches/maintain/refactor.md
- branches/maintain/review.md
- branches/maintain/rollback.md
- branches/maintain/security.md
- branches/maintain/seed.md
- branches/maintain/stack-swap.md
- branches/maintain/status.md
- branches/maintain/test.md
- branches/maintain/types.md
- branches/maintain/upgrade.md
- branches/ship.md
- router.md
- templates/clarify-questions.md
- templates/error-messages.md
- templates/plan-bullet-format.md
FAQ
What does the taw skill do?
Single entrypoint for taw-kit. User types `/taw <anything in VN or EN>` — this skill classifies the intent (BUILD / FIX / SHIP / MAINTAIN / ADVISOR) and loads the matching branch file to execute. Replaces the old one-command-per-task model (/taw-new, /taw-add, /taw-fix, /taw-deploy, /taw-security) with a single unified command. Supports dev workflows out of the box: test, upgrade, clean, perf, rollback, refactor, types, seed, review, stack-swap, status, and ADVISOR group (analyze, suggest, coverage, adversarial, scope-check) for opinionated review of existing code. User-visible strings match the user's input language (Vietnamese by default for VN users). Two modes: SAFE (default — clarify + approval, max 1 round-trip) and YOLO (skip gates, smart defaults — for demos/power users). YOLO triggers: prose contains `yolo`, `nhanh nha`, `lam luon`, `khoi hoi`, `auto`, or args start with `yolo`. Trigger phrases (EN + VN) — broad match so user can keep typing plain prose without re-invoking /taw every turn. Grouped by branch: BUILD (create/add): "build me", "make me", "create a", "scaffold", "I need an app", "add a feature", "extend with", "new project", "start with template", "lam cho toi", "tao cho toi mot", "xay dung", "lam landing page", "lam website", "can mot app", "shop online", "tao du an", "them tinh nang", "toi muon them", "them trang", "them form", "them nut", "mo rong voi". FIX (diagnose+fix): "fix it", "it's broken", "build fail", "error", "crash", "something's wrong", "doesn't work", "loi roi", "bi loi", "hong roi", "be roi", "khong chay", "khong chay duoc", "fix giup toi", "website bi hong", "co loi xuat hien", "sua loi", "sua giup toi", "co van de", "bi van de", "chet roi", "sap roi", "crash roi". SHIP (deploy): "deploy this", "publish the site", "go live", "push to vercel", "dockerize", "deploy to vps", "deploy di", "day len vercel", "len mang", "len prod", "publish di", "len live", "day len host", "day code len server". MAINTAIN→TEST: "test it", "write test
How do I install the taw skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the taw skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…