Production-grade engineering skills for AI coding agents — covering the full software development lifecycle from spec to ship.
npx claudepluginhub openclawyhwang-hub/tgd-agenttGD: a skill pack that makes AI coding agents act like senior engineers. Covers the full lifecycle from map to ship.
tGD 7-phase product pipeline, agentified.
Forked from openclawyhwang-hub/tGD, wrapped as a Google ADK agent with AG-UI protocol and a custom Next.js frontend.
┌──────────────────┐ AG-UI/SSE ┌──────────────────┐
│ Next.js Frontend│ ◄────────────► │ FastAPI Backend │
│ localhost:3000 │ /api/tgd/* │ localhost:8000 │
└──────────────────┘ rewrite └────────┬─────────┘
│
▼
┌──────────────────┐
│ Google ADK 2.2 │
│ tgd_agent │
│ + SessionMgr │
│ (multi-user) │
└────────┬─────────┘
│
▼
┌──────────────────┐
│ OpenCode Go API │
│ 7 phase tools │
└──────────────────┘
Stack: Google ADK 2.2.0 + ag-ui-adk 0.6.5 + FastAPI + Next.js 14
| Phase | Tool | Artifact |
|---|---|---|
| 🗺️ MAP | map_phase | MAP.md |
| 📋 DEFINE | define_phase | PRD.md |
| 🧩 PLAN | plan_phase | TASKS.md |
| 🛠️ DEVELOP | develop_phase | DEVLOG.md |
| ✅ VERIFY | verify_phase | TEST-REPORT.md |
| 🔍 REVIEW | review_phase | REVIEW.md |
| 🚀 SHIP | ship_phase | RELEASE.md |
# 1. Install deps
pip install -r requirements.txt
cd frontend && npm install && cd ..
# 2. Set up API key (uses Hermes OPENCODE_GO_API_KEY by default)
cp .env.example .env
# edit .env: set OPENAI_API_KEY=*** (or OPENCODE_GO_API_KEY from Hermes)
# 3. Run
bash run.sh
# → Backend: http://localhost:8000
# → Frontend: http://localhost:3000
Or run separately:
bash start_backend.sh # terminal 1
cd frontend && npx next dev --port 3000 # terminal 2
tGD-Agent uses ADK 2.0 + ag-ui-adk 0.6.5 native multi-session capabilities.
| Feature | How it works |
|---|---|
| Per-user isolation | user_id from forwardedProps.user_id (defaults to default_user) |
| Per-session isolation | AG-UI threadId = ADK session_id (1:1, via use_thread_id_as_session_id) |
| Session cap | 20 sessions per user (configurable via TGD_MAX_SESSIONS env) |
| Auto-cleanup | Sessions expire after 2h idle; 5min cleanup interval |
| Long-term memory | save_session_to_memory_on_cleanup=True — on session end, contents are saved to InMemoryMemoryService for cross-session recall |
# List all active sessions for a user
curl http://localhost:8000/sessions?user_id=alice
# Read full state of a session
curl http://localhost:8000/sessions/a-1?user_id=alice
# Force-kill a session
curl -X DELETE http://localhost:8000/sessions/a-1?user_id=alice
Frontend (or any AG-UI client) sets user_id via forwardedProps:
fetch("/api/tgd/", {
method: "POST",
body: JSON.stringify({
threadId: "my-unique-thread", // becomes session_id
forwardedProps: { user_id: "alice" },
// ... rest of AG-UI payload
})
})
| Variable | Default | Description |
|---|---|---|
TGD_MODEL | openai/minimax-m3 | Agent model (litellm format) |
OPENAI_API_KEY | (from Hermes) | OpenAI-compatible API key |
OPENAI_API_BASE | https://opencode.ai/zen/go/v1 | API endpoint |
TGD_BACKEND_PORT | 8000 | Backend port |
backend/server.py (AG-UI middleware)agents/tgd_agent/agent.py (Google ADK Agent)agents/tgd_agent/tools/phase_tools.py (7 phase functions)frontend/src/app/ (Next.js 14 App Router)projects/<project-name>/<PHASE>.mdEach artifact has a ## Sign-off section at the bottom. tGD-Agent blocks
phase transitions until the previous phase's sign-offs are complete.
| Role | Phases |
|---|---|
| PM | DEFINE (PRD), SHIP (final) |
| DEV | PLAN, DEVELOP, REVIEW |
| QA | VERIFY, REVIEW |
See .claude/commands/ for slash commands. Scheduled jobs run hourly via
Hermes cron, delivering to Slack #tgd-agent channel.
MIT (inherited from upstream tGD).
7-day visitors to each marketplace page
Matt Pocock's skills for real engineering, as an installable Claude Code plugin.
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations
No description available.