anthropics / anthropics/skills

Bug: `product-self-knowledge` skill falls through to open web search when docs URL fetch fails

Đang mở
#1,252 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
176k
Fork
20.9k
Merge trung bình
7 giờ 21 phút
Pull request đã merge (30 ngày)
5

Mô tả

## Bug: `product-self-knowledge` skill falls through to open web search when docs URL fetch fails

**Describe the issue**
When the skill's primary docs map URL is not directly fetchable (e.g. due to referrer/permissions constraints on the web fetch tool), there is no fallback that constrains search to official Anthropic documentation. The result is that Claude falls through to open web search and may source answers about Anthropic's own products from community blogs or third-party sites rather than official docs.

**Steps to reproduce**
1. Ask Claude a question about a Claude Code feature (e.g. `/ultrareview` / `/code-review ultra`)
2. Skill routes correctly to `https://docs.anthropic.com/en/docs/claude-code/claude_code_docs_map.md`
3. Direct fetch fails with a permissions/referrer error
4. Claude falls back to open `web_search` with no domain restriction
5. Answer is sourced from third-party blogs instead of `docs.claude.com` or `code.claude.com`

**Expected behavior**
If the primary docs URL fetch fails, the skill should instruct Claude to search within official Anthropic documentation domains (e.g. `site:docs.claude.com` or `site:code.claude.com`) before falling back to open web search.

**Proposed fix**
Add a fallback instruction to the skill along the lines of:
> If direct fetch of the docs map fails, search `docs.claude.com` or `code.claude.com` explicitly before falling back to open web search.

**Why this matters**
Customers asking about Anthropic's own products should receive answers sourced from official documentation. A correct answer from a third-party blog is still a weaker and less trustworthy foundation than the same answer from official docs — and in cases where the blog is wrong, there is no signal to Claude to be skeptical.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.