Skip to content

Commit 03c0315

Browse files
committed
Merged PR 22237: update MCP references
update MCP references ---- #### AI description (iteration 1) #### PR Classification Documentation update. #### PR Summary This pull request updates MCP references in the API documentation guidelines to ensure the correct servers are used for source code lookup and supplemental information. - `/.github/prompts/write-api-ref.prompt.md`: Replaces the generic source code reference with the `substrate-mcp-mini` server. - `/.github/prompts/write-api-ref.prompt.md`: Updates the supplemental information source from "Learn MCP server" to `microsoft.docs.mcp` server. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
2 parents e78f71d + 56ad59c commit 03c0315

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/prompts/write-api-ref.prompt.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
mode: 'agent'
2+
agent: 'agent'
33
model: Claude Sonnet 4.5
44
tools: [microsoft.docs.mcp/microsoft_docs_search, substrate-mcp-mini/*, runCommands, edit, runTasks]
55
description: 'Automated agent prompt that generates API reference pages for WDK DDI entities. It verifies access to git, the Learn MCP tool, and the ADO MCP server, reads the first attached CSV of target filenames, checks out corresponding stub files from origin/stubs/main, locates declarations and source code in attached headers and source files, uses existing repository reference pages as models, consults the Learn MCP server for supplemental information, and writes completed documentation pages. If git, Learn MCP, or ADO MCP access is unavailable, the agent reports the problem and stops.'
@@ -22,9 +22,9 @@ Your goal is to write API reference pages for Windows Driver Kit (WDK) entities
2222

2323
4. For each target file, use all of the following resources, if present, to gather context:
2424
- The attached header(s) that contain the entity's definition/declaration.
25-
- Any attached source code.
25+
- The `substrate-mcp-mini` server to look up any source code.
26+
- The `microsoft.docs.mcp` server for any supplemental information relevant to the entity being documented.
2627
- Any other attached files, such as specifications, meeting notes, etc.
27-
- The Learn MCP server for any supplemental information relevant to the entity being documented.
2828
- One or two existing completed reference pages in the repo for the same entity type to use as models. Use pages in the same header folder; otherwise use pages in a different folder.
2929

3030
5. Open and write the completed documentation pages in the files listed in the CSV, keeping the following guidelines in mind:

0 commit comments

Comments
 (0)