# CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

**Read [`AGENTS.md`](AGENTS.md) for the service map and [`ARCHITECTURE.md`](ARCHITECTURE.md) for runtime architecture, deployment pipeline, and Helm chart details.**

## Quick Reference

- **What**: HTTP reverse proxy for Data Plane, routing to PD/TiBR/TiCDC/DM/TiFlash
- **Where**: `tidb-admin` namespace, ports 8080 (biz) / 8081 (metrics)
- **Build**: `make all` from `internal/service-proxy/`
- **Test**: `make test` (unit) / `make e2e-run` (E2E with KinD)
- **Helm chart**: `../dataplane-manager/helm/service-proxy/`
- **CI/CD workflows**: `.github/workflows/service-proxy-*.yaml` (repo root)
