Skip to content

docs: rebuild the README around setup, tools and results - #38

Merged
shenxianpeng merged 1 commit into
mainfrom
docs/readme-landing-page
Sep 27, 2026
Merged

shenxianpeng merged 1 commit into
mainfrom
docs/readme-landing-page

Conversation

@shenxianpeng

@shenxianpeng shenxianpeng commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

This is the MCP part of the README pass, following commit-check/commit-check#587 (core) and commit-check/commit-check-action#293 (Action). The README drops from 289 lines to 197.

The old README had some repetition. The tools were listed twice, once under Features and again under Tool Usage. repo_path, config_path and config were explained twice. The Published On table repeated what the badges already said.

What changed

  • Header. It now matches the core and Action READMEs: the v4 banner in light and dark, the site's line, five badges in the brand colors, and links to the docs, the CLI, the Action and the App.
  • Quick start. It leads with claude mcp add. The client table and the Continue entry are unchanged.
  • Tools. There is now one table with three columns: tool, what it checks, arguments. The shared arguments and the read-only/fetch annotations are stated once underneath it. The example payloads are folded into <details>.
  • Results. The result shape stays. The prose around it is cut to three points: what fail/skip/warn mean, the fix-and-revalidate loop, and tool errors.
  • Development. Installation, Run Manually and the dev install are merged into this one section.
  • Glama link. glama.ai/mcp/servers/github/commit-check/commit-check-mcp returns 404. The link now goes to glama.ai/mcp/servers/commit-check/commit-check-mcp, which is the listing's current address.

The mcp-name line and its comment are kept exactly as they were, because the MCP Registry reads them to verify PyPI ownership.

Checks

  • PyPI's renderer (readme_renderer[md]) renders the file, including the mcp-name line.
  • codespell passes.
  • Every new badge and link URL returns 200.
  • Tool arguments and defaults were checked against server.py: include_* default to true except include_push, and the author falls back to git config.

Summary by CodeRabbit

  • Documentation
    • Reorganized the README with a concise product overview, quick-start instructions, client configuration guidance, and a tools reference.
    • Added tables summarizing tool inputs, shared options, and which tools may run git fetch.
    • Updated examples to cover repository validation, push safety, and merged-rule inspection.
    • Condensed guidance on results and tool errors, and added development setup and test commands.

The tools were listed twice (Features, Tool Usage), repo_path,
config_path and config were explained twice, and the Published On table
repeated what the badges already said.

- The header matches the core and Action READMEs: the v4 banner (light
  and dark), the site's line, five badges in the brand colors and links
  to the docs, the CLI, the Action and the App.
- Quick start leads with `claude mcp add`; the client table and the
  Continue entry are unchanged.
- The tools are one table, with the shared arguments and the
  read-only/fetch annotations stated once underneath; the example
  payloads fold into <details>.
- Results keep the shape and cut the prose to three points.
- Installation, Run Manually and the dev install become Development.
- The Glama link was a 404; it now points at the listing's current
  address.

The mcp-name line the MCP Registry reads for PyPI ownership is kept as
it was.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Sep 27, 2026
@coderabbitai

coderabbitai Bot commented Sep 27, 2026

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 8358e127-6fe2-4ce9-b9b3-299cde56db2a

📥 Commits

Reviewing files that changed from the base of the PR and between 7c7da35 and 259b668.

📒 Files selected for processing (1)
  • README.md
 __________________________________________________________________________________
< This is the beginning of a beautiful friendship...between you and bug-free code. >
 ----------------------------------------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.20%. Comparing base (7c7da35) to head (259b668).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #38   +/-   ##
=======================================
  Coverage   98.20%   98.20%           
=======================================
  Files           2        2           
  Lines         279      279           
=======================================
  Hits          274      274           
  Misses          5        5           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@shenxianpeng
shenxianpeng merged commit ed82c08 into main Sep 27, 2026
8 of 9 checks passed
@shenxianpeng
shenxianpeng deleted the docs/readme-landing-page branch September 27, 2026 16:11
shenxianpeng added a commit to commit-check/commit-check.com that referenced this pull request Sep 27, 2026
The *Add it to the agent* tabs in `docs/guides/mcp.md` had drifted from
how the clients actually work, and from the commit-check-mcp README.

## What was wrong

| Tab | Before | Now |
|---|---|---|
| Claude Code | JSON in `.claude/settings.local.json` or
`~/.claude/settings.json`. Claude Code does not read MCP servers from
there, so the server silently never loaded.
commit-check/commit-check-mcp#36 fixed this in that repo's README. |
`claude mcp add commit-check -- uvx commit-check-mcp`. The tab explains
`--scope project` (a shared `.mcp.json` at the repository root) and
`--scope user` (every project), and shows the `.mcp.json` block for
writing it by hand. |
| Zed | `mcp_servers` | `context_servers` |
| VS Code | missing | New tab for `.vscode/mcp.json`, which uses the
**`servers`** key, not `mcpServers` |
| Other clients | Linked to the README's `#use-with-an-mcp-client`, a
heading that commit-check/commit-check-mcp#38 removed | Links to
`#where-each-client-keeps-it`, and adds Continue, whose entry is YAML |
| Without uv | `which` only | Also mentions `where` on Windows |

There is also one sentence outside the tabs. *"All tools are read-only"*
was not true: `validate_push_safety` and `validate_repository_state` may
run `git fetch` to resolve a SHA. The page now names those two and says
what the fetch updates. The other six are annotated read-only for
clients that auto-approve on that.

## Sources

- **Claude Code:** `claude mcp add --help` (2.1.236) and the [MCP
docs](https://code.claude.com/docs/en/mcp) for the scopes, where each
one is stored, and the `.mcp.json` format.
- **Zed:** the [MCP docs](https://zed.dev/docs/ai/mcp), which use
`context_servers` with `command`, `args` and `env`.
- **VS Code, Continue and the rest:** the client table in the
commit-check-mcp README.
- **Tool annotations:** `server.py` in commit-check-mcp (`read_only_hint
= not fetches`).

## Checks

- `mkdocs build --strict` passes (with `SOCIAL_CARDS=false`). The
rendered page shows six tabs: Claude Code, Cursor, VS Code, Zed, the
combined tab and Without uv.
- The new README anchor exists on
github.com/commit-check/commit-check-mcp.
- `python -m pytest tests/ -q` passes with the released package
installed (10 tests). The pins and the changelog were already at 2.18.1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants