feat(#2661): warn when repo skills are shadowed - #6794
Conversation
E2E tests did not runE2E tests run automatically for org/repo members and collaborators on pull requests. For other contributors, a maintainer must add the See E2E testing guide for details. |
PR Summary by QodoWarn when Claude repo skills are shadowed by harness skills
AI Description
Diagram
High-Level Assessment
Files changed (7)
|
Site previewPreview: https://ebf21bd4-site.fullsend-ai.workers.dev Commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Code Review by Qodo
1.
|
|
/fs-review |
|
🤖 Finished Review · ✅ Success · Started 10:24 AM UTC · Completed 10:43 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $6.01 |
|
Risk Assessment: moderate (2/5) DetailsSmall additive feature (7 files, 187 lines) with new files, tests, and doc updates. The 3-line touch to run.go (a high-churn file) elevates risk slightly, but the change is a simple function call insertion with no behavior modification to existing code. Issue scope aligns well with implementation. |
ReviewFindingsMedium
Low
|
Signed-off-by: Shai Revivo <srevivo@redhat.com> Co-authored-by: Codex <noreply@openai.com>
Signed-off-by: Shai Revivo <srevivo@redhat.com>
Signed-off-by: Shai Revivo <srevivo@redhat.com>
Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Shai Revivo <srevivo@redhat.com>
e3990b4 to
7fb9f05
Compare
Summary
Warn before Claude runs when a repo-level skill is shadowed by a same-named harness skill installed at the higher-precedence personal level. The warning points users to unique names for extension or
base:harness composition for intentional overrides.Related Issue
Closes #2661
Changes
.claude/skills/<name>/SKILL.mdentriesTesting
make lintpasses (stage changes first, then run)go test -race ./internal/cli -run TestWarnRepoSkillCollisions -count=1warnRepoSkillCollisions93.3%make e2e-testlocally — blocked before test execution because the local GitHub identity cannot create lock repositories in thehalfsend-*pool orgs; CI will run with the repository's cross-org e2e credentialsChecklist
!for breaking changes)