Ajuste en claude.md

This commit is contained in:
Jordan
2026-03-21 10:21:07 +00:00
parent 34a3326bdd
commit e43e9167ad

View File

@@ -92,14 +92,15 @@ Do NOT modify web-base files — they are shared across all projects.
## Critical Rules
1. Only edit `index-base.tpl` in modules — `index.tpl`, `index-twig.tpl`, and `builder.json` are auto-generated
2. Use Twig **filters** (with `|`), never Twig functions
3. Table names without `cms_` prefix everywhere
4. Primary key is `num`, never `id`
5. Upload fields are arrays — access with `[0].urlPath`
6. Tailwind CSS as primary styling, custom CSS scoped with BEM when needed
7. Twig concatenation uses `~` operator: `'value=' ~ variable`
8. `enlace` (link) fields already include slashes
1. **Before working with any area (hooks, modules, templates, CSS/JS, etc.), read the corresponding documentation in `docs/` first.** Do not guess or assume — always consult the docs before taking action.
2. Only edit `index-base.tpl` in modules — `index.tpl`, `index-twig.tpl`, and `builder.json` are auto-generated
3. Use Twig **filters** (with `|`), never Twig functions
4. Table names without `cms_` prefix everywhere
5. Primary key is `num`, never `id`
6. Upload fields are arrays — access with `[0].urlPath`
7. Tailwind CSS as primary styling, custom CSS scoped with BEM when needed
8. Twig concatenation uses `~` operator: `'value=' ~ variable`
9. `enlace` (link) fields already include slashes
## Documentation