Rule Backend

Consistent Response Shape

Use a consistent response structure across all API endpoints

backendapiconsistency
CLAUDE.md

Use a consistent response shape across all endpoints. Every response should follow the same envelope: { data, error, meta } or equivalent. Clients shouldn’t need to guess the structure.

Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.

get crystl