Skip to content

chore(AIAgent): organize repository skills - #8733

Merged
ArgoZhang merged 1 commit into
mainfrom
chore/agent-skills
Nov 12, 2026
Merged

ArgoZhang merged 1 commit into
mainfrom
chore/agent-skills

Conversation

@ArgoZhang

@ArgoZhang ArgoZhang commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Link issues

fixes #8732

Summary By Copilot

Move the release-notes skill to .agents/skills/ as the single repository copy and document how supported agent tools discover or install it.

Regression?

  • Yes
  • No

Risk

  • High
  • Medium
  • Low

Documentation-only changes; no runtime behavior or package changes.

Verification

  • Manual (required)
  • Automated

Manual review of the documentation changes and repository paths. Automated checks were not run for this documentation-only change.

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

Centralize the release-notes skill and clarify how repository agents should discover or install it.

Enhancements:

  • Consolidate the repository release-notes skill under .agents/skills/ as its single source of truth and document supported agent discovery and installation options.

Documentation:

  • Document repository-level skill conventions, tool integration paths, and prerequisites or fallback behavior for release-note generation.

Chores:

  • Update repository guidance to direct contributors and agents to the centralized release-notes skill.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sourcery-ai

sourcery-ai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer's Guide

Documentation

Document the repository skill’s single-copy location and tool discovery or installation guidance, and point the root agent instructions to that documentation and the skill.

  • AGENTS.md L34
  • docs/agents/skills.md L1-38

Other changes

Files not grouped.

  • .github/skills/release-notes/SKILL.md L15, L25

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 chore This are tasks or bot action label Nov 12, 2026
@bb-auto bb-auto Bot added this to the v11.1.0 milestone Nov 12, 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

@ArgoZhang
ArgoZhang merged commit 5d81ff9 into main Nov 12, 2026
5 checks passed
@ArgoZhang
ArgoZhang deleted the chore/agent-skills branch November 12, 2026 04:02
@codecov

codecov Bot commented Nov 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (685031c) to head (6121330).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #8733   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          663       663           
  Lines        29592     29592           
=========================================
  Hits         29592     29592           
Flag Coverage Δ
BB 100.00% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sourcery-ai

sourcery-ai Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Linked issues

Checked at commit 6121330

#8732 chore(AIAgent): organize repository skills · 2 of 2 met

# Requirement Status Notes
1 Organize repository-level agent skills. ✅ Met The release-notes skill is centralized at .agents/skills/release-notes/SKILL.md as the repository copy.
2 Document repository-level agent skills. ✅ Met docs/agents/skills.md documents the skill convention and tool discovery or installation, and AGENTS.md points to it and the skill.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

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="docs/agents/skills.md" line_range="29" />
<code_context>
+cp -r .agents/skills/release-notes ~/.workbuddy/skills/
+```
+
+Windows PowerShell 可用 `Copy-Item -Recurse .agents/skills/release-notes $HOME\.workbuddy\skills\`。
+
+## 约束
</code_context>
<issue_to_address>
**Fresh Windows installs fail**

When the destination `$HOME\.workbuddy\skills` does not exist, powerShell `Copy-Item` errors because the destination directory is missing, so the documented Windows command does not install the skill.

Create `$HOME\.workbuddy\skills` before running `Copy-Item`, or make the documented command create it.

Also at `docs/agents/skills.md:30`.
</issue_to_address>

### Comment 2
<location path="docs/agents/skills.md" line_range="19" />
<code_context>
+| --- | --- |
+| GitHub Copilot(CLI、云端 agent、VS Code / VS / JetBrains) | 自动发现,无需配置 |
+| Codex、Cursor、Gemini CLI | 自动发现,无需配置 |
+| Claude Code、WorkBuddy 等只读 `AGENTS.md` 的工具 | 按根 `AGENTS.md` 的指路读取该文件;不会自动加载,也不能用斜杠命令调用 |
+
+需要斜杠调用时,可在自己的用户级目录做一次性安装(这些目录被 `.gitignore` 忽略,不要提交):
</code_context>
<issue_to_address>
**Claude Code misses skill instructions**

When claude Code is used without a separately installed skill or an explicit instruction to read it, claude Code reads project instructions from `CLAUDE.md`, not `AGENTS.md`, so it misses the pointer to the release-notes skill and does not follow the documented workflow.

Provide a `CLAUDE.md` bridge to the repository instructions or document how to install the skill for Claude Code.

Also at `AGENTS.md:34`.
</issue_to_address>

Sourcery assessment

Approval pending. 2 findings to address first.

Blocking findings: docs/agents/skills.md:29, docs/agents/skills.md:19


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

Comment thread docs/agents/skills.md
cp -r .agents/skills/release-notes ~/.workbuddy/skills/
```

Windows PowerShell 可用 `Copy-Item -Recurse .agents/skills/release-notes $HOME\.workbuddy\skills\`。

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Medium · Fresh Windows installs fail

When the destination $HOME\.workbuddy\skills does not exist, powerShell Copy-Item errors because the destination directory is missing, so the documented Windows command does not install the skill.

Create $HOME\.workbuddy\skills before running Copy-Item, or make the documented command create it.

Also at docs/agents/skills.md:30.

Prompt for AI agents
In `docs/agents/skills.md` at line 29:

**Fresh Windows installs fail**

When the destination `$HOME\.workbuddy\skills` does not exist, powerShell `Copy-Item` errors because the destination directory is missing, so the documented Windows command does not install the skill.

Create `$HOME\.workbuddy\skills` before running `Copy-Item`, or make the documented command create it.

Also at `docs/agents/skills.md:30`.

Comment thread docs/agents/skills.md
| --- | --- |
| GitHub Copilot(CLI、云端 agent、VS Code / VS / JetBrains) | 自动发现,无需配置 |
| Codex、Cursor、Gemini CLI | 自动发现,无需配置 |
| Claude Code、WorkBuddy 等只读 `AGENTS.md` 的工具 | 按根 `AGENTS.md` 的指路读取该文件;不会自动加载,也不能用斜杠命令调用 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Medium · Claude Code misses skill instructions

When claude Code is used without a separately installed skill or an explicit instruction to read it, claude Code reads project instructions from CLAUDE.md, not AGENTS.md, so it misses the pointer to the release-notes skill and does not follow the documented workflow.

Provide a CLAUDE.md bridge to the repository instructions or document how to install the skill for Claude Code.

Also at AGENTS.md:34.

Prompt for AI agents
In `docs/agents/skills.md` at line 19:

**Claude Code misses skill instructions**

When claude Code is used without a separately installed skill or an explicit instruction to read it, claude Code reads project instructions from `CLAUDE.md`, not `AGENTS.md`, so it misses the pointer to the release-notes skill and does not follow the documented workflow.

Provide a `CLAUDE.md` bridge to the repository instructions or document how to install the skill for Claude Code.

Also at `AGENTS.md:34`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore This are tasks or bot action

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(AIAgent): organize repository skills

1 participant