@smartsoft001-mobilems/claude-plugins 2.88.0 → 2.90.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +27 -2
  2. package/package.json +1 -1
  3. package/plugins/mobilems/.claude-plugin/README.md +21 -2
  4. package/plugins/mobilems/.claude-plugin/plugin.json +1 -1
  5. package/plugins/mobilems/skills/mobilems-articles/SKILL.md +52 -20
  6. package/plugins/mobilems/skills/mobilems-articles/references/module-and-routes.md +24 -0
  7. package/plugins/mobilems/skills/mobilems-articles/scripts/check-translations.js +90 -0
  8. package/plugins/mobilems/skills/mobilems-articles/scripts/verify-module.sh +53 -0
  9. package/plugins/mobilems/skills/mobilems-devops-config/SKILL.md +141 -0
  10. package/plugins/mobilems/skills/mobilems-devops-config/references/docker.md +58 -0
  11. package/plugins/mobilems/skills/mobilems-devops-config/references/env-and-lint.md +59 -0
  12. package/plugins/mobilems/skills/mobilems-devops-config/references/github-hygiene.md +54 -0
  13. package/plugins/mobilems/skills/mobilems-devops-config/references/tooling.md +105 -0
  14. package/plugins/mobilems/skills/mobilems-devops-config/references/workflows.md +410 -0
  15. package/plugins/mobilems/skills/mobilems-devops-config/scripts/detect-foundation.sh +47 -0
  16. package/plugins/mobilems/skills/mobilems-devops-config/scripts/verify-devops.sh +96 -0
  17. package/plugins/mobilems/skills/mobilems-events/SKILL.md +27 -1
  18. package/plugins/mobilems/skills/mobilems-events/references/module-and-routes.md +24 -0
  19. package/plugins/mobilems/skills/mobilems-events/scripts/verify-module.sh +43 -0
  20. package/plugins/mobilems/skills/mobilems-object-collections/SKILL.md +46 -14
  21. package/plugins/mobilems/skills/mobilems-object-collections/references/lib-contents.md +11 -0
  22. package/plugins/mobilems/skills/mobilems-object-collections/references/module-and-routes.md +26 -0
  23. package/plugins/mobilems/skills/mobilems-object-collections/scripts/check-translations.js +90 -0
  24. package/plugins/mobilems/skills/mobilems-object-collections/scripts/verify-module.sh +54 -0
  25. package/plugins/mobilems/skills/mobilems-objects/SKILL.md +42 -10
  26. package/plugins/mobilems/skills/mobilems-objects/references/module-and-routes.md +24 -0
  27. package/plugins/mobilems/skills/mobilems-objects/scripts/check-translations.js +90 -0
  28. package/plugins/mobilems/skills/mobilems-objects/scripts/verify-module.sh +53 -0
  29. package/plugins/mobilems/skills/mobilems-partners/SKILL.md +30 -2
  30. package/plugins/mobilems/skills/mobilems-partners/references/module-and-routes.md +24 -0
  31. package/plugins/mobilems/skills/mobilems-partners/scripts/check-translations.js +90 -0
  32. package/plugins/mobilems/skills/mobilems-partners/scripts/verify-module.sh +53 -0
  33. package/plugins/mobilems/skills/mobilems-project-init/SKILL.md +68 -8
  34. package/plugins/mobilems/skills/mobilems-project-init/references/branding-reset.md +112 -0
  35. package/plugins/mobilems/skills/mobilems-project-init/references/claude-config.md +7 -0
  36. package/plugins/mobilems/skills/mobilems-project-init/references/config-providers.md +1 -1
  37. package/plugins/mobilems/skills/mobilems-project-init/references/qa-hardening.md +30 -30
  38. package/plugins/mobilems/skills/mobilems-project-init/references/shared-lib.md +42 -5
  39. package/plugins/mobilems/skills/mobilems-project-init/references/tailwind-styles.md +33 -23
  40. package/plugins/mobilems/skills/mobilems-project-init/scripts/verify-init.sh +62 -9
  41. package/plugins/mobilems/skills/mobilems-thematic-publications/SKILL.md +25 -1
  42. package/plugins/mobilems/skills/mobilems-thematic-publications/references/lib-contents.md +11 -0
  43. package/plugins/mobilems/skills/mobilems-thematic-publications/references/module-and-routes.md +26 -0
  44. package/plugins/mobilems/skills/mobilems-thematic-publications/scripts/verify-module.sh +43 -0
@@ -51,6 +51,49 @@ grep -q "@smartsoft001-mobilems/articles-domain" package.json && pass "articles-
51
51
  grep -q "@smartsoft001-mobilems/articles-shell-angular" package.json && pass "articles-shell-angular dep" || bad "articles-shell-angular dep missing"
52
52
  grep -q "@smartsoft001-mobilems/articles-shell-dtos" package.json && pass "articles-shell-dtos dep" || bad "articles-shell-dtos dep missing"
53
53
 
54
+ echo "== Framework first (packages/shared/angular/README.md) =="
55
+ LIBDIR="libs/museum-thematic-paths/shell/angular/src/lib"
56
+ # 1. masonry belongs to the framework's MasonryGridComponent — no module-level instances
57
+ MAS="$(grep -rlnE "new Masonry\(|MasonryInstance" libs apps/web/src 2>/dev/null || true)"
58
+ if [ -n "$MAS" ]; then
59
+ bad "hand-rolled masonry — render grids with <smart-mobilems-masonry-grid> (MasonryGridComponent):"
60
+ printf ' %s\n' $MAS >&2
61
+ else
62
+ pass "no hand-rolled masonry instances"
63
+ fi
64
+ # 2. the Masonry provider exists ONLY to feed MasonryGridComponent. Providing it without ever
65
+ # rendering the component means the grid was hand-rolled some other way (CSS columns, flex, …),
66
+ # which the `new Masonry(` grep above cannot see.
67
+ if grep -rq "provide: Masonry" "$LIBDIR" 2>/dev/null; then
68
+ if grep -rq "smart-mobilems-masonry-grid" "$LIBDIR" 2>/dev/null; then
69
+ pass "grids render via <smart-mobilems-masonry-grid>"
70
+ else
71
+ bad "module provides Masonry but never renders <smart-mobilems-masonry-grid> — hand-rolled grid"
72
+ fi
73
+ fi
74
+ # 3. a list page must render through the framework grid
75
+ LISTP="$(find "$LIBDIR/pages" -maxdepth 1 -type d -name 'list*' 2>/dev/null || true)"
76
+ if [ -n "$LISTP" ]; then
77
+ if grep -rq "smart-mobilems-masonry-grid" $LISTP 2>/dev/null; then
78
+ pass "list page renders via <smart-mobilems-masonry-grid>"
79
+ else
80
+ bad "list page does not render <smart-mobilems-masonry-grid> (README.md#masonrygridcomponent)"
81
+ fi
82
+ fi
83
+ # 4. filters must EXTEND the framework base class — `context.` alone proves nothing, and a
84
+ # differently-named dir must not silently skip the check
85
+ FILT="$(find "$LIBDIR/components" -maxdepth 1 -type d \( -name 'filters*' -o -name 'search*' -o -name 'facet*' \) 2>/dev/null || true)"
86
+ if [ -n "$FILT" ]; then
87
+ if grep -rqE "FiltersBaseComponent" $FILT 2>/dev/null; then
88
+ pass "filters use the framework filter API"
89
+ else
90
+ bad "filters do not extend FiltersBaseComponent — no ad-hoc query building:"
91
+ printf ' %s\n' $FILT >&2
92
+ fi
93
+ else
94
+ pass "no filters component in this module"
95
+ fi
96
+
54
97
  echo
55
98
  if [ "$fail" = 0 ]; then echo "VERIFY: all checks passed."; else echo "VERIFY: FAILED — fix the items above and re-run." >&2; fi
56
99
  exit "$fail"