Skip to content

doc(Agents): add review skill and clarify integrations - #1358

Merged
ArgoZhang merged 1 commit into
masterfrom
ArgoZhang/chore-agent
Nov 26, 2026
Merged

ArgoZhang merged 1 commit into
masterfrom
ArgoZhang/chore-agent

Conversation

@ArgoZhang

@ArgoZhang ArgoZhang commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Link issues

fixes #1357

Summary By Copilot

  • Add the repository-level bb-review skill and route exact review prompts to it.
  • Clarify skill discovery and integration guidance, and ignore the personal .claude/ directory.

Regression?

  • Yes
  • No

Risk

  • High
  • Medium
  • Low

Documentation and AI-tool configuration only; no application or package behavior changes.

Verification

  • Manual (required) — not run
  • Automated
    • git diff --check cc26bb2687d7104b9e0ff86e2c79954ff39db7d6...HEAD — passed.
    • .NET tests not run; changes are documentation and AI-tool configuration only.

Packaging changes reviewed?

  • Yes
  • No
  • N/A

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • Merge the latest code from the main branch

Summary by Sourcery

Standardize repository code-review guidance and clarify how AI tools discover and invoke project skills.

New Features:

  • Add a repository-level bb-review skill for standardized code reviews and exact review-prompt routing.

Enhancements:

  • Clarify repository skill discovery, AI-tool integration guidance, and distinctions between built-in reviews and repository skills.

Documentation:

  • Document supported agent instruction files, skill discovery paths, and integration constraints across Codex, Cursor, Copilot, Gemini CLI, and Claude Code.

Chores:

  • Keep personal Claude configuration directories ignored and prevent duplicate or symlinked skill copies.

@sourcery-ai

sourcery-ai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Ignore the personal .claude/ directory so local tool files are not included in repository changes.

  • .gitignore L395

Documentation

Add the bb-review workflow and route exact review prompts from the repository guidance to that skill.

  • .agents/skills/bb-review/SKILL.md L1-28
  • .github/copilot-instructions.md L7
  • AGENTS.md L37

Document the single-source skill catalog and explain how tools load project rules and discover repository skills.

  • docs/agents/skills.md L1-34

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

@bb-auto bb-auto Bot added the documentation Improvements or additions to documentation label Nov 26, 2026
@bb-auto bb-auto Bot added this to the v11.0.0 milestone Nov 26, 2026

@bb-auto bb-auto 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.

Auto approved by bb-auto

@sourcery-ai

sourcery-ai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Linked issues

Checked at commit f15de04

#1357 doc(Agents): add repository review skill and clarify integrations · 3 of 3 met

# Requirement Status Notes
1 Add the repository-level bb-review skill and route exact review prompts to it. ✅ Met The skill is added under .agents/skills/bb-review/; its description and AGENTS.md specify the exact prompts, and Copilot guidance documents /bb-review.
2 Clarify how AI tools discover skills. ✅ Met docs/agents/skills.md describes skill discovery and integration guidance for Codex, Cursor, Copilot, Gemini CLI, and Claude Code.
3 Add the personal .claude/ directory to .gitignore. ✅ Met .gitignore contains .claude/.

@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.

Hey - I've found 2 issues

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

## Individual Comments

### Comment 1
<location path=".agents/skills/bb-review/SKILL.md" line_range="28" />
<code_context>
+
+- 默认报告审查发现,不擅自扩大修改范围。用户明确要求修复,或修复授权已包含在任务中时,才对确定且局部的问题做最小修复,并按需运行相关验证。
+- 报告审查基准与范围、按严重性排序的问题、未解决风险及实际执行的验证;未发现问题时明确说明。
+- 如用户明确要求安全审查,遵循专门的安全审查流程。
</code_context>
<issue_to_address>
**Security reviews lack actionable guidance**

When the user explicitly requests a security review, `bb-review` sends the agent to a dedicated process that is not documented in the repository, leaving the agent without review steps or a reporting contract and resulting in an incomplete review.

Add the security-review process to the repository or link to its documented location.

Also at `.agents/skills/bb-review/SKILL.md:27`.
</issue_to_address>

### Comment 2
<location path="docs/agents/skills.md" line_range="31" />
<code_context>
+## 约束
+
+- 不要在 `.github/skills/`、`.claude/skills/` 等目录复制第二份 `SKILL.md`,避免内容漂移。
+- 保留 `.gitignore` 对个人工具目录 `.claude` 的忽略规则。
+- 不要用软链共享 skill。Git 的 `core.symlinks` 为 `false` 时,软链会被检出为普通文本文件。
+- `.github/agents/*.agent.md` 是 Copilot 自定义 agent,与 Agent Skills 不同;除非任务需要,不要将其作为技能迁移。
</code_context>
<issue_to_address>
**Project skills stay untracked**

When `bb-llms install --client claude --scope project` is used, `Scaffolder.Install` writes `.claude/skills/bootstrapblazor/SKILL.md`, but the blanket ignore hides it from Git status, so the project-scoped skill is not committed or shared.

Keep personal Claude state ignored while allowing the documented project-scope skill output to be tracked, or stop advertising that destination.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread .agents/skills/bb-review/SKILL.md Resolved
Comment thread docs/agents/skills.md Resolved
@ArgoZhang
ArgoZhang merged commit 80e174d into master Nov 26, 2026
3 checks passed
@ArgoZhang
ArgoZhang deleted the ArgoZhang/chore-agent branch November 26, 2026 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

doc(Agents): add repository review skill and clarify integrations

1 participant