Commit Graph
7 Commits
Author SHA1 Message Date
chengma eea3fdd0a9 feat(product-suite): add prompt template settings 2026-07-16 16:18:11 +08:00
chengmaandClaude Fable 5 613950c9f3 docs: simplify T-637 prompt template structure
- drop {分类要求}, {差异化要求}, {分类序号}, {分类总数} placeholders
  and the 商品ID line from the default template
- rename {套图分类} to {套图名称}, add {补充描述} (populated for
  白底图/场景图/卖点图, empty for custom categories)
- remove the now-purposeless 预览第 X 张 stepper; v1 no longer does
  per-image differentiation for same-category multiples
- placeholders 17 -> 14, required 12 -> 9; {商品ID}/{主参考图序号}
  become optional insertable variables
- sync mockup SVG and README

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 15:48:34 +08:00
chengmaandClaude Fable 5 9de006808e docs: align T-637 prompt template with source assembly order
- default template line order now follows the researched source
  project's assembly structure (user-accepted): category goal,
  index/differentiation, platform context, inline rules, reference
  rule, item id, user needs, trailing ratio emphasis
- forced protection rules become 4 required read-only placeholders
  (size/long-image, banned content, price, sizing) instead of a
  code-appended tail block; consistency and no-fabrication fold
  into the reference-rule rendering
- placeholders 13 -> 17, required 8 -> 12; update mockup SVG and
  README accordingly

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 15:31:43 +08:00
chengma 86d1016e85 docs(tasks): finalize T-637 prompt template safeguards 2026-07-16 14:57:33 +08:00
chengmaandClaude Fable 5 0ab110d255 docs(tasks): close two remaining gaps in T-637 spec
- restore-default validates built-in template before atomic write;
  invalid bundled template errors out without touching user template
- {差异化要求} must occupy its own line, enforced by validation, so
  empty rendering can delete the whole line without inline residue

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 14:52:35 +08:00
chengmaandClaude Fable 5 2abde42862 docs(tasks): refine T-637 prompt dialog spec after review
- promote {套图分类} to required placeholder
- forbid literal braces in v1 instead of escape rules
- restore-default only refills editor; disk write goes through save
- pin preview index placeholder values
- degrade differentiation text and collapse blank lines when count is 1
- add pure-logic-first implementation order note

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 14:43:35 +08:00
chengma 51d5fb9370 docs(tasks): define product suite prompt settings 2026-07-16 14:37:37 +08:00