·scalar
*

scalar

stuartf303/sorcha

为 API 文档生成和配置 Scalar OpenAPI UI。 使用场合:向服务添加 API 文档、配置 OpenAPI 端点、自定义文档主题

9安装·2热度·@stuartf303

安装

$npx skills add https://github.com/stuartf303/sorcha --skill scalar

SKILL.md

Scalar replaces Swagger/Swashbuckle as the OpenAPI documentation UI in this codebase. All services use .NET 10's built-in AddOpenApi() with Scalar's MapScalarApiReference() for the UI. The project enforces Purple theme consistency across all microservices.

| AddOpenApi() | Register OpenAPI services | builder.Services.AddOpenApi() | | MapOpenApi() | Expose /openapi/v1.json | app.MapOpenApi() | | MapScalarApiReference() | Mount Scalar UI at /scalar | See examples above | | ScalarTheme | Visual theme enum | ScalarTheme.Purple | | ScalarTarget | Code generation target | ScalarTarget.CSharp |

为 API 文档生成和配置 Scalar OpenAPI UI。 使用场合:向服务添加 API 文档、配置 OpenAPI 端点、自定义文档主题 来源:stuartf303/sorcha。

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/stuartf303/sorcha --skill scalar 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/stuartf303/sorcha --skill scalar
分类
*创意媒体
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 scalar?

为 API 文档生成和配置 Scalar OpenAPI UI。 使用场合:向服务添加 API 文档、配置 OpenAPI 端点、自定义文档主题 来源:stuartf303/sorcha。

如何安装 scalar?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/stuartf303/sorcha --skill scalar 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/stuartf303/sorcha

详情

分类
*创意媒体
来源
skills.sh
收录时间
2026-02-01