Repository navigation
docs(client-configuration): document Cursor, Windsurf, and Command Code targets - #7750
ayobamiseun wants to merge 1 commit into
Conversation
…de targets The client configuration reference had no entries for three clients that the installation guide lists as supported and sends readers here for. Add a section for each naming the configuration file setup writes, the mcpServers.rea entry key, the entry fields, and the shared skill root, as defined in src/application/SupportedClients.ts and src/application/ClientConfigurationDocument.ts.
[Low impact] The PR only expands setup guidance for three supported clients. The PR appears safe to merge, with a non-blocking wording fix for the skill-directory claims. Findings
Fix with agent prompt### Issue 1
docs/client-configuration.md:359-360
The Cursor and Windsurf sections say those clients have no client-specific skill directory. REA's source only establishes that setup has no client-specific destination configured. Readers may mistake REA's install choice for a restriction in the clients themselves.
Scope both statements to REA-for example, “REA setup uses the shared skill directory for Cursor.”
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.SummaryAdds configuration reference sections for Cursor, Windsurf, and Command Code.
Reviews (1) · Last reviewed commit: "docs(client-configuration): document Cur..." · Reviewed by Greptile |
| file. Cursor has no client-specific skill directory, so setup installs the | ||
| bundled skill under the shared `~/.agents/skills`. |
There was a problem hiding this comment.
Skill claims overstate client limits
The Cursor and Windsurf sections say those clients have no client-specific skill directory. REA's source only establishes that setup has no client-specific destination configured. Readers may mistake REA's install choice for a restriction in the clients themselves.
Scope both statements to REA—for example, “REA setup uses the shared skill directory for Cursor.”
Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/client-configuration.md
Line: 359-360
Comment:
**Skill claims overstate client limits**
The Cursor and Windsurf sections say those clients have no client-specific skill directory. REA's source only establishes that setup has no client-specific destination configured. Readers may mistake REA's install choice for a restriction in the clients themselves.
Scope both statements to REA—for example, “REA setup uses the shared skill directory for Cursor.”
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: af56004ba7
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| For Cursor, setup writes `mcpServers.rea` into the user-level `~/.cursor/mcp.json` | ||
| (`%USERPROFILE%\.cursor\mcp.json` on Windows). Entries carry `command`, `args`, | ||
| and `env`; stdio is the default transport. Setup manages only this user-scope | ||
| file. Cursor has no client-specific skill directory, so setup installs the |
There was a problem hiding this comment.
Describe REA's fallback without denying client skill roots
SUPPORTED_CLIENT_DEFINITIONS omitting skillPath only makes clientSkillDirectories() fall back to ~/.agents/skills; it does not establish the product-level observation that Cursor has no client-specific directory. The Windsurf paragraph repeats the same inference, so users choosing a client-local skill destination can be steered away from a valid product root on an unsupported premise. State that REA uses its shared destination, or substantiate and label the client capability from client-owned verification, rather than presenting this source-derived absence as observed behavior.
AGENTS.md reference: AGENTS.md:L5-L5
Useful? React with 👍 / 👎.
|
Hey @ayobamiseun, thanks for this! The docs update looks good. What's left: there are 2 unresolved review threads from Codex and Greptile (2 still on current code), e.g. "Describe REA's fallback without denying client skill roots" and "Skill claims overstate client limits". Greptile is at 4/5 on the current head, mainly over "Skill claims overstate client limits", so addressing that thread should bump it. Once that's done I'm happy to merge it. |
…de targets The client configuration reference had no entries for three clients that the installation guide lists as supported and sends readers here for. Add a section for each naming the configuration file setup writes, the mcpServers.rea entry key, the entry fields, and the shared skill root, as defined in src/application/SupportedClients.ts and src/application/ClientConfigurationDocument.ts. Fixes #7650 Supersedes #7750 Co-Authored-By: gensokyo-dev <[email protected]>
…de targets The client configuration reference had no entries for three clients that the installation guide lists as supported and sends readers here for. Add a section for each naming the configuration file setup writes, the mcpServers.rea entry key, the entry fields, and the shared skill root, as defined in src/application/SupportedClients.ts and src/application/ClientConfigurationDocument.ts. Fixes #7650 Supersedes #7750 Co-Authored-By: gensokyo-dev <[email protected]>
Summary
Fixes #7650
docs/client-configuration.mdhad no entry for Cursor, Windsurf, or Command Code, althoughdocs/installation.mdlists all three as supported--clientvalues and sends readers to that reference for configuration paths. This adds one section per client naming the file setup writes, themcpServers.reaentry key, the entry fields, and the skill destination, so the reference's manual launcher-repair guidance can be followed for these clients.Problem and expected behavior
grep -n -i -E 'cursor|windsurf|commandcode' docs/client-configuration.mdreturned nothing onmain, whiledocs/installation.mdlines 626-633 list the three clients and line 654-655 point to the reference for "configuration paths". A reader could only discover the target file viarea setup --client <id> --dry-run. Expected: the reference identifies the configuration file and REA registration key for each supported client it is linked for.Change and scope
Documentation only. Three new sections (
## Cursor,## Windsurf,## Command Code) placed after## Antigravityindocs/client-configuration.md, following the existing per-client wording ("For X, setup writesmcpServers.reainto the user-level ..."). Every statement is taken from the owning source:src/application/SupportedClients.ts(SUPPORTED_CLIENT_DEFINITIONS):cursor->~/.cursor/mcp.json,windsurf->~/.codeium/windsurf/mcp_config.json,commandcode->~/.commandcode/mcp.json; none defines a client skill path, so the shared~/.agents/skillsroot is used.src/application/ClientConfigurationDocument.ts:clientConfigurationServersKeyreturnsmcpServersfor thejsonandcommandcodeformats; thecommandcodeentry carriestransport: "stdio",enabled: true,command,args, andenv.src/application/ClientRegistration.ts: acommandcoderegistration withouttransport: "stdio"is rejected as "Expected an stdio registration".src/config/homeDirectory.ts: home resolves fromHOME(POSIX) orUSERPROFILE(Windows), hence the%USERPROFILE%forms.Not included: Antigravity (covered by open #5145), project-scope files, and the skill-list omissions tracked in #7640.
Maintainer scope decision: not applicable (documentation within existing boundaries).
Contract and boundary impact
SupportedClients.tsandClientConfigurationDocument.ts.node scripts/check-doc-facts.mjspasses.Expected effects (check known effects; use documentation-only on its own).
Evidence and regression coverage
npx/npm/bunfixtures, disposableHOME/XDG dirs). Output:envfield is written only when setup forwards explicit settings (source-derived fromClientConfigurationDocument.ts).homeDirectoryFromEnvironment, not executed on Windows.Validation performed
grep -n -i -E 'cursor|windsurf|commandcode' docs/client-configuration.md— now matches the three new sections (previously exit 1).python3 -I <issue script>(setup--dry-runand--skill=false --yesper client, isolated home) — output above; all threeplannedthenready.node scripts/check-doc-facts.mjs— exit 0.npx oxfmt --check docs/client-configuration.md— formatted.npm run docs:check— passed (includestests/conformance/readmeConsistency.test.ts, 9 passed).npm run check:fast— passed via the pre-push hook.Compatibility, safety, and release
Author readiness
Human owner: @ayobamiseun
Before merge
type(scope): outcome.🤖 Generated with Claude Code