Repository navigation
chore(AIAgent): organize repository skills - #8733
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reviewer's GuideDocumentationDocument 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.
Other changesFiles not grouped.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8733 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 663 663
Lines 29592 29592
=========================================
Hits 29592 29592
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Linked issuesChecked at commit 6121330 #8732 chore(AIAgent): organize repository skills · 2 of 2 met
|
There was a problem hiding this comment.
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
| cp -r .agents/skills/release-notes ~/.workbuddy/skills/ | ||
| ``` | ||
|
|
||
| Windows PowerShell 可用 `Copy-Item -Recurse .agents/skills/release-notes $HOME\.workbuddy\skills\`。 |
There was a problem hiding this comment.
🟡 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`.| | --- | --- | | ||
| | GitHub Copilot(CLI、云端 agent、VS Code / VS / JetBrains) | 自动发现,无需配置 | | ||
| | Codex、Cursor、Gemini CLI | 自动发现,无需配置 | | ||
| | Claude Code、WorkBuddy 等只读 `AGENTS.md` 的工具 | 按根 `AGENTS.md` 的指路读取该文件;不会自动加载,也不能用斜杠命令调用 | |
There was a problem hiding this comment.
🟡 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`.
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?
Risk
Documentation-only changes; no runtime behavior or package changes.
Verification
Manual review of the documentation changes and repository paths. Automated checks were not run for this documentation-only change.
Packaging changes reviewed?
☑️ Self Check before Merge
Summary by Sourcery
Centralize the release-notes skill and clarify how repository agents should discover or install it.
Enhancements:
.agents/skills/as its single source of truth and document supported agent discovery and installation options.Documentation:
Chores: