mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-11 16:45:13 +00:00
chore(agents): add agents files (#11497)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# ZITADEL Proto Guide for AI Agents
|
||||
|
||||
## Context
|
||||
`proto/` defines ZITADEL API contracts. Changes here affect generated clients, backend stubs, and docs API references.
|
||||
|
||||
## Source of Truth
|
||||
- Follow `API_DESIGN.md` for naming, versioning, deprecations, and resource-oriented API design.
|
||||
- Keep changes backward compatible within major versions unless a new major version is introduced.
|
||||
|
||||
## Verified Nx Targets
|
||||
- **Generate TS Proto Package**: `pnpm nx run @zitadel/proto:generate`
|
||||
- **Generate API Assets/Stubs**: `pnpm nx run @zitadel/api:generate`
|
||||
- **Generate Docs Artifacts**: `pnpm nx run @zitadel/docs:generate`
|
||||
|
||||
## Workflow Notes
|
||||
- After proto changes, validate dependent consumers (`@zitadel/client`, `@zitadel/api`, `@zitadel/docs`).
|
||||
- If Go code is touched during generation or follow-up fixes, inspect root `go.mod` before running Go tooling.
|
||||
Reference in New Issue
Block a user