MB

microsoft/bcquality

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

237 stars 质量 65 趋势 39MIT

优质技能和知识,促进业务中心发展。人类与代理共享的标准。

概览

帮助AI工具做出更好业务中心发展决策的优质技能和知识:发现卑诗特有的缺陷,避免误导性建议,并用可阅读的参考文献解释发现。 BCQuality包含的不是代理或Business Central扩展。你的主机提供代理。你可以将内容安装为插件,使用其他集成,或直接浏览知识。 下面的攻略使用的是 ,而不是 VS Code 中的 Copilot 聊天面板。先安装 Copilot CLI 并登录。你的账户和组织策略必须允许使用它。在这个源代码审查示例中,你不需要克隆 BCQuality、构建运行器,或将应用部署到 Business Central。 列表中应包含bcquality。该插件目前展示了al-code-review技能。安装和技能发现是通用模式;审查应用就是使用该技能的一个例子。

概述(AI 翻译)

帮助AI工具打造更优质的商务中心技能和知识 开发决策:发现BC特有缺陷,避免误导性建议, 并用你能阅读的参考文献解释发现。

BCQuality包含知识和可重复使用的技能,不是代理人或企业 中央分机。你的主机提供代理。你可以安装内容 作为插件,可以从其他集成中使用,或者直接浏览知识。

使用BCQuality的三种方法

使用 状态 从这里开始
使用Copilot CLI插件按需复查你的AL代码 可用 快速入门
在 AL-Go 中自动审查 GitHub 仓库的拉取请求 在 GitHub 的 AL-Go 进行中 AL-Go 文档发布后
在编码前将BCQuality指导应用到开发计划 插件预览 计划指导

快速开始

安装插件并运行你的第一次评测。你需要 GitHub Copilot CLI,已安装并登录, 并制定允许使用该账户的账户和组织政策。你不需要 克隆BCQuality,构建运行工具,或将应用部署到Business Central。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

BCQuality — Don’t teach one agent. Teach the ecosystem. 🤝

Quality skills and knowledge that help AI tools make better Business Central development decisions: catch BC-specific defects, avoid misleading advice, and explain findings with references you can read.

BCQuality contains knowledge and reusable skills, not agents or a Business Central extension. Your host supplies the agent. You can install the content as a plugin, use it from another integration, or browse the knowledge directly.

Three ways to use BCQuality

Use Status Start here
Review your AL code on demand with the Copilot CLI plugin Available Quick start
Review pull requests automatically in AL-Go for GitHub repositories In progress in AL-Go for GitHub AL-Go documentation once released
Apply BCQuality guidance to a development plan before coding Preview in the plugin Plan guidance

Quick start

Install the plugin and run your first review. You need GitHub Copilot CLI, installed and signed in, with an account and organization policy that allow its use. You do not need to clone BCQuality, build a runner, or deploy an app to Business Central.

Copilot CLI runs in any terminal, including the integrated terminal in VS Code. A plugin installed in Copilot CLI is not automatically available in the Copilot Chat panel.

  1. Install the plugin:

    copilot plugin install microsoft/BCQuality
    copilot plugin list
    

    The list should include bcquality. In a Copilot CLI session, /skills list shows its two skills: al-code-review and the preview al-plan-guidance.

  2. Start a new Copilot CLI session in your app folder, replacing the example path:

    cd "C:\Repos\MyBusinessCentralApp"
    copilot
    
  3. Approve access only to a project you trust, then ask:

    Use the installed al-code-review skill to review the complete Business Central app in this folder without changing my source files. Return the complete BCQuality findings report.

The folder should contain app.json and your AL source; it does not need to be a Git repository. On macOS or Linux, use your app’s local path instead.

What you get

Each selected review returns findings with a source location, severity, confidence, and the guidance behind them. For example, a performance finding might read:

Major · high confidence · src\CustomerExport.Codeunit.al, line 42

The country filter is evaluated inside the customer loop, so rows that will be discarded are still read from the database. Apply the filter with SetRange before calling FindSet.

Guidance: Apply filters before iterating

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add microsoft/bcquality
新手?先看 mcpskill.org 教程 →