Convert a heavy bulk write endpoint (bulk create or bulk upsert) from a blocking request to an asynchronous job, using the shared async-bulk-operation engine. Use when making a bulk operation async, adding a new bulk operation, or reviewing one — in the Go…
Dane Albaugh's HTTP API Design doctrine — the house style for all API work. Use when designing, implementing, or reviewing API endpoints, resources, layers (controller/service/repository), error handling, idempotency, or anything in api/. Distilled from…
The OpenMRP layer contract — what each layer (edge/transport, controller/handler, service, mediator, repository, database) does, must not do, and where every cross-cutting concern lives (auth, permissions, validation, idempotency, transactions, mutation,…
How to write comments in this repo — why over how, no change narration, ruthless brevity. Use whenever writing or editing a comment in Go, SQL, or proto, and when reviewing a diff for comment quality.
Plan and review MySQL/InnoDB schema, indexing, query tuning, transactions, and operations. Use when creating or modifying MySQL tables, indexes, or queries; diagnosing slow/locking behavior; planning migrations; or troubleshooting replication and connection…