Skip to content

今日运势插件 - #21

Open
TianfoxLanding wants to merge 6 commits into
SeaLantern-Studio:mainfrom
TianfoxLanding:main
Open

TianfoxLanding wants to merge 6 commits into
SeaLantern-Studio:mainfrom
TianfoxLanding:main

Conversation

@TianfoxLanding

@TianfoxLanding TianfoxLanding commented Aug 24, 2026

Copy link
Copy Markdown

第一次写插件awa,github还没用明白()

大佬帮我看看有没有传错惹()

Sourcery 总结

新功能:

  • 添加 fortune-today 插件配置,以提供每日运势解读。
Original summary in English

Summary by Sourcery

New Features:

  • Add a fortune-today plugin configuration for providing daily fortune readings.

Added a JSON configuration file for the fortune today feature, including metadata, descriptions, and permissions.
@sourcery-ai

sourcery-ai Bot commented Aug 24, 2026

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

审查者指南

在 TianfoxLanding 插件套件下,以 JSON 定义的插件模块形式新增“今日运势”插件配置。

文件级变更

变更 详细信息 文件
为新的“今日运势”插件引入配置 JSON。
  • 在 TianfoxLanding 插件目录下创建新的 fortune-today.json 配置文件。
  • 定义插件元数据,例如名称/标识符、描述以及可能的作者信息。
  • 配置与渲染或获取今日运势内容相关的插件入口点、资源和任何运行时选项。
plugins/TianfoxLanding/fortune-today/fortune-today.json

提示和命令

与 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

Adds a new '今日运势' (today’s fortune) plugin configuration under the TianfoxLanding plugin suite as a JSON-defined plugin module.

File-Level Changes

Change Details Files
Introduce configuration JSON for the new 今日运势 plugin.
  • Create a new fortune-today.json configuration file under the TianfoxLanding plugin directory.
  • Define plugin metadata such as name/identifier, description, and possibly author information.
  • Configure plugin entry points, resources, and any runtime options relevant for rendering or fetching today’s fortune content.
plugins/TianfoxLanding/fortune-today/fortune-today.json

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

Choose a reason for hiding this comment

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

你好——我已经审查了你的更改,看起来很棒!


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

Hey - I've reviewed your changes and they look great!


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.

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