validate_collection_name
Validate planned Gemmein collection names against required syntax before writing g.collection() calls, catching illegal strings and providing corrective suggestions.
Instructions
Run at PLANNING time on every collection name you intend to use, before any g.collection(name) call is written. The naming law: lowercase letters, numbers, underscores; starts with a letter; 2-63 characters. A bad name throws from g.collection(name) before any network call — at module load that blanks the whole app with no console error. An invalid name comes back with a suggested fix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |