From 43cfaa0411ae409ec89bc70a8be7674ed8c557ee Mon Sep 17 00:00:00 2001 From: GreenEclipse Date: Wed, 14 Oct 2026 19:23:16 +0200 Subject: [PATCH] upddate --- README.md | 40 ++++ .../seed-category-prompt-translations/main.go | 38 ++-- apps/api/internal/aiprompts/a1_dedupe.go | 88 ++++++++ apps/api/internal/aiprompts/a1_dedupe_test.go | 53 +++-- .../aiprompts/default_category_formulas.go | 38 ++++ .../default_category_formulas_test.go | 9 +- .../aiprompts/defaults/prompt-rules-25.json | 150 +++++++------- .../internal/aiprompts/description_formula.go | 40 +++- .../aiprompts/offline_translations.go | 3 +- .../aiprompts/offline_translations_test.go | 7 +- .../internal/aiprompts/seo_locales_test.go | 66 ++++++ .../internal/processing/a1_enhance_prompt.go | 18 +- .../api/internal/processing/formula_prompt.go | 19 +- .../processing/formula_prompt_test.go | 24 +++ apps/api/internal/processing/steps.go | 85 ++++---- .../web/src/lib/categories/prompt-examples.ts | 195 ++++++++---------- .../src/lib/category-prompt-examples.test.ts | 43 ++-- docs/seo-product-formulas-v4.md | 66 ++++++ 18 files changed, 683 insertions(+), 299 deletions(-) create mode 100644 apps/api/internal/aiprompts/seo_locales_test.go create mode 100644 docs/seo-product-formulas-v4.md diff --git a/README.md b/README.md index 6b20d46..7bb9ba7 100644 --- a/README.md +++ b/README.md @@ -230,3 +230,43 @@ rewrites repeated benefit instructions in existing A1 Slovenija prompts and structured descriptions without dropping sections. Optional standalone A1 command: `npm run cleanup:a1:prompts -- -apply`. Future A1 seed/WordPress imports now normalize duplicates on ingest. See `docs/category-prompt-translations.md`. + +## SEO product formulas v4 (25 content languages) + +All supported languages now use the same **semantic product-page HTML skeleton** with +localized instructions in `{...}`: one verified introductory `

`, an optional +feature `

` and `

` when product facts justify them, then an optional technical +specification `

` and `