Command Palette

Search for a command to run...

Back to skills
skill № 45123

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…

FreeNo executable scripts
nghiahsgsby 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
Sign up freeI already have an account

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) vs yolo
  • 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:

  1. Current dir has .git/ (it's a real repo, not a random folder)
  2. No CLAUDE.md at repo root
  3. No .taw/memory-declined marker file exists
  4. Router classified intent is NOT MAINTAIN/memory (avoid recursion)
  5. Router classified intent is NOT FIX (user is in panic mode — don't interrupt)
  6. Current tier1 is NOT BUILD with 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.md with init subcommand. On completion, continue with user's original intent (resume Step 2 with original routing decision).
  • n / no / không → touch .taw/memory-declined so next /taw doesn'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/runtime
  • branches/ship.md — deploy to Vercel / Docker / VPS
  • branches/maintain/security.md — security audit (P0/P1/P2)
  • branches/maintain/test.md — auto-gen unit/e2e/RLS tests
  • branches/maintain/upgrade.md — bump deps (single / minor / major)
  • branches/maintain/clean.md — remove dead code / unused deps / orphan files
  • branches/maintain/perf.md — bundle / lighthouse / N+1 audit
  • branches/maintain/rollback.md — revert code and/or deploy
  • branches/maintain/refactor.md — rename / extract / split / move
  • branches/maintain/types.md — sync Supabase/API/env types
  • branches/maintain/seed.md — gen realistic seed data
  • branches/maintain/review.md — local pre-push review (lint+type+test+security)
  • branches/maintain/stack-swap.md — swap payment / db / ui / email / etc
  • branches/maintain/status.md — project health dashboard (git + build + deploy + security + tests)
  • `branches/maintain/memor
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

  1. 01Task
  2. 02Skill
  3. 03Read
  4. 04Write
  5. 05Edit
  6. 06Bash
  7. 07Glob
  8. 08Grep

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

Compare taw with