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 interviews you before coding, generates specs, and blocks commits that don't meet your project's quality bar.

Quick Start

pipx install tlm-cli
tlm signup
cd your-project
tlm install

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

What Happens

  1. tlm signup — Create your account (one-time)
  2. tlm install — Scans your project, generates enforcement rules, you approve them interactively. Installs Claude Code hooks.
  3. Work in Claude Code — TLM interviews you before features, enforces TDD, checks spec compliance before commits
  4. tlm check — Manual quality gate (runs your approved checks mechanically)

How It Works

TLM scans your project and asks Claude to figure out your stack — test framework, linter, deploy targets, coverage thresholds. It generates an enforcement config and presents it for your approval:

TLM Enforcement Config

  Quality Checks (3):
    ● Tests pass [pre_commit]
      pytest tests/ -v
    ● Linting [pre_commit]
      flake8 src/
    ○ Security audit [pre_commit]
      pip-audit

Does this look right?
  yes — Approve and save
  [correction] — Tell me what's wrong

You can correct anything conversationally. Once approved, enforcement is mechanical — commands and exit codes, no LLM opinions.

Commands

Command What it does
tlm signup Create account
tlm auth <key> Save API key
tlm install Full setup: scan, approve config, install hooks
tlm uninstall Remove TLM integration (keeps data)
tlm check Run quality gate manually
tlm status Project stats + enforcement status
tlm learn Analyze recent commits for patterns
tlm learn --all Full history analysis

Philosophy

  1. Claude knows your stack. TLM doesn't hardcode detection for any framework. Claude figures it out.
  2. You approve everything. Nothing becomes a rule until you say yes.
  3. Enforcement is mechanical. Commands and exit codes. No LLM opinions during enforcement.
  4. Annoying, not a prison. Every block has an OVERRIDE. But you have to be explicit.

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.1.8.tar.gz (92.4 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.1.8-py3-none-any.whl (57.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tlm_cli-0.1.8.tar.gz
  • Upload date:
  • Size: 92.4 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.1.8.tar.gz
Algorithm Hash digest
SHA256 09341936a534f1fbbfb4ecacde87df9b671082f004d0a8eea79aea89e6e5c444
MD5 4ccb8a349ead28c25df7202d9b7c7413
BLAKE2b-256 31b147cfcc5c511a8296b14cabaf9d26c3135c72c4adade1cd818c5896e3dbc3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tlm_cli-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 57.0 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.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 e2947187833e66a5891fb53259c49c24d274fa4a35905c97d58463a29dd6d7d7
MD5 24f99ed43d1c3933e624bca4e64ce72c
BLAKE2b-256 97d3761ca84b2a52b90d8d136ebd61fffe94677ae9ba13d7fa83138a50e9b73e

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