Skip to content

docs(readme): add Prerequisites subsection to Development#2296

Open
ktwu01 wants to merge 1 commit into
MoonshotAI:mainfrom
ktwu01:docs/readme-dev-prereqs-2274
Open

docs(readme): add Prerequisites subsection to Development#2296
ktwu01 wants to merge 1 commit into
MoonshotAI:mainfrom
ktwu01:docs/readme-dev-prereqs-2274

Conversation

@ktwu01
Copy link
Copy Markdown

@ktwu01 ktwu01 commented May 15, 2026

Summary

The ## Development section opens with make prepare, but neither the README nor CONTRIBUTING.md lists the tools a contributor needs installed first. New contributors hit one of:

  • make: command not found (Windows without WSL / build-tools)
  • uv: command not found (no link in the Development section)
  • make build-web failing because Node.js / npm isn't installed
  • on Windows, the agent's Shell tool refuses to start because Git Bash isn't installed (src/kimi_cli/utils/environment.py's GitBashNotFoundError)
  • confusion over the .python-version pin vs. pyproject.toml's >=3.12

This PR adds a ### Prerequisites subsection at the top of ## Development that lists each tool with a one-line install pointer. The existing make prepare line moves under a ### Setup heading directly below.

I deliberately did not hardcode the Python version into the README — the wording points to .python-version and pyproject.toml so the prerequisite list won't rot when the pin moves.

Test plan

  • make format is a no-op on a docs-only change.
  • Rendered in GitHub markdown preview locally — anchor links and bullet hierarchy render correctly.
  • Verified .python-version says 3.14 and pyproject.toml says requires-python = ">=3.12" — the README wording is consistent with both.
  • Verified src/kimi_cli/utils/environment.py does raise GitBashNotFoundError on Windows — the Git Bash bullet reflects real behavior, not folklore.

Fixes #2274


Open in Devin Review

The Development section opens with `make prepare` but never lists the
tools a contributor needs installed first. New contributors hit
`make: command not found`, `uv: command not found`, missing Node.js
for `make build-web`, or — on Windows — a Shell tool that refuses to
start because Git Bash isn't installed (GitBashNotFoundError).

Make the prerequisites explicit so contributors don't have to read
the Makefile, pyproject.toml, .python-version, and
src/kimi_cli/utils/environment.py to figure them out.

Fixes MoonshotAI#2274
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

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.

[Docs] README "Development" section is missing a prerequisite list

1 participant