Skip to content

docs: README 增加项目徽章(业界惯例 + 组织风格) - #18

Merged
im47cn-bot merged 2 commits into
mainfrom
docs/readme-badges
Aug 31, 2026
Merged

im47cn-bot merged 2 commits into
mainfrom
docs/readme-badges

Conversation

@im47cn-bot

@im47cn-bot im47cn-bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

双语 README 头部增加徽章(参考 wop-platform/wop-go-sdk#11 的组合基线,按语言定制):

  • 全部徽章数据源已逐一验证真实可达(registry / workflow / shields)
  • CodeRabbit 为 shields 懒生成,首次访问后缓存生效

Sourcery 摘要

在双语 README 标题中添加标准项目徽章。

新功能:

  • 在中文和英文 README 标题中添加发布、软件包、运行时、工作流、许可证和评审状态徽章。

文档:

  • 使用项目状态和分发徽章更新两份双语 README 文件。
Original summary in English

Summary by Sourcery

Add standard project badges to the bilingual README headers.

New Features:

  • Add release, package, runtime, workflow, license, and review-status badges to both Chinese and English README headers.

Documentation:

  • Update both bilingual README files with project status and distribution badges.

@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f10fd689-9011-4529-b62b-0a91c3d56550


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.

@sourcery-ai

sourcery-ai Bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor
审查者指南(小型 PR 中折叠显示)

审查者指南

双语 README 头部新增经过可达性验证的 PyPI、GitHub 工作流、发布、许可证及 CodeRabbit 徽章,采用与组织项目一致的布局和语言定制。

文件级变更

变更 详情 文件
在中英文 README 标题下方新增项目状态与质量徽章,并按语言版本保持一致。
  • 增加 PyPI 版本与 Python 版本兼容性徽章
  • 增加 GitHub Release、CI、Mutation Gate 和 MIT License 徽章
  • 保留并统一展示 CodeRabbit PR Reviews 徽章
README.md
README.en.md

提示和命令

与 Sourcery 互动

  • 触发新的审查: 在拉取请求中评论 @sourcery-ai review。
  • 继续讨论: 直接回复 Sourcery 的审查评论。
  • 根据审查评论生成 GitHub issue: 回复审查评论,请 Sourcery 根据该评论创建 issue。你也可以使用 @sourcery-ai issue 回复审查评论,以根据该评论创建 issue。
  • 生成拉取请求标题: 在拉取请求标题的任意位置写入 @sourcery-ai,即可随时生成标题。你也可以在拉取请求中评论 @sourcery-ai title,以随时生成或重新生成标题。
  • 生成拉取请求摘要: 在拉取请求正文中任意位置写入 @sourcery-ai summary,即可在指定位置随时生成 PR 摘要。你也可以在拉取请求中评论 @sourcery-ai summary,以随时生成或重新生成摘要。
  • 生成审查者指南: 在拉取请求中评论 @sourcery-ai guide,即可随时生成或重新生成审查者指南。
  • 解决所有 Sourcery 评论: 在拉取请求中评论 @sourcery-ai resolve,即可解决所有 Sourcery 评论。如果你已经处理了所有评论且不想再看到它们,此功能非常有用。
  • 忽略所有 Sourcery 审查: 在拉取请求中评论 @sourcery-ai dismiss,即可忽略所有现有的 Sourcery 审查。如果你想从新的审查开始,这一功能尤其有用——别忘了评论 @sourcery-ai review 来触发新的审查!

自定义你的使用体验

访问你的控制面板即可:

  • 启用或禁用审查功能,例如 Sourcery 生成的拉取请求摘要、审查者指南等。
  • 更改审查语言。
  • 添加、移除或编辑自定义审查说明。
  • 调整其他审查设置。

获取帮助

Original review guide in English
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

双语 README 头部新增经过可达性验证的 PyPI、GitHub 工作流、发布、许可证及 CodeRabbit 徽章,采用与组织项目一致的布局和语言定制。

File-Level Changes

Change Details Files
在中英文 README 标题下方新增项目状态与质量徽章,并按语言版本保持一致。
  • 增加 PyPI 版本与 Python 版本兼容性徽章
  • 增加 GitHub Release、CI、Mutation Gate 和 MIT License 徽章
  • 保留并统一展示 CodeRabbit PR Reviews 徽章
README.md
README.en.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

你好——我发现了 1 个问题

面向 AI 代理的提示
请处理本次代码审查中的评论:

## 个别评论

### 评论 1
<location path="README.en.md" line_range="4" />
<code_context>
+[![CI](https://github.com/wop-platform/wop-python-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/wop-platform/wop-python-sdk/actions/workflows/ci.yml) [![Mutation Gate](https://github.com/wop-platform/wop-python-sdk/actions/workflows/mutation.yml/badge.svg)](https://github.com/wop-platform/wop-python-sdk/actions/workflows/mutation.yml) [![License: MIT](https://img.shields.io/github/license/wop-platform/wop-python-sdk)](LICENSE)
</code_context>
<issue_to_address>
**nitpick:** Mutation Gate 徽章及其工作流链接指向 `.github/workflows/mutation.yml`,但该工作流在仓库中不存在,因此这两个徽章都会显示为不可用,并链接到 404 页面。

**建议修复:** 将该徽章替换为现有工作流的徽章,或在发布该徽章之前添加 `.github/workflows/mutation.yml`。
</issue_to_address>

Sourcery 评估

已批准。


Sourcery 对开源项目免费——如果您喜欢我们的审查结果,请考虑分享它们 ✨
帮助我变得更有用!请对每条评论点击 👍 或 👎,我会利用这些反馈来改进审查结果。
Original comment in English

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="README.en.md" line_range="4" />
<code_context>
+[![CI](https://github.com/wop-platform/wop-python-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/wop-platform/wop-python-sdk/actions/workflows/ci.yml) [![Mutation Gate](https://github.com/wop-platform/wop-python-sdk/actions/workflows/mutation.yml/badge.svg)](https://github.com/wop-platform/wop-python-sdk/actions/workflows/mutation.yml) [![License: MIT](https://img.shields.io/github/license/wop-platform/wop-python-sdk)](LICENSE)
</code_context>
<issue_to_address>
**nitpick:** The Mutation Gate badge and its workflow link point to `.github/workflows/mutation.yml`, but that workflow does not exist in the repository, so both badges render as unavailable/404 links.

**Suggested fix:** Replace the badge with an existing workflow or add `.github/workflows/mutation.yml` before publishing the badge.
</issue_to_address>

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread README.en.md
# WOP Python SDK

[![PyPI](https://img.shields.io/pypi/v/wop-python-sdk)](https://pypi.org/project/wop-python-sdk/) [![Python 3.9+](https://img.shields.io/pypi/pyversions/wop-python-sdk)](https://pypi.org/project/wop-python-sdk/) [![Release](https://img.shields.io/github/v/release/wop-platform/wop-python-sdk)](https://github.com/wop-platform/wop-python-sdk/releases)
[![CI](https://github.com/wop-platform/wop-python-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/wop-platform/wop-python-sdk/actions/workflows/ci.yml) [![Mutation Gate](https://github.com/wop-platform/wop-python-sdk/actions/workflows/mutation.yml/badge.svg)](https://github.com/wop-platform/wop-python-sdk/actions/workflows/mutation.yml) [![License: MIT](https://img.shields.io/github/license/wop-platform/wop-python-sdk)](LICENSE)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nitpick: Mutation Gate 徽章及其工作流链接指向 .github/workflows/mutation.yml,但该工作流在仓库中不存在,因此这两个徽章都会显示为不可用,并链接到 404 页面。

建议修复: 将该徽章替换为现有工作流的徽章,或在发布该徽章之前添加 .github/workflows/mutation.yml。

Original comment in English

nitpick: The Mutation Gate badge and its workflow link point to .github/workflows/mutation.yml, but that workflow does not exist in the repository, so both badges render as unavailable/404 links.

Suggested fix: Replace the badge with an existing workflow or add .github/workflows/mutation.yml before publishing the badge.

@im47cn-bot
im47cn-bot merged commit 19f703a into main Aug 31, 2026
21 checks passed
@im47cn-bot
im47cn-bot deleted the docs/readme-badges branch August 31, 2026 13:39
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