Add customization examples library

Merged
LA
6mo ago
+528-11

Summary

  • add a cmux-customization examples reference with reusable worktree, dev, SSH, PR review, agent button, and CI watch patterns
  • document examples-library coverage on the Skills docs page
  • update internal customization planning notes and OpenAI skill metadata

Testing

  • jq empty web/messages/en.json web/messages/ja.json
  • parsed 7 JSON examples from skills/cmux-customization/references/examples.md
  • npx -y skills@latest add . --skill cmux-customization --list
  • git diff --check
  • bun test tests/docs-search-utils.test.ts
  • SKIP_ENV_VALIDATION=1 bun run build

[!NOTE]
Low Risk
Low risk: changes are limited to documentation, skill metadata, and localized strings/UI docs rendering with no runtime cmux behavior changes.

Overview
Adds an examples library to cmux-customization, including a new references/examples.md file with copy/pasteable presets (worktree agents, full-stack dev, SSH devbox, PR review, docs workspace, CI watch, and quick agent buttons) plus a small validation checklist.

Updates the cmux-customization skill docs and OpenAI metadata to point agents at the examples library, clarify project-local vs global precedence, and add a simple backup step before editing configs.

Surfaces the examples library in the web Skills docs page via a new table and prompt snippets, with new en/ja translation strings, and expands internal planning notes around presets and promotion guidance.

Reviewed by Cursor Bugbot for commit e3bab4335264f407a4015f47be89f78f87247020. Bugbot is set up for automated code reviews on this repo. Configure here.


Summary by cubic

Added a reusable customization examples library for cmux and surfaced it in the Skills docs and the cmux-customization skill. This helps users quickly apply common workflows like worktrees, dev layouts, PR review, SSH, agent buttons, and CI.

  • New Features
    • Added skills/cmux-customization/references/examples.md with seven JSON presets (worktree agents, full‑stack dev, SSH devbox, review PR, docs workspace, quick agent buttons, CI watch) and a validation checklist.
    • Updated skills/cmux-customization/SKILL.md with examples-library guidance, explicit config precedence (project overrides global), timestamped backup/rollback steps, and an Examples Library section.
    • Updated skills/cmux-customization/agents/openai.yaml to default to picking an examples preset and validating cmux.json.
    • Added a “Customization examples library” table, info callout, and example prompts to web/app/[locale]/docs/skills/page.tsx, with en/ja strings.
    • Expanded docs/internal/skills-customization-ideas.md with examples scope, config lifecycle, team/agent presets, ui.newWorkspace.contextMenu (and alias) guidance, and a refined Promotion Rule.

Summary by CodeRabbit

  • Documentation

    • Expanded customization guidance (precedence, import/export/reset, backup/rollback, diff previews, validation checklist)
    • Added guidance for shareable team presets and agent presets, plus an Examples Library describing which workflows belong there
  • New Features

    • Added a customization examples library in the Skills docs with ready-to-use presets and prompt examples, localized in English and Japanese and surfaced on the docs page

Review Change Stack