Make CLAUDE.md a short router, and move each topic's rules to a file under rules/ that loads when a session touches a matching file
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
---
|
||||
paths:
|
||||
- "**/*openapi*"
|
||||
- "**/*swagger*"
|
||||
- "**/api-docs/**"
|
||||
---
|
||||
|
||||
# Public API specs
|
||||
- Text in public API specs (OpenAPI `description`/`title` fields and the generated api-docs) is read by external consumers. Never leak internal references: no ticket IDs, internal URLs, repo/system code-names, "see ticket X". Describe behaviour in consumer terms. GOOD: `Deprecated alias for paymentAccountId`. BANNED: `…will be removed (ABC-123)`.
|
||||
- The opposite of internal code comments, which *may* cite a ticket for a footgun/constraint.
|
||||
Reference in New Issue
Block a user