docs(cli,agents): no em dashes in user-facing copy; fix stale theme-set restart note

Merged
KI
3mo ago
+26-24

Summary

  • Remove every em dash from the superset settings user-facing copy: the CLI reference settings section, the superset-settings skill, and the CLI's theme fallback message.
  • Add Agent Rule 12 to AGENTS.md: no em dashes in user-facing copy (docs, CLI output, marketing, social, captions); code comments exempt.
  • Fix a stale claim on the same lines: the theme set docs still said "restart the desktop app to apply", which #6418's live reload made wrong. It now describes live apply with the old-app fallback in parentheses.

Testing

  • bun run lint
  • bun test (packages/cli settings suites, 49 tests)
  • Docs-only otherwise; reviewed rendered text.

Summary by cubic

Removes em dashes from user-facing copy and documents a “no em dash” rule. Updates superset settings theme set docs to describe live theme application with a clear restart fallback; runtime behavior is unchanged.

  • apps/docs and .agents/skills/superset-settings/SKILL.md: copy edits only; phrasing now uses commas/semicolons/colons and explains that a running app restyles live, with older versions requiring a quit → set → relaunch fallback.
  • AGENTS.md: adds Rule 12 (no em dashes in user-facing copy); code comments are exempt.
  • packages/cli/src/commands/settings/notes.ts: punctuation-only tweak to the theme restart fallback string; message intent and logic are unchanged.

Summary by CodeRabbit

  • Documentation
    • Clarified settings documentation, including theme behavior, live restyling, next-launch effects, and restart requirements.
    • Improved wording, punctuation, formatting, and readability across settings guidance.
  • Chores
    • Added a writing guideline for user-facing copy to avoid em dashes.