prototype
MAmattpocock/skills337k4,978 new stars in the last 7 days
Add or change an HTTP endpoint in this repository. Use when the task touches packages/contracts/src, API paths, request/response schemas, or error codes. Covers contract purity, backend moduleHandlers dispatch, frontend endpoint() calls, OpenAPI/Index regeneration, and the mandatory architecture check.
packages/contracts/src/<domain>.ts 定义端点,汇总进 endpoints.ts。
zod 与相对路径模块。as 断言(as const 除外)。code / message / data 信封(页面接口按既有范式)。user → 路径参数 → query(有则传)→ body(有则传)。backend/src/http/automation-routes.ts 用 moduleHandlers('<前缀>_', controller) 注册。requireAdmin。BusinessException + 统一错误码。frontend/src/api/<domain>.ts,用 endpoint(endpoints.Xxx_yyy)。http 或手写 /api/backend。pnpm --filter @enterprise/contracts build
pnpm api:docs
pnpm api:index
pnpm check:architecture
moduleHandlers 直接手写路由且不做契约校验。openapi.json 与分域索引。MAmattpocock/skills337k4,978 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
FIfirecrawl/firecrawl215k5,595 new stars in the last 7 days
Apply color and font themes to slides, docs and web pages, with 10 built-in themes.
ANanthropics/skills203k3,265 new stars in the last 7 days
Set visual direction and typography for UI, avoiding templated defaults.
ANanthropics/skills203k3,265 new stars in the last 7 days
Build complex HTML artifacts with React, Tailwind CSS, state management and routing.
ANanthropics/skills203k3,265 new stars in the last 7 days