Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

foundry-route-doc-check

Skill by Azure

Checks TypeSpec route files in the Azure AI Foundry data-plane for documentation comments, @summary decorators and correct voice. It also fixes documentation-required suppressions and adds description override extensions. It is for developers who author or review Foundry routes.tsp and routes.generated.tsp files.

  • Score 84
  • 3.1k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install foundry-route-doc-check

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Azure/azure-rest-api-specs /tmp/azure-rest-api-specs && mkdir -p ~/.claude/skills && cp -r /tmp/azure-rest-api-specs/specification/ai-foundry/data-plane/Foundry/.github/skills/foundry-route-doc-check ~/.claude/skills/foundry-route-doc-check

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install foundry-route-doc-check in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill reviews TypeSpec route operations in the AI Foundry data-plane (Foundry) area. It covers routes.tsp and routes.generated.tsp files under specification/ai-foundry/data-plane/Foundry/src/, including nested OpenAI routes. Each operation is checked against rules FDOC-001 through FDOC-008. The rules cover doc comments, @summary wording, parameter docs, duplicate doc blocks, suppressions and override extensions.

The skill reports findings in a markdown table by file, operation, rule and line. It only changes operations with clear rule violations and leaves other wording alone. After edits, it runs tsp format and tsp compile to regenerate the JSON and YAML OpenAPI outputs. It is meant for people writing or reviewing Foundry route definitions before a pull request.

Written from the project's SKILL.md and checked against it.

What it can do

  • Route documentation checkChecks every operation in routes.tsp and routes.generated.tsp for doc comments and @summary decorators.
  • Summary voice checkFlags @summary text that is not a concise imperative phrase and descriptions that are not third-person.
  • Suppression cleanupRemoves documentation-required suppressions and replaces them with generated TSDoc documentation.
  • Override extensionsAdds x-ms-description-override or x-ms-request-body-description-override where TypeSpec would concatenate text.
  • Findings reportLists each finding in a markdown table with file, operation, rule ID and finding.
  • Format and compileRuns tsp format on changed files and tsp compile to regenerate OpenAPI artifacts.

What you need

  • TypeSpec compiler (tsp)
  • npx for running tsp format
  • Access to the Foundry data-plane specification folder

Try asking

  • Check the Foundry routes.tsp files for missing @summary decorators
  • Remove documentation-required suppressions from my Foundry routes file
  • Review the OpenAI routes under src/openai for documentation rule violations

Good to know

  • Scoped only to Foundry routes.tsp and routes.generated.tsp files
  • Does not apply to models.tsp, client.tsp, main.tsp or files outside the Foundry data-plane area
  • Only fixes operations with explicit, significant rule violations
  • Does not edit generated OpenAPI JSON under openapi3/

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: specification/ai-foundry/data-plane/Foundry/.github/skills/foundry-route-doc-check/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md11 KB
  • references/route-documentation-rules.md19 KB

Alternatives to foundry-route-doc-check

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

foundry-route-doc-check: common questions

Which files does the foundry-route-doc-check skill check?

It checks routes.tsp and routes.generated.tsp files under specification/ai-foundry/data-plane/Foundry/src/, including nested OpenAI routes under src/openai/. Model-only, client and main .tsp files are out of scope.

Does it change documentation that already looks fine?

No. The skill follows a conservative change policy and leaves existing text alone when it is substantially correct. Minor wording preferences are not changed.

What is a description override extension used for?

It sets the exact final OpenAPI description when TypeSpec would otherwise concatenate several source descriptions into noisy text. The skill uses it for shared routes, multiple content types and imported parameters.

How do I install foundry-route-doc-check?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is foundry-route-doc-check free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is foundry-route-doc-check safe to use?

It scores 84 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to foundry-route-doc-check?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

foundry-route-doc-check Install

Add to stack

Loading.