Skip to main content

TLM — AI Tech Lead that enforces TDD, tests, and spec compliance in Claude Code.

Project description

TLM — AI Tech Lead for Claude Code

The annoying agent that makes Claude do the right thing.

TLM sits inside Claude Code and enforces TDD, tests, and spec compliance — automatically. It scans your project, identifies gaps, and hooks into Claude to enforce quality.

Quick Start

pipx install tlm-cli
tlm auth <your-api-key>
cd your-project
tlm install

That's it. Open Claude Code and start working — TLM activates automatically.

What Happens

  1. tlm auth <key> — Save your API key (one-time)
  2. tlm install — Scans your project, sends to server for assessment, shows gaps, selects quality tier, installs Claude Code hooks
  3. Work in Claude Code — TLM interviews you before features, enforces TDD, blocks deploys, warns on gaps
  4. tlm check — Manual quality gate before deployment

How It Works

TLM scans your project and sends the file tree + samples to the server for assessment. The server returns recommendations (gaps) ranked by severity:

Phase 5: Project Gaps (4 found)
┌──────────────────────────────────────────┐
│ critical  CI/CD      No CI/CD pipeline   │
│ critical  Testing    No tests found      │
│ high      Infra      No staging env      │
│ medium    Ops        No monitoring       │
└──────────────────────────────────────────┘

You choose a quality tier (high/standard/relaxed) and TLM enforces accordingly.

Commands

Command What it does
tlm auth <key> Save API key
tlm install Full setup: scan, assess, quality tier, gaps, hooks
tlm scan Re-scan and show recommendations
tlm gaps Show active project gaps
tlm check Run quality gate before deploy

Quality Tiers

Tier Behavior
HIGH Block on any gap. Spec review required. Multi-model code review.
STANDARD Block on critical gaps. Spec review on blockers. Single-model review.
RELAXED Warn only. No spec blocking. Mechanical checks only.

Hooks

TLM installs 6 Claude Code hooks:

  • session_start — Loads project context, gaps, quality rules
  • prompt_submit — Phase-specific guidance, gap warnings
  • guard (Write/Edit) — Blocks code during interview, enforces TDD
  • compliance (Bash) — Review gate on git commit
  • deployment (Bash) — Always blocks deploys until tlm check passes
  • stop — Session cleanup

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tlm_cli-0.2.0.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tlm_cli-0.2.0-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file tlm_cli-0.2.0.tar.gz.

File metadata

  • Download URL: tlm_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tlm_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bdaf06cbb879202d20b69df62aab1db52df202cd7be7904e1c88ce687feb5f1e
MD5 f190ec69c73713bd78f6838fd0157521
BLAKE2b-256 6247ff222a5c63bfdd674be846a2bde7002e97f541e56142f485ba2c7bd6ac27

See more details on using hashes here.

File details

Details for the file tlm_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: tlm_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tlm_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4d8df72b63ffa1b2d7732b0a2b0f530ce799b5f7f9d14a6eb6f6e5b25fc02c6
MD5 ab0cbe6c7b0b6bbb4a3a20dc48109a5c
BLAKE2b-256 0238cef779cfa253a1c4bb0438a94729086d3a6f4a6ebfa952abfa97891f961f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page