Command Palette

Search for a command to run...

Назад к скиллам
скилл № 11319

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от 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 build hoặc git init trướ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)
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Read
  2. 02Bash
  3. 03Grep

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), без исполняемых скриптов.

Похожие скиллы

Сравнить taw-trace с