Loading...
Loading...
Use when the user asks to track technical changes, create change records, manage TC lifecycles, or hand off work between AI sessions. Covers init/create/update/status/resume/close/export workflows for structured code change documentation.
npx skill4agent add alirezarezvani/claude-skills tc-trackerdocs/TC//tc init/tc create/tc update/tc status/tc resume/tc closeengineering/changelog-generatorengineering/tech-debt-tracker{project_root}/docs/TC/docs/TC/
├── tc_config.json # Project settings
├── tc_registry.json # Master index + statistics
├── records/
│ └── TC-001-04-05-26-user-auth/
│ └── tc_record.json # Source of truth
└── evidence/
└── TC-001/ # Log snippets, command output, screenshotsTC-NNN-MM-DD-YY-functionality-slugTC-001-04-05-26-user-authenticationTC-NNN.ATC-NNN.A.1NNNMM-DD-YYplanned -> in_progress -> implemented -> tested -> deployed
| | | | |
+-> blocked -+ +- in_progress <-------+
| (rework / hotfix)
+-> plannedSee references/lifecycle.md for the full transition table and recovery flows.
--help--jsonpython3 scripts/tc_init.py --project "My Project" --root .docs/TC/docs/TC/records/docs/TC/evidence/tc_config.jsontc_registry.jsonpython3 scripts/tc_create.py \
--root . \
--name "user-authentication" \
--title "Add JWT-based user authentication" \
--scope feature \
--priority high \
--summary "Adds JWT login + middleware" \
--motivation "Required for protected endpoints"tc_record.jsonplanned# Status transition (validated against the state machine)
python3 scripts/tc_update.py --root . --tc-id TC-001-04-05-26-user-auth \
--set-status in_progress --reason "Starting implementation"
# Add a file
python3 scripts/tc_update.py --root . --tc-id TC-001-04-05-26-user-auth \
--add-file src/auth.py:created
# Append handoff data
python3 scripts/tc_update.py --root . --tc-id TC-001-04-05-26-user-auth \
--handoff-progress "JWT middleware wired up" \
--handoff-next "Write integration tests" \
--handoff-next "Update README"R<n>updated.tmp# Single TC
python3 scripts/tc_status.py --root . --tc-id TC-001-04-05-26-user-auth
# All TCs (registry summary)
python3 scripts/tc_status.py --root . --all --jsonpython3 scripts/tc_validator.py --record docs/TC/records/TC-001-.../tc_record.json
python3 scripts/tc_validator.py --registry docs/TC/tc_registry.jsonR<n>T<n>approved=trueapproved_byapproved_dateSee references/tc-schema.md for the full schema.
/tccommands/tc.md| Command | Action |
|---|---|
| Run |
| Prompt for fields, run |
| Apply user-described changes via |
| Run |
| Display handoff, archive prior session, start a new one |
| Transition to |
| Re-render all derived artifacts |
| Re-render the registry summary |
session_context.handoffprogress_summarynext_stepsblockerskey_contextfiles_in_progresseditingneeds_reviewpartially_donereadydecisions_madeSee references/handoff-format.md for the full structure and fill-out rules.
revision_historyR1, R2, R3...test_casesT1, T2, T3...approved=trueapproved_byapproved_dateTC-NNN-MM-DD-YY-slugTC-NNN.ATC-NNN.A.N.tmpretro_changelog.jsontc_create.py| Anti-pattern | Why it's bad | Do this instead |
|---|---|---|
Editing | History is append-only — tampering destroys the audit trail | Add a new revision that corrects the field |
| Skipping the state machine ("just set status to deployed") | Bypasses validation and hides skipped phases | Walk through |
| Creating one TC per file changed | Fragments related work and explodes the registry | One TC per logical unit (feature, fix, refactor) |
| Updating TC inline between every code edit | Slows the main agent, wastes context | Spawn a background subagent at milestones |
Marking | Validator will reject; misleading audit trail | Always set |
Overwriting | Risks corruption mid-write and skips validation | Use |
Putting secrets in | Records are committed to the repo | Reference an env var or external secret store |
| Reusing TC IDs after deletion | Breaks the sequential guarantee and confuses history | Increment forward only — never recycle |
Letting | Defeats the purpose of handoff | Update on every milestone, even if it's "nothing changed" |
engineering/changelog-generatorengineering/tech-debt-trackerengineering/focused-fix/focused-fixproject-management/decision-logdecisions_madeengineering-team/code-reviewertested -> deployedapproval.approved_by