| name | schema-change-checklist |
| description | Step-by-step checklist for modifying Strapi content types. Use when adding, removing, or changing fields on any Strapi schema, or when modifying relations between content types. Ensures all downstream files are updated. |
| invocation | auto |
Schema Change Checklist
When a Strapi content type schema changes, the ripple effect touches 6-8 files minimum. Missing any one of them causes silent bugs (stale data, missing fields, type errors).
The Checklist
For every schema field change (add, remove, rename, change type):
1. Schema (source of truth)
2. TypeScript Types
3. Request Functions
4. Cache Tags
5. Server Actions
6. Components
7. Tests
8. Reference Docs
Relation Changes (extra steps)
If you're adding or modifying a relation (manyToMany, manyToOne, oneToMany):
Field Removal (extra steps)
Removing a field is more dangerous than adding one:
Verification
After making all changes:
cd frontend && npm test
cd frontend && npm run build
If tests and build pass, the change is likely complete. If either fails, the error messages will point to files you missed.