Files
3dealer/CLAUDE.md
lexxandClaude Opus 5.5 f50ad504ff Chore: enable the boboko plugin and slim CLAUDE.md to 3dealer's own facts
The general front-end, localization and performance rules now live in
the boboko plugin's skills (re-skills marketplace). CLAUDE.md keeps the
Greek register, the design tokens, 3dealer specifics, and a map of
which skill covers what.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 18:58:40 +02:00

2.8 KiB
Raw Permalink Blame History

3dealer

The storefront for 3dealer.gr: a boboko shop (Laravel + Lunar, on top of the shared boboko/core package). It's also the reference shop: boboko's standard storefront is being worked out here.

Shared rules: the boboko plugin

The rules for every boboko shop are in the boboko Claude Code plugin (re-skills marketplace, enabled in .claude/settings.json). Its skills load when the work calls for them:

Skill For
boboko-platform How core, starter and the shops fit together; where new code goes; approved third-party scripts
cacheable-pages Catalogue pages identical for every visitor; islands; JSON writes. Read before touching catalogue pages, the header, the layout or any form
storefront-frontend Tailwind, tokens, components, Popover, Stimulus, ARIA, Greek capitals, forms
storefront-performance Core Web Vitals: bundling, fonts, LCP images, CLS, Speculation Rules, bfcache
locale-routes {locale} routes, $locale first in controllers, same slugs, hreflang
storefront-translations storefront.* labels as Language Lines; getting keys into core
core-local-dev, releasing-core Working on core alongside this shop; releasing and bin/deploy

If something below conflicts with a skill, this file wins for 3dealer. Say so, so the skill or this file gets fixed.

Work in progress: CACHING-TRANSITION.md has the current transition's decisions, task status and rules. Known problems: README.md, "Known issues".

Greek register

  • Greek register: singular. Use the informal second person (εσύ/σου/σε), e.g. "Η κριτική σου", "Το όνομά σου", "Το email σου".

All UI text written for this project follows it, including labels added in the admin.

Design tokens

In @theme {} in resources/css/app.css:

  • --font-sans: Manrope (body text).
  • --font-display: Manrope (headings, nav, buttons). Kept separate from --font-sans in case they diverge later.
  • --color-brand / --color-brand-light: the brand greens.
  • --text-h1 … --text-h4: the heading sizes.

Reuse these and the colours already in use (neutral-200, black) before adding anything. The Manrope weights used above the fold are preloaded in layouts/app.blade.php; a new heavy weight in a hero needs its own preload there.

3dealer specifics

  • Product custom fields (text answers and photo uploads on the product page): how they work, limits and clean-up are in README.md. Products with custom fields can't be quick-added from cards.
  • hCaptcha protects the contact and login forms only.
  • Stoic provides the FAQ, legal pages and other client-edited copy (App\Services\Stoic, App\Models\Stoic*).