Skip to content

chore: mirror claude configuration to codex - #116

Merged
keito4 merged 1 commit into
mainfrom
chore/codex-config-mirror
Sep 16, 2025
Merged

chore: mirror claude configuration to codex#116
keito4 merged 1 commit into
mainfrom
chore/codex-config-mirror

Conversation

@keito4

@keito4 keito4 commented Sep 16, 2025

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • New Features

    • Introduced Codex CLI configuration with desktop notifications.
    • Preconfigured MCP servers (e.g., Playwright and search) for streamlined tooling.
    • Added environment placeholders to keep secrets out of the repository.
  • Documentation

    • Added a catalog of automated commands with triggers, integrations, and best practices.
    • Added Git sync workflow scripts and guidance.
    • Added a setup guide for Husky, lint-staged, and commitlint with CI examples.
    • Updated README to document the new .codex directory and prompt migration.

@coderabbitai

coderabbitai Bot commented Sep 16, 2025

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

Walkthrough

Adds a new Codex configuration at .codex/config.toml defining MCP servers, environment variables, and a desktop notify command. Introduces three documentation files under .codex/prompts/ (catalog, git-sync scripts, Husky setup). Updates root README.md to document the new .codex/ directory.

Changes

Cohort / File(s) Summary of Changes
Codex config
\.codex/config.toml
New Codex config: adds notify command (macOS afplay), defines MCP servers (playwright, o3) via npx, and sets env placeholders (OPENAI_API_KEY, SEARCH_CONTEXT_SIZE, REASONING_EFFORT) with guidance not to commit secrets.
Codex prompts docs
.codex/prompts/README.md, .codex/prompts/git-sync.md, .codex/prompts/setup-husky.md
New docs: catalog of automated commands and triggers; Git sync helper scripts and flows; setup guide for Husky/lint-staged/commitlint with required scripts, config examples, CI snippet, and troubleshooting.
Root docs
README.md
Documents the new .codex/ directory, its prompts, and config.toml mapping MCP servers and notifications.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Dev as Developer
  participant Codex as Codex CLI
  participant Cfg as .codex/config.toml
  participant MCP1 as MCP: Playwright
  participant MCP2 as MCP: o3-search
  participant OS as OS Notify

  Dev->>Codex: Run Codex with repo
  Codex->>Cfg: Load config
  Note right of Cfg: env placeholders<br/>MCP server defs<br/>notify command
  Codex->>MCP1: Launch via npx @playwright/mcp@latest
  Codex->>MCP2: Launch via npx o3-search-mcp
  Codex-->>Dev: Commands and prompts available
  Codex->>OS: Execute notify (afplay Glass.aiff)
  Note over Dev,Codex: Docs in .codex/prompts guide workflows<br/>(git-sync, Husky setup, command catalog)
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Poem

A thump of paws, a hop of glee,
New Codex paths for all to see.
MCPs awake with gentle chime, 🔔
Docs in rows, commit in time.
I twitch my whiskers, nod, and say—
Ship it quick; we’re synced today! 🐇✨

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/codex-config-mirror

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 01b625d and eaf8598.

📒 Files selected for processing (5)
  • .codex/config.toml (1 hunks)
  • .codex/prompts/README.md (1 hunks)
  • .codex/prompts/git-sync.md (1 hunks)
  • .codex/prompts/setup-husky.md (1 hunks)
  • README.md (1 hunks)

Tip

👮 Agentic pre-merge checks are now available in preview!

Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.

  • Built-in checks – Quickly apply ready-made checks to enforce title conventions, require pull request descriptions that follow templates, validate linked issues for compliance, and more.
  • Custom agentic checks – Define your own rules using CodeRabbit’s advanced agentic capabilities to enforce organization-specific policies and workflows. For example, you can instruct CodeRabbit’s agent to verify that API documentation is updated whenever API schema files are modified in a PR. Note: Upto 5 custom checks are currently allowed during the preview period. Pricing for this feature will be announced in a few weeks.

Please see the documentation for more information.

Example:

reviews:
  pre_merge_checks:
    custom_checks:
      - name: "Undocumented Breaking Changes"
        mode: "warning"
        instructions: |
          Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).

Please share your feedback with us on this Discord post.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@keito4
keito4 merged commit bc991e0 into main Sep 16, 2025
2 of 3 checks passed
@github-actions

github-actions Bot commented Nov 5, 2025

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.1.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released リリース済み

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant