Skip to main content
NEW · APP STORE Now on iOS · macOS · iPad Android & Windows soon GET IT
Prompts Code Change State Machine Tracker

agent coding skill risk: low

Code Change State Machine Tracker

Defines a skill for tracking code changes via structured JSON records, a fixed state machine, and commands including /tc init, /tc update, /tc resume, and /tc retro to support AI s…

SKILL 1 file

SKILL.md
---
name: technical-change-tracker
description: "Track code changes with structured JSON records, state machine enforcement, and AI session handoff for bot continuity"
---
# Technical Change Tracker

## Overview

Track every code change with structured JSON records and accessible HTML output. Ensures AI bot sessions can resume seamlessly when previous sessions expire or are abandoned.

## When to Use This Skill

- Use when you need structured change tracking across AI coding sessions
- Use when a bot session expires mid-task and the next session needs full context to resume
- Use when onboarding a project with undocumented change history

## How It Works

### State Machine

```
planned -> in_progress -> implemented -> tested -> deployed
             |
             +-> blocked
```

### Commands

`/tc init` | `/tc create` | `/tc update` | `/tc status` | `/tc resume` | `/tc close` | `/tc export` | `/tc dashboard` | `/tc retro`

### Session Handoff

Each TC stores: progress summary, next steps, blockers, key context, and files in progress — so the next bot session picks up exactly where the last left off.

### Non-Blocking

TC bookkeeping runs via background subagents. Never interrupts coding work.

## Features

- Structured JSON records with append-only revision history
- Test cases with log snippet evidence
- WCAG AA+ accessible HTML output (dark theme, rem-based fonts)
- CSS-only dashboard with status filters
- Python stdlib only — zero external dependencies
- Retroactive bulk creation from git history via `/tc retro`

## Full Repository

https://github.com/Elkidogz/technical-change-skill — MIT License

## Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

REQUIRED CONTEXT

  • code change details
  • current state in planned->in_progress->implemented->tested->deployed or blocked

OPTIONAL CONTEXT

  • git history for retroactive import
  • test log snippets

ROLES & RULES

  1. Use this skill only when the task clearly matches the scope described above.
  2. Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  3. Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

EXPECTED OUTPUT

Format
json
Constraints
  • append-only revision history
  • include progress summary, next steps, blockers, key context, files in progress
  • also produce WCAG AA+ accessible HTML dashboard

CAVEATS

Missing context
  • Exact JSON record schema and field definitions
  • Detailed behavior and arguments for each /tc command
  • Success criteria or validation rules for state transitions

QUALITY

OVERALL
0.67
CLARITY
0.78
SPECIFICITY
0.55
REUSABILITY
0.72
COMPLETENESS
0.62

IMPROVEMENT SUGGESTIONS

  • Add a dedicated section defining the precise JSON structure, required fields, and revision history format
  • Expand each command with usage syntax, arguments, and example outputs

USAGE

Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.

MORE FOR AGENT