chore: remove dead microsoft-docs tools from the user-level spec-writer agent

Đang mở
#430 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
1/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
tooling

Hướng nghiên cứu

The issue targets ~/.claude/agents/spec-writer.md, a file on the owner's machine, and recommends removing the two unavailable Microsoft Docs tool names. Start by checking the configured tools and the disabled plugin setting; done means the agent lists only tools that exist and a spec-writer invocation still returns a brief. This cannot be contributed through a repository change.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

tech-debt

Found while auditing the agents for #400. This is a fix to a file on the owner's machine, not a change in this repo, so there is no PR.

Problem

The user-level agent ~/.claude/agents/spec-writer.md lists two tools from a plugin that is turned off:

tools: Read, Grep, Glob, SendMessage, mcp__plugin_microsoft-docs_microsoft-learn__microsoft_docs_search, mcp__plugin_microsoft-docs_microsoft-learn__microsoft_docs_fetch

~/.claude/settings.json has "microsoft-docs@claude-plugins-official": false, so the two mcp__plugin_microsoft-docs_* tools do not exist. The agent still works, because Claude skips tools it cannot find, but it cannot look up Microsoft documentation, and it looks like it can.

SendMessage in the same list is also unused once the agent-teams flag is removed (#400, piece 2). It is harmless.

Options

  1. Remove the two dead tool names. Simplest. spec-writer then works from the code and the researcher findings only.
  2. Point them at the Microsoft Learn connector already available in the account (mcp__claude_ai_Microsoft_Learn__microsoft_docs_search and ..._microsoft_docs_fetch). Keeps the lookup ability, and depends on the connector staying connected.
  3. Turn the microsoft-docs plugin back on. Restores the original names, but brings the plugin back for every session.

Recommended: option 1, because #400 drops dotnet-advisor, the only other thing that relied on Microsoft documentation. Decide when you pick this up.

Acceptance criteria

  1. ~/.claude/agents/spec-writer.md lists no tool that does not exist on this machine.
  2. A spec-writer invocation from feature-factory still returns a brief.

Out of scope

The other user-level agents (story-writer, codebase-researcher) and any change to what spec-writer writes. Per #400, user-level agents are never copied into this repo.

Ngôn ngữ chính
C#
Star
1
Fork
0
Merge trung bình
2 giờ 2 phút
Pull request đã merge (30 ngày)
98

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nevridge/TaskFlow

Tất cả issue của nevridge/TaskFlow

Issue tương tự

Thêm issue về C#

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.