Skip to content

spec, typespec authoring, update the design doc to reflect the latest design#16233

Open
haolingdong-msft wants to merge 4 commits into
mainfrom
update-typespec-authoring-design-doc
Open

spec, typespec authoring, update the design doc to reflect the latest design#16233
haolingdong-msft wants to merge 4 commits into
mainfrom
update-typespec-authoring-design-doc

Conversation

@haolingdong-msft

@haolingdong-msft haolingdong-msft commented Jul 1, 2026

Copy link
Copy Markdown
Member

Fix #15707

  1. clean up the custom agent approach, only keep the skill apprach
  2. update the design architecture diagram.

@github-actions github-actions Bot added azsdk-cli Issues related to Azure/azure-sdk-tools::tools/azsdk-cli design-discussion An area of design currently under discussion and open to team and community feedback. labels Jul 1, 2026
@haolingdong-msft haolingdong-msft changed the title typespec authoring, update the design doc to reflect the latest design spec, typespec authoring, update the design doc to reflect the latest design Jul 2, 2026
@haolingdong-msft haolingdong-msft marked this pull request as ready for review July 3, 2026 02:32
@haolingdong-msft haolingdong-msft requested a review from a team as a code owner July 3, 2026 02:32
Copilot AI review requested due to automatic review settings July 3, 2026 02:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the TypeSpec authoring design spec to reflect the current architecture decision: moving away from a standalone custom agent and standardizing on the azure-typespec-author GitHub Copilot Skill, along with an updated architecture diagram.

Changes:

  • Updates the “Azure TypeSpec Style Guide” reference link.
  • Rewrites the design proposal section to describe the skill-based workflow (steps, plan sources, validation, rationale) instead of the prior custom-agent approaches.
  • Adds/updates the architecture diagram reference for the skill design.


#### Architecture

![alt text](azure-typespec-author-architecture.png)
Comment on lines +266 to +269
Step 3 builds the authoring plan from two grounding sources; when their guidance conflicts, agentic search wins:

The TypeSpec authoring workflow follows a streamlined process where the user interacts with Custom agent `azure-typespec-author-agent` using natural language, and agent leverages the TypeSpec Solution Tool (MCP) to generate standards-compliant solutions. The architecture diagram above illustrates this end-to-end flow:
1. **MCP tool** — call `azsdk_typespec_generate_authoring_plan` with the verbatim user request, the Step 1–2 context, and the project root. The tool returns a RAG-grounded plan from the Azure SDK Knowledge Base.
2. **Agentic search** — follow `references/agentic-search.md`: select the relevant URLs from `references/reference-document-links.md`, `web_fetch` each into Markdown, search for content matching a query derived from the request and Step 1 result, iterate until sufficient, and synthesize the extracted guidance into a concrete plan.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

azsdk-cli Issues related to Azure/azure-sdk-tools::tools/azsdk-cli design-discussion An area of design currently under discussion and open to team and community feedback.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TypeSpec Authoring][Architecture Refactoring] Update design spec

2 participants