Track technical changes with structured records, a state machine, and session handoff. Usage: /tc <init|create|update|status|resume|close|export|dashboard> [arg
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-claude-skills-f9bea948d06c ,按照其中的说明把「tc」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Dispatch a TC (Technical Change) command. Arguments: $ARGUMENTS.
If $ARGUMENTS is empty, print this menu and stop:
/tc init Initialize TC tracking in this project
/tc create <name> Create a new TC record
/tc update <tc-id> [...] Update fields, status, files, handoff
/tc status [tc-id] Show one TC or the registry summary
/tc resume <tc-id> Resume a TC from a previous session
/tc close <tc-id> Transition a TC to deployed
/tc export Re-render derived artifacts
/tc dashboard Re-render the registry summary
Otherwise, parse $ARGUMENTS as <subcommand> <rest> and dispatch to the matching protocol below. All scripts live at engineering/tc-tracker/scripts/.
initpython3 engineering/skills/tc-tracker/scripts/tc_init.py --root . --json
already_initialized, report current statistics and stop./tc create <name> as the next step.create <name><name> as a kebab-case slug. If missing, ask the user for one.feature | bugfix | refactor | infrastructure | documentation | hotfix | enhancementcritical | high | medium | low (default medium)python3 engineering/skills/tc-tracker/scripts/tc_create.py --root . \
--name "<slug>" --title "<title>" --scope <scope> --priority <priority> \
--summary "<summary>" --motivation "<motivation>" --json
update <tc-id> [intent]<tc-id> is missing, list active TCs (status in_progress or blocked) from tc_status.py --all and ask which one.--set-status <state> with --reason "<why>"--add-file path[:action]--add-test "<title>" --test-procedure "<step>" --test-expected "<result>"--handoff-progress, --handoff-next, --handoff-blocker, --handoff-context--note "<text>"--tag <tag>python3 engineering/skills/tc-tracker/scripts/tc_update.py --root . --tc-id <tc-id> [flags] --json
status [tc-id]<tc-id> is provided:
python3 engineering/skills/tc-tracker/scripts/tc_status.py --root . --tc-id <tc-id>
python3 engineering/skills/tc-tracker/scripts/tc_status.py --root . --all
resume <tc-id>python3 engineering/skills/tc-tracker/scripts/tc_status.py --root . --tc-id <tc-id> --json
progress_summary, next_steps (numbered), blockers, key_context.python3 engineering/skills/tc-tracker/scripts/tc_update.py --root . --tc-id <tc-id> \
--note "Session resumed" --reason "session handoff"
next_steps. Do NOT re-derive context — trust the handoff.close <tc-id>tc_status.py --tc-id <tc-id> --json.tested. If not, refuse and tell the user which transitions are still required.test_cases: warn if any are pending, fail, or blocked.python3 engineering/skills/tc-tracker/scripts/tc_update.py --root . --tc-id <tc-id> \
--set-status deployed --reason "Approved by <approver>" --note "Approval: <approver> — <notes>"
Then directly edit the approval block via a follow-up update if your script version supports it; otherwise instruct the user to record approval in notes.exportThere is no automatic HTML export in this skill. Re-validate everything instead:
python3 engineering/skills/tc-tracker/scripts/tc_validator.py --record <path> --json
python3 engineering/skills/tc-tracker/scripts/tc_validator.py --registry docs/TC/tc_registry.json --json
dashboardRun the all-records summary:
python3 engineering/skills/tc-tracker/scripts/tc_status.py --root . --all
tc_record.json by hand. Always use tc_update.py so revision history is appended and validation runs.[CANCELLED].engineering/tc-tracker — Full SKILL.md with schema reference, lifecycle diagrams, and the handoff format.engineering/changelog-generator — Pair with TC tracker: TCs for the per-change audit trail, changelog for user-facing release notes.engineering/tech-debt-tracker — For tracking long-lived debt rather than discrete code changes.