tGD
English | 繁體中文 | 日本語 | Deutsch
🌐 GitHub Pages | 🎬 Intro
Your PDLC was built for humans. Now agents do the work.
tGD is an open-source skill pack for Claude Code, Codex, Gemini CLI, OpenCode, Pi, and Hermes. It wraps your product development lifecycle (PDLC) in the gates your team already trusts — spec before code, tests before claims, human sign-off before release.
Map → Define → Plan → Develop → Verify → Review → Release
🤔 Why tGD?
The problem isn't that agents can't code. It's that nobody holds them accountable.
❌ Without tGD:
- Agent says "should work" — tests never ran
- Writes 500 lines before reading your codebase
- Skips spec, ships broken PR, disappears
✅ With tGD:
- Agent says "34/34 pass" — shows the output
- Reads codebase first, writes 50 lines that pass
- Spec → Plan → Code → Verify — no stage skipped
🎯 Who is this for?
- 🧑💻 Solo Dev — Release faster with disciplined AI workflow. Agent handles specs, tests, reviews.
- 👥 Team Lead — Enforce standards across AI-generated code. Every PR follows the same 7-stage pipeline.
- 🚀 Startup — Move fast without breaking things. tGD catches agent mistakes before production.
- 🏢 Enterprise — Quality gates for AI development. Security, performance, and compliance gates built in.
🚀 Quick Start
1. Clone & Setup
git clone https://github.com/openclawyhwang-hub/tGD.git && cd tGD
bash setup.sh
Auto-detects installed CLIs (Claude, Codex, Gemini, OpenCode, Pi, and
Hermes), installs commands and on-demand skills, and records every tGD-owned symlink
in an ownership manifest. Existing and legacy installs can run the same
command again: recognized tGD links are migrated in place, while foreign
files and settings are preserved. Skills load on demand, and no session
context is injected by default.
Running setup requires Python 3.9 or newer.
Plain setup never runs npm install -g; third-party global tools are
opt-in. When the bundled Understand-Anything workspace is not built yet,
plain setup may use its repository-pinned pnpm through Corepack (or an
already-installed matching pnpm) to install and build dependencies locally
under vendor/understand-anything/. Building UA requires Node.js 22.12 or
newer. UA build inputs are fingerprinted, so a source or lockfile change triggers a rebuild;
only matching artifacts may bypass that Node requirement. Every UA skill is
linked at ~/.agents/skills/<name>, and the plugin root is linked at
~/.understand-anything-plugin. With an older or missing Node runtime, setup
still installs the core on-demand entries and reports degraded UA readiness.
Use --no-deps to skip all dependency downloads and builds. The installer links tgd at
~/.local/bin/tgd and tells you if that directory is not yet on PATH.
Setup Options
| Command | What it does |
|---|
bash setup.sh | Install, refresh, or safely migrate an existing installation |
bash setup.sh --with-tools | Opt in to pinned global npm installs for missing CodeGraph and the pnpm fallback |
bash setup.sh --with-browser | Install/configure pinned Agent Browser (implies --with-tools) |
bash setup.sh --with-session-preamble | Opt in to a bounded tGD session preamble on supported platforms |
bash setup.sh --no-deps | Install commands and on-demand skills while skipping all dependency downloads and bundled UA builds (offline/CI mode) |
tgd | Run the same safe install/refresh after the first setup |
tgd --version (-v) | Show current version (CalVer: YYYY.MM.DD) |
tgd --upgrade (-u) | Force a managed refresh and migrate recognized legacy links |
tgd --uninstall | Remove manifest-owned links and tGD hooks; preserve user files and dependencies |