Files
ECShopX_admin-frontend/.cursor/commands/openspec-apply.md
zhangjing1 8d82817dd3 feat(i18n): sidebar menu locale, invoice keys, and related fixes
Sidebar/header: add utils/menuI18n.js (getMenuDisplayName) so menu labels use route meta.title via $t when available; update layout-sidebar and layout DOM matching.

Invoice: constants use i18nKey; list.vue computed invoiceStatusTabItems/invoiceSourceOptions; listSchema options; pointmall orderList uses $t(i18nKey) and invoiceStatusText.

Other: saleCategory PLATFORM-only switches; order detail show section for suppliers; store-shop, goods, decorate, wxapp, merchant, mallList, sp-picker, sellers route, datacube order, params; locale JSON updates.

Repo: stop ignoring .cursor (track skills/commit-summary/agents); minor package.json/lock and i18n lang index.
Made-with: Cursor
2026-04-03 14:46:06 +08:00

1.3 KiB

name, id, category, description
name id category description
/openspec-apply openspec-apply OpenSpec Implement an approved OpenSpec change and keep tasks in sync.

Guardrails

  • Favor straightforward, minimal implementations first and add complexity only when it is requested or clearly required.
  • Keep changes tightly scoped to the requested outcome.
  • Refer to openspec/AGENTS.md (located inside the openspec/ directory—run ls openspec or openspec update if you don't see it) if you need additional OpenSpec conventions or clarifications.

Steps Track these steps as TODOs and complete them one by one.

  1. Read changes/<id>/proposal.md, design.md (if present), and tasks.md to confirm scope and acceptance criteria.
  2. Work through tasks sequentially, keeping edits minimal and focused on the requested change.
  3. Confirm completion before updating statuses—make sure every item in tasks.md is finished.
  4. Update the checklist after all work is done so each task is marked - [x] and reflects reality.
  5. Reference openspec list or openspec show <item> when additional context is required.

Reference

  • Use openspec show <id> --json --deltas-only if you need additional context from the proposal while implementing.