Skip to content

✨ feat(agent): ms-copilot-unofficial @buzz-lightsnack-2007#1486

Open
lobehubbot wants to merge 2 commits intomainfrom
agent/ms-copilot-unofficial
Open

✨ feat(agent): ms-copilot-unofficial @buzz-lightsnack-2007#1486
lobehubbot wants to merge 2 commits intomainfrom
agent/ms-copilot-unofficial

Conversation

@lobehubbot
Copy link
Copy Markdown
Member

@lobehubbot lobehubbot commented Dec 1, 2025

🤖 自动生成的 Agent 配置文件

{
  "author": "buzz-lightsnack-2007",
  "config": {
    "systemRole": "See [prompt.md](https://github.com/user-attachments/files/23844274/prompt.md). This prompt is based on extracted prompt at [0xeb/TheBigPromptLibrary](https://github.com/0xeb/TheBigPromptLibrary/blob/main/SystemPrompts/Copilot/microsoft_copilot_website_09192025.md).\n"
  },
  "createdAt": "2025-12-01",
  "homepage": "https://github.com/buzz-lightsnack-2007",
  "identifier": "ms-copilot-unofficial",
  "meta": {
    "avatar": "https://copilot.microsoft.com/static/cmc/favicon.svg",
    "description": "Unofficial Microsoft Copilot is your companion to inform, entertain and inspire. Get advice, feedback and straightforward answers.",
    "tags": [
      "ai",
      "companion"
    ],
    "title": "Copilot"
  },
  "schemaVersion": 1,
  "pluginCount": 0,
  "knowledgeCount": 0,
  "tokenUsage": 69
}

@buzz-lightsnack-2007 (resolve #1485)

Summary by Sourcery

Add a new unofficial Microsoft Copilot agent configuration and set up shared Prettier formatting, with minor changelog formatting adjustments.

New Features:

  • Introduce the ms-copilot-unofficial agent configuration with metadata and system role based on the Microsoft Copilot website prompt.

Enhancements:

  • Add a shared Prettier configuration referencing @lobehub/lint for consistent formatting across the project.
  • Normalize changelog bullet formatting for features and chores entries.

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai bot commented Dec 1, 2025

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Adds a new ms-copilot-unofficial agent configuration, introduces a shared Prettier config, and normalizes CHANGELOG list formatting for the latest release section.

Class diagram for ms-copilot-unofficial agent configuration

classDiagram
  class AgentDefinition {
    string author
    AgentConfig config
    string createdAt
    string homepage
    string identifier
    AgentMeta meta
    number schemaVersion
    number pluginCount
    number knowledgeCount
    number tokenUsage
  }

  class AgentConfig {
    string systemRole
  }

  class AgentMeta {
    string avatar
    string description
    string[] tags
    string title
  }

  AgentDefinition "1" --> "1" AgentConfig
  AgentDefinition "1" --> "1" AgentMeta
Loading

File-Level Changes

Change Details Files
Introduce the ms-copilot-unofficial agent configuration.
  • Add a new agent JSON configuration with author, identifier, and metadata for the unofficial Microsoft Copilot agent.
  • Define systemRole pointing to an external prompt specification and set schemaVersion, pluginCount, knowledgeCount, and tokenUsage fields.
src/ms-copilot-unofficial.json
Adopt shared Prettier configuration for the repository.
  • Create a Prettier configuration file that re-exports the preset from @lobehub/lint to standardize code formatting.
.prettierrc.cjs
Normalize list formatting in CHANGELOG for the latest release section.
  • Adjust bullet styles and remove extra blank lines in the 1.42.0 features and chores sections to match current formatting conventions.
CHANGELOG.md

Assessment against linked issues

Issue Objective Addressed Explanation
#1485 Create a new agent configuration for the unofficial Microsoft Copilot with identifier ms-copilot_unofficial, including systemRole based on the provided prompt, and appropriate metadata (title, description, avatar, tags).
#1485 Ensure the agent configuration includes the specified locale setting en-US. The JSON shown for src/ms-copilot-unofficial.json does not include any locale field, even though the issue explicitly specifies locale: en-US.

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
Copy Markdown
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
Copy Markdown

@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 there - I've reviewed your changes - here's some feedback:

  • The changelog bullets were switched from * to - only in this section; it would be better to keep the list marker style consistent with the surrounding entries and existing convention in the file.
  • The systemRole in ms-copilot-unofficial.json only references an external prompt.md link; consider inlining or snapshotting the key prompt content so the agent remains stable if the external file changes or becomes unavailable.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The changelog bullets were switched from `*` to `-` only in this section; it would be better to keep the list marker style consistent with the surrounding entries and existing convention in the file.
- The `systemRole` in `ms-copilot-unofficial.json` only references an external `prompt.md` link; consider inlining or snapshotting the key prompt content so the agent remains stable if the external file changes or becomes unavailable.

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.

[Agent] Unofficial Copilot

1 participant