Skip to content

Conversation

lobehubbot
Copy link
Member

@lobehubbot lobehubbot commented Jun 22, 2025

🤖 自动生成的 Agent 配置文件

{
  "author": "Lian9374",
  "config": {
    "systemRole": "\\[EdAI 助手] 专业教学辅助 AI,请用纯文本回答,避免任何 Markdown 格式(包括标题符号 #和加粗符号 \\*\\*),严格按以下格式响应:\n【主回答】(用专业语言回答,避免 Markdown)\n【后续问题建议】\n\n1. 第一个引导问题\n2. 第二个引导问题\n3. 第三个引导问题\n"
  },
  "createdAt": "2025-06-22",
  "homepage": "https://github.com/Lian9374",
  "identifier": "teaching-assitant",
  "meta": {
    "avatar": "🤯",
    "description": "Teaching Assitant",
    "tags": [
      "",
      ""
    ],
    "title": "Teaching Assitant"
  },
  "schemaVersion": 1,
  "pluginCount": 0,
  "knowledgeCount": 0,
  "tokenUsage": 81
}

@Lian9374 (resolve #1429)

Summary by Sourcery

Add a new teaching-assistant agent with its Chinese configuration, include shared Prettier settings, and clean up CHANGELOG formatting.

New Features:

  • Introduce the teaching-assistant agent with auto-generated Chinese locale configuration

Build:

  • Add .prettierrc.cjs to apply shared Prettier formatting settings

Chores:

  • Remove extraneous blank lines in CHANGELOG

Copy link

sourcery-ai bot commented Jun 22, 2025

Reviewer's Guide

This PR introduces a new Teaching Assistant agent by adding its localized configuration file, establishes a shared Prettier setup, and adjusts CHANGELOG formatting for consistency.

Class diagram for the new Teaching Assistant agent configuration

classDiagram
    class TeachingAssistantAgent {
      +string author
      +Config config
      +string createdAt
      +string homepage
      +string identifier
      +Meta meta
      +int schemaVersion
      +int pluginCount
      +int knowledgeCount
      +int tokenUsage
    }
    class Config {
      +string systemRole
    }
    class Meta {
      +string avatar
      +string description
      +string[] tags
      +string title
    }
    TeachingAssistantAgent --> Config
    TeachingAssistantAgent --> Meta
Loading

File-Level Changes

Change Details Files
Adopt shared Prettier configuration
  • Add .prettierrc.cjs requiring shared lint prettier export
.prettierrc.cjs
Add teaching-assistant agent configuration
  • Create localized JSON with agent metadata, systemRole and response format
src/teaching-assitant.zh-CN.json
Refine CHANGELOG formatting
  • Remove extra blank lines around sections
  • Standardize spacing in feature and chore entries
CHANGELOG.md

Assessment against linked issues

Issue Objective Addressed Explanation

Possibly linked issues


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

@lobehubbot
Copy link
Member Author

👍 @lobehubbot

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @lobehubbot - I've reviewed your changes - here's some feedback:

  • Spelling: update all occurrences of 'teaching-assitant' and 'Assitant' to 'teaching-assistant' and 'Assistant' in filenames, identifiers, and metadata.
  • Remove or replace the empty strings in the tags array of the agent config with meaningful tags.
  • Add a new feature entry for the teaching-assistant agent in CHANGELOG.md under the upcoming version section.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Spelling: update all occurrences of 'teaching-assitant' and 'Assitant' to 'teaching-assistant' and 'Assistant' in filenames, identifiers, and metadata.
- Remove or replace the empty strings in the tags array of the agent config with meaningful tags.
- Add a new feature entry for the teaching-assistant agent in CHANGELOG.md under the upcoming version section.

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.

@yunus7366
Copy link

🤖 自动生成的 Agent 配置文件

{
  "author": "Lian9374",
  "config": {
    "systemRole": "\\[EdAI 助手] 专业教学辅助 AI,请用纯文本回答,避免任何 Markdown 格式(包括标题符号 #和加粗符号 \\*\\*),严格按以下格式响应:\n【主回答】(用专业语言回答,避免 Markdown)\n【后续问题建议】\n\n1. 第一个引导问题\n2. 第二个引导问题\n3. 第三个引导问题\n"
  },
  "createdAt": "2025-06-22",
  "homepage": "https://github.com/Lian9374",
  "identifier": "teaching-assitant",
  "meta": {
    "avatar": "🤯",
    "description": "Teaching Assitant",
    "tags": [
      "",
      ""
    ],
    "title": "Teaching Assitant"
  },
  "schemaVersion": 1,
  "pluginCount": 0,
  "knowledgeCount": 0,
  "tokenUsage": 81
}

@Lian9374 (resolve #1429)

Summary by Sourcery

Add a new teaching-assistant agent with its Chinese configuration, include shared Prettier settings, and clean up CHANGELOG formatting.

New Features:

  • Introduce the teaching-assistant agent with auto-generated Chinese locale configuration

Build:

  • Add .prettierrc.cjs to apply shared Prettier formatting settings

Chores:

  • Remove extraneous blank lines in CHANGELOG

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.

[Agent] Replace it with your agent name
2 participants