taw-trace
Look up taw-kit git history without needing to know git. Find which commit added a feature, changed a file, or ran during which phase. Reads the strict format…
от nghiahsgs★ 31 звезда на GitHub
Установить taw-trace в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
taw-trace — Commit History Lookup (taw-Branded)
Purpose
Non-dev users should be able to ask "khi nào thêm trang đăng nhập?" or "commit nào làm hỏng checkout?" and get a straight answer. This skill wraps common git log / git blame queries behind a single interface and translates SHAs into plain prose in the user's input language (Vietnamese by default for VN users).
Input modes
Detect what the user gave:
| Input shape | Example | Query |
|---|---|---|
| Scope name | auth, shop, checkout |
git log --grep="($scope)" |
| Phase tag | P2, P5, phase 3 |
git log --grep="\[P$n\]" |
| File path | app/login/page.tsx |
git log --follow -- <file> |
| Feature slug | tiktok-shop, magic-link |
git log --grep="$slug" --all-match |
| SHA | abc1234 |
git show --stat <sha> |
who + file |
who app/shop/page.tsx |
git blame -L 1,40 <file> |
If ambiguous, ask once in VN: "taw: tìm theo feature (vd: auth), phase (P2), hay file (app/...)?"
Workflow
1. By scope — "mọi commit về auth"
git log --grep="(auth)" --pretty=format:"%h %ad %s" --date=short -20
Output (VN, max 10 dòng):
taw: lịch sử thay đổi auth —
abc1234 2026-01-15 feat(auth): add magic-link sign-in [P2]
def5678 2026-01-18 fix(auth): handle expired OTP link
9a0b1c2 2026-02-03 refactor(auth): extract middleware helper
2. By phase — "phase 2 làm gì"
git log --grep="\[P2\]" --pretty=format:"%h %s" -30
Also read .taw/plan.md if it exists — echo the phase description above the commit list so user remembers what P2 meant.
3. By file — "ai sửa app/login/page.tsx"
git log --follow --pretty=format:"%h %an %ad %s" --date=short -- "$file"
For per-line authorship ("ai viết dòng X"):
git blame -L <start>,<end> -- "$file"
4. By feature slug — "khi nào thêm TikTok shop"
Subject-grep + body-grep (user may have written it in either):
git log --grep="tiktok" -i --pretty=format:"%h %ad %s" --date=short
5. Reverse lookup — "commit nào làm hỏng X"
Ask for last known-good and known-broken SHA or date, then:
git log --oneline <good>..<broken> -- <path-or-scope>
# Offer `git bisect` only if >10 commits in range
Safety / UX rules
- Max 20 commits per output unless user asks "tất cả"
- Always truncate SHAs to 7 chars (user pastes back)
- Read-only — NEVER run
git reset,git checkout <sha>,git revert. If user asks rollback → emit: "taw: muốn revert abc1234? Gõ/taw revert abc1234" (routes to ROLLBACK branch) - If
.git/missing: "taw: project chưa có git. Chạy/taw buildhoặcgit inittrước."
Output convention
Print simple Vietnamese + short EN header showing the raw command (so advanced users can re-run):
$ git log --grep="(checkout)" -10
taw: 3 commit liên quan checkout —
abc1234 2026-03-02 feat(checkout): add Polar webhook [P5]
def5678 2026-03-04 fix(checkout): handle retry 409
9a0b1c2 2026-03-09 chore(checkout): log webhook body in dev
When to invoke
- User asks "khi nào", "ai sửa", "commit nào", "lịch sử", "thay đổi gì"
- Before
/taw fix: surface last 5 commits touching the broken area - Before
/taw deploy: show commits since last deploy tag (if exists)
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
Bash - 03
Grep
FAQ
Что делает скилл taw-trace?
Look up taw-kit git history without needing to know git. Find which commit added a feature, changed a file, or ran during which phase. Reads the strict format written by `taw-commit` (type(scope): subject [P<n>]). Every output prefixed "taw:" for branding. Replaces the old git-trace skill (rename only). Trigger phrases (VN + EN): "xem lich su", "ai sua cai nay", "khi nao them", "commit nao lam hong", "tra lai phase", "show git history", "blame".
Как установить скилл taw-trace?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл taw-trace запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…