
Description
Scalar is an agent skill for setting up the Scalar API documentation UI in a .NET 10 application. It covers basic setup, themes, authentication prefill, multiple documents, layout options and security. The skill recommends Scalar in place of Swagger UI, citing faster rendering, built-in dark mode, code generation for dozens of languages and full OpenAPI 3.1 support. It sets a few defaults for safety. The documentation UI is enabled only in development, by wrapping MapScalarApiReference() in an IsDevelopment() check, because API documentation exposes internal structure. For sensitive APIs it suggests turning off the proxy used by the Try It feature, with .WithProxy(null), so auth headers stay local. Security schemes are configured in the OpenAPI document through transformers rather than inside Scalar. It is for .NET developers who publish an API and want a documentation page that matches OpenAPI 3.1.…
Highlights
- Scalar UI for .NET 10 with OpenAPI 3.1
- Development-only by default
- Turns off the Try It proxy for sensitive APIs
- Security schemes set through OpenAPI transformers
Ratings & Reviews
No ratings yet
Be the first to rate scalar.
People also visit
scalar FAQ
Why use Scalar instead of Swagger UI?
The skill cites faster rendering, built-in dark mode, code generation for many languages and full OpenAPI 3.1 support.
Should the docs be public in production?
The skill keeps them to development by default. If they are needed in production, it says to add authorization.
What is the proxy setting for?
Scalar's Try It feature routes requests through proxy.scalar.com by default. The skill suggests .WithProxy(null) for sensitive APIs to keep auth headers local.
What do the security audits show?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
How do I install it?
Run npx skills add https://github.com/codewithmukesh/dotnet-claude-kit --skill scalar.
What are the best scalar alternatives?
Popular alternatives to scalar include openapi, api-documentation-generator and api-reference-documentation. See all scalar alternatives

















