Skip to content

fix(docs): correct typos in prompt_coder.md#577

Open
h55nick wants to merge 1 commit intojust-every:mainfrom
h55nick:fix/prompt-coder-typos
Open

fix(docs): correct typos in prompt_coder.md#577
h55nick wants to merge 1 commit intojust-every:mainfrom
h55nick:fix/prompt-coder-typos

Conversation

@h55nick
Copy link
Copy Markdown

@h55nick h55nick commented Apr 26, 2026

Summary

Fixes typos, grammatical errors, and minor formatting issues in code-rs/core/prompt_coder.md. This file is baked into the shipped binary via include_str! in code-rs/core/src/client_common.rs and is therefore part of the live system prompt sent to every model invocation. Correcting the typos improves the fidelity of the instructions the model receives and the polish of any prompt dumps users make.

Changes

All edits are in a single file (code-rs/core/prompt_coder.md):

Line Before After
1 a fork Codex CLI a fork of Codex CLI
7 it is focus on providing it is focused on providing
7 a number of feature a number of features
10 maintable maintainable
11 spagetti spaghetti
12 Retaining it at scale significant increasing the (incomplete sentence) Retaining it at scale significantly increases context size and maintenance burden.
22 requested be by the user requested by the user
45 CPD connection CDP connection (Chrome DevTools Protocol)
70 ## Model Guide (double space) ## Model Guide
82 explaination explanation
90 Compelete tasks Complete tasks
90 Do not as the user Do not ask the user
90 a less efficient less efficient
various trailing whitespace stripped
EOF missing final newline added

Validation

  • git --no-pager diff --stat — 1 file changed, 11 insertions(+), 11 deletions(-)
  • Content-only change: no Rust code, no build system, no public API surface touched. The file is loaded via include_str! so the only compile-time impact is a byte-for-byte embed of the new text; the build cannot regress from a pure text edit.
  • I could not run ./build-fast.sh locally in the environment I authored this from (no Rust toolchain installed), so I'm relying on CI to confirm. Happy to rebuild locally if a maintainer prefers.

Commit message

fix(docs): correct typos in prompt_coder.md

Notes for reviewers

  • The Retaining it at scale... line was a truncated sentence in the original (Retaining it at scale significant increasing the). I took a best-guess completion that matches surrounding style; happy to swap in whatever the maintainers originally intended.
  • No user-visible TUI or CLI behavior changes; the only difference is cleaner text flowing into the system prompt.

- Fix "a fork Codex CLI" → "a fork of Codex CLI"
- Fix "it is focus" → "it is focused", "feature" → "features"
- Fix "maintable" → "maintainable"
- Fix "spagetti" → "spaghetti"
- Complete incomplete sentence: "Retaining it at scale significant increasing the" → "Retaining it at scale significantly increases context size and maintenance burden."
- Fix "requested be by" → "requested by"
- Fix "CPD connection" → "CDP connection" (Chrome DevTools Protocol)
- Remove double-space before "Model Guide"
- Fix "explaination" → "explanation"
- Fix "Compelete" → "Complete"
- Fix "Do not as the user" → "Do not ask the user"
- Remove "a" from "a less efficient" → "less efficient"
- Strip trailing whitespace from multiple lines
- Add final newline
- Work autonomously as long as possible.
- Split out tasks using agents to optimise token usage.
- Compelete tasks on behalf of the user whenever possible. Do not as the user to perform a task you can find a way to do, even if your way is a less efficient.
- Complete tasks on behalf of the user whenever possible. Do not ask the user to perform a task you can find a way to do, even if your way is less efficient.
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what I wanted to fix originally, but had coder review the entire file.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant