Skip to content

feat(engineering): add tc-tracker skill#498

Merged
alirezarezvani merged 1 commit intoalirezarezvani:devfrom
Elkidogz:feature/tc-tracker
Apr 8, 2026
Merged

feat(engineering): add tc-tracker skill#498
alirezarezvani merged 1 commit intoalirezarezvani:devfrom
Elkidogz:feature/tc-tracker

Conversation

@Elkidogz
Copy link
Copy Markdown
Contributor

@Elkidogz Elkidogz commented Apr 8, 2026

Summary

Adds a self-contained tc-tracker skill under engineering/tc-tracker/ for structured technical change tracking with state machine enforcement and AI session handoff.

This is a resubmission of the previously closed PR #487, fully reworked to match repo conventions. All scripts are now embedded (no external links), the SKILL.md frontmatter is stripped to name + description only, and the slash command is registered in commands/tc.md.

What it does

  • Tracks every code change with structured JSON records (what, why, who, when)
  • Enforces a state machine: planned -> in_progress -> implemented -> tested -> deployed (with blocked as a side state)
  • Stores session handoff data so when an AI session expires, the next one resumes seamlessly with progress, next steps, blockers, and key context
  • Append-only revision history with field-level change tracking

What's included

  • engineering/tc-tracker/SKILL.md (207 lines, well under 500)
  • engineering/tc-tracker/README.md (overview)
  • engineering/tc-tracker/scripts/ (5 Python scripts, stdlib only, all support --help and --json)
    • tc_init.py — Initialize TC tracking in a project
    • tc_create.py — Create a new TC record
    • tc_update.py — Update status, files, tests, handoff data
    • tc_status.py — Show TC status (single or all)
    • tc_validator.py — Validate a TC record or registry
  • engineering/tc-tracker/references/ (3 reference docs)
    • lifecycle.md — State machine and transitions
    • tc-schema.md — JSON schema reference
    • handoff-format.md — Session handoff structure
  • commands/tc.md — Slash command dispatcher (/tc <subcommand> [args])

Convention compliance

  • SKILL.md frontmatter has only name + description
  • SKILL.md under 500 lines (207)
  • Anti-Patterns section included
  • Cross-References section included
  • All scripts pass python3 script.py --help
  • All scripts use Python stdlib only (no pip dependencies)
  • All scripts support --json for machine-readable output
  • Exit codes: 0=success, 1=warnings, 2=critical errors
  • No external repo links in README or SKILL.md
  • Slash command registered in commands/tc.md
  • Targets dev branch (not main)
  • Tested end-to-end: init -> create -> validate cycle works

Test plan

  • python3 tc_init.py --root /tmp/test --project demo --json -> creates docs/TC structure
  • python3 tc_create.py --root /tmp/test --name feat --title "Test" --scope feature --priority high --summary "..." --motivation "..." --json -> creates valid TC record
  • python3 tc_validator.py --registry /tmp/test/docs/TC/tc_registry.json -> VALID
  • All scripts pass --help

🤖 Generated with Claude Code

Self-contained skill for tracking technical changes with structured JSON
records, an enforced state machine, and a session handoff format that lets
a new AI session resume work cleanly when a previous one expires.

Includes:
- 5 stdlib-only Python scripts (init, create, update, status, validator)
  all supporting --help and --json
- 3 reference docs (lifecycle state machine, JSON schema, handoff format)
- /tc dispatcher in commands/tc.md

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alirezarezvani
Copy link
Copy Markdown
Owner

@claude review the pr. Scan and approve it for the merge, when all criterias are met.

@claude
Copy link
Copy Markdown

claude bot commented Apr 8, 2026

Claude Code is working…

I'll analyze this and get back to you.

View job run

alirezarezvani pushed a commit that referenced this pull request Apr 8, 2026
Fork-based PRs (like PR #498) caused all CI checks to fail due to:
- ci-quality-gate: checkout failed because fork branch names don't exist
  in the base repo. Now uses commit SHA for PR events.
- skill-security-audit: comment posting failed with read-only GITHUB_TOKEN.
  Now continues on error and writes results to job summary as fallback.
- claude-code-review: fallback comment step failed silently. Now continues
  on error and writes status to job summary.

https://claude.ai/code/session_01X1RKFAkEwxgg6gQvJG1KCa
@alirezarezvani alirezarezvani merged commit 3c19048 into alirezarezvani:dev Apr 8, 2026
3 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants