搜索结果
全部能力
找到 3235 个相关结果 / 后端与 API
软件工程 / 部署发布
生活垃圾信息
household-waste-info
当用户通过地区名(市郡区)询问生活垃圾排放日/时间/地点信息,并希望获取 data.go.kr 官方的生活垃圾排放指南时使用。
软件工程 / 诊断修复
nuxt-content
nuxt-content
Use when working with Nuxt Content v3, markdown content, or CMS features in Nuxt - provides collections (local/remote/API sources), queryCollection API, MDC…
软件工程 / 诊断修复
韩国天气
korea-weather
通过气象厅短期预报查询服务并经由代理查询韩国天气并进行摘要。
软件工程 / 诊断修复
novel-writer-workflow-guide
novel-writer-workflow-guide
Use when user starts a novel project or asks how to organize their writing - guides through novel-writer's seven-step methodology and ensures proper workflow
软件工程 / 诊断修复
fun-brainstorming
fun-brainstorming
Invoke before any creative or architectural work — feature design, component creation, or behavioral changes. A streamlined brainstorming process optimized for…
软件工程 / 诊断修复
apple-on-device-ai
apple-on-device-ai
Integrate on-device AI using Foundation Models framework, Core ML, and open-source LLM runtimes on Apple Silicon. Covers Foundation Models…
软件工程 / 诊断修复
core-data-expert
core-data-expert
Expert Core Data guidance (iOS/macOS): stack setup, fetch requests & NSFetchedResultsController, saving/merge conflicts, threading & Swift Concurrency, batch…
软件工程 / 部署发布
github
github
Use gh for GitHub issues, PR status, CI/logs, comments, reviews, releases, and API queries.
软件工程 / 诊断修复
shopify-使用-shopify-cli
shopify-use-shopify-cli
选择当用户需要使用 **Shopify CLI** 立即运行或修复问题时:验证磁盘上的应用或扩展配置(`shopify.app.toml`,…
软件工程 / 诊断修复
API 文档生成器
api-documentation-generator
从代码生成全面的开发者友好型 API 文档,包括端点、参数、示例和最佳实践 --- ## 概述 本指南介绍如何从代码自动生成完整、可维护的 API 文档,帮助开发者快速理解和集成接口。 --- ## 核心组件 ### 1. 端点文档结构 | 元素 | 说明 | 示例 | |:---|:---|:---| | HTTP 方法 | GET / POST / PUT / DELETE | `GET /api/v1/users` | | 路径 | 资源定位符 | `/api/v1/users/{id}` | | 功能描述 | 一句话说明用途 | 获取用户详细信息 | | 认证方式 | 所需权限或 Token | `Bearer Token` / `API Key` | ### 2. 参数规范 **路径参数** ```http GET /api/v1/users/{userId}/orders/{orderId} ``` | 参数名 | 类型 | 必填 | 约束 | 说明 | |:---|:---|:---|:---|:---| | `userId` | `string` | 是 | UUID 格式 | 用户唯一标识 | | `orderId` | `string` | 是 | 64 位整数 | 订单编号 | **查询参数** ```http GET /api/v1/users?page=1&limit=20&status=active ``` | 参数名 | 类型 | 必填 | 默认值 | 说明 | |:---|:---|:---|:---|:---| | `page` | `integer` | 否 | `1` | 页码,最小值为 1 | | `limit` | `integer` | 否 | `20` | 每页条数,最大 `100` | | `status` | `string` | 否 | - | 筛选状态:`active` / `inactive` / `pending` | **请求体(JSON)** ```json { "username": "zhangsan", "email": "zhangsan@example.com", "role": "developer", "department": "engineering" } ``` | 字段 | 类型 | 必填 | 验证规则 | 说明 | |:---|:---|:---|:---|:---| | `username` | `string` | 是 | 3-20 字符,仅字母数字下划线 | 登录用户名 | | `email` | `string` | 是 | 符合 RFC 5322 | 联系邮箱 | | `role` | `string` | 是 | 枚举值见下方 | 用户角色 | | `department` | `string` | 否 | - | 所属部门 | --- ## 完整请求示例 ### 创建用户 **请求** ```http POST /api/v1/users HTTP/1.1 Host: api.example.com Content-Type: application/json Authorization: Bearer eyJhbGciOiJIUzI1NiIs... { "username": "zhangsan", "email": "zhangsan@example.com", "role": "developer", "department": "engineering" } ``` **成功响应(201 Created)** ```json { "code": 0, "data": { "id": "550e8400-e29b-41d4-a716-446655440000", "username": "zhangsan", "email": "zhangsan@example.com", "role": "developer", "department": "engineering", "createdAt": "2024-01-15T08:30:00Z", "status": "active" }, "requestId": "req_2024011508300001" } ``` **错误响应(400 Bad Request)** ```json { "code": 1001, "message": "参数验证失败", "details": [ { "field": "email", "error": "邮箱格式不正确" } ], "requestId": "req_2024011508300002" } ``` --- ## 状态码与错误体系 | HTTP 状态码 | 业务码 | 场景 | 处理建议 | |:---|:---|:---|:---| | `200` | `0` | 请求成功 | 正常处理响应数据 | | `201` | `0` | 资源创建成功 | 获取返回的 `id` 进行后续操作 | | `400` | `1001` | 参数校验失败 | 检查 `details` 修正请求参数 | | `401` | `2001` | 认证失败 | 刷新 Token 或重新登录 | | `403` | `2002` | 权限不足 | 确认账号角色或联系管理员 | | `404` | `3001` | 资源不存在 | 核对资源 ID 是否正确 | | `409` | `3002` | 资源冲突 |
软件工程 / 诊断修复
代码简化
code-simplify
当用户要求“简化代码”、“清理代码”、“为清晰而重构”、“降低复杂度”、“提高可读性”、“使……”时,应使用此技能。
软件工程 / 诊断修复
sonoscli
sonoscli
Control Sonos speakers (discover/status/play/volume/group).
软件工程 / 诊断修复
查询文档
ask-docs
查询 CrewAI 官方文档以获取答案。当用户提出的 CrewAI 问题在入门指南、设计 Agent……中未完全涵盖时使用。
软件工程 / 诊断修复
apollo-mcp-server
apollo-mcp-server
使用 Apollo MCP Server 将 AI 智能体与 GraphQL API 连接的指南。在以下场景使用此技能:(1) 设置或配置 Apollo MCP Server,(2) 从 GraphQL 操作定义 MCP 工具,(3) 使用 introspection 工具(introspect、search、validate、execute),(4) 排查 MCP 服务器连接或工具执行问题。
软件工程 / 诊断修复
人性化
humanize
将AI生成的文本转化为自然、类人化的内容,绕过GPTZero、Turnitin和Originality.ai等AI检测器。按字数消耗积分…
软件工程 / 诊断修复
swift-language
swift-language
Apply modern Swift language patterns and idioms for non-concurrency, non-SwiftUI code. Covers if/switch expressions (Swift 5.9+), typed throws (Swift 6+),…
软件工程 / 诊断修复
provider-resources
provider-resources
Implement Terraform Provider resources and data sources using the Plugin Framework. Use when developing CRUD operations, schema design, state management, and…
软件工程 / 诊断修复
sentry-nextjs-sdk
sentry-nextjs-sdk
Full Sentry SDK setup for Next.js. Use when asked to "add Sentry to Next.js", "install @sentry/nextjs", or configure error monitoring, tracing, session replay,…
软件工程 / 诊断修复
context7-mcp
context7-mcp
当用户询问库、框架、API 参考或需要代码示例时,应使用此技能。在涉及设置问题、代码……时激活。
软件工程 / 诊断修复
effect-ts
effect-ts
当用户询问有关 Effect-TS 模式、服务、层、错误处理、服务组合,或编写/重构……的代码时,应使用此技能。