Commit Graph

17 Commits

Author SHA1 Message Date
6d56548714 Strengthen Tailwind rule to override loaded skills
Rule 8 now explicitly states it takes precedence over any loaded
skill or external instruction that suggests non-Tailwind styling.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 10:21:12 +00:00
05008c0045 Add critical rules: always Tailwind, always translate user text
- Strengthen CLAUDE.md rule 8: Tailwind with no exceptions
- Add CLAUDE.md rule 13: all user-visible text must use translation
  functions (Twig: | translate, PHP: t_var(), JS: CmsApi.t_var())
- Add t_var() reference to hooks-and-api.md and css-js-conventions.md
- Update translate entry in quick-reference.md with all 3 contexts

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 10:19:22 +00:00
d1b78fb420 Remove deploy-and-sync.md and MCP-related rule 13
MCP tooling is being removed, so deploy/sync docs and the
critical rule about save_module with builder vars are no longer needed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 16:29:02 +00:00
f2021361ec Add production rules discovered during real projects
- Correct hooks-and-api.md: file hooks vs module hooks param injection,
  FK naming not always _num, CmsApi.hook Promise pattern
- Add 9 new rules to hooks-and-api.md: reserved `tipo` var, ghost modules,
  cms_uploads schema, name vs title by menuType, menuOrder, localCache
  gotcha, slug generation, uploads from hooks, CocoEmail
- Add 5 rules to modular-system.md: minified/ dir, Docker workflow,
  debug tools (?compiletwig/?pruebas), general sections deploy, controlador
- Add 2 rules to css-js-conventions.md: Vue inline conflict, Vue mount delay
- Add testing section to quick-reference.md
- Create docs/deploy-and-sync.md for production deploy and sync rules
- Promote 3 critical rules to CLAUDE.md (rules 11-13)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 16:17:00 +00:00
Jordan
2c079088ef Update CLAUDE.md 2026-03-24 11:39:37 +00:00
Jordan
77ab56fb7f Update settings.json 2026-03-24 11:38:41 +00:00
Jordan
6f1a7c1344 Update compile-on-save.sh 2026-03-24 11:18:23 +00:00
Jordan
509d2cd3ba Update settings.json 2026-03-24 11:11:40 +00:00
Jordan
c32776a8ff Mas cosass para autocompile 2026-03-24 10:51:41 +00:00
Jordan
db90dfaca2 Ajustes del scaffold 2026-03-23 21:34:03 +00:00
Jordan
53dde9eb92 Adding approval 2026-03-22 23:51:27 +00:00
Jordan
a63dac88d3 ajuste de hooks 2026-03-21 10:28:42 +00:00
Jordan
e43e9167ad Ajuste en claude.md 2026-03-21 10:21:07 +00:00
Jordan
34a3326bdd Adding testing hooks 2026-03-21 10:12:15 +00:00
Jordan
96dac31a85 Add complete CocoDB documentation from source code
- CocoDB::get with all options (uploads, relations, redis, groupBy, etc.)
- CocoDB::insertRecords and updateRecords with functions parameter
- CocoDB::deleteRecords
- Advanced where syntax (operators, OR, NOT, IS NULL, raw_key)
- Options reference tables for get/insert/update

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 18:58:42 +00:00
Jordan
963174b4c4 Add complete Acai development documentation
- CLAUDE.md: expanded with critical rules, hook syntax, DB conventions, web-base endpoint
- docs/modular-system.md: modules, general sections, global vars, multiv2
- docs/builder-fields.md: all field types, c-if/c-for/c-class, c-form, built-in components
- docs/twig-filters.md: get, hook, module, queryDB, imagec, translate, raw, etc.
- docs/hooks-and-api.md: PHP hooks, CmsApi CRUD, table schemas, field formats
- docs/css-js-conventions.md: Tailwind, BEM, CSS vars, Vue 3 integration, CmsApi JS

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 18:53:10 +00:00
Jordan
8f76455c96 Initial scaffold: CLAUDE.md, docs, and MCP config
- CLAUDE.md with project structure, DB access, and environment info
- docs/ with placeholder files for modular system, hooks/API, and builder fields
- .claude/settings.json with Playwright and Fetch MCP servers

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 18:37:15 +00:00