搜索结果
全部能力
找到 2016 个相关结果 / 测试与 QA
软件工程 / 诊断修复
发布
release
当用户要求“make a release”、“create a release”、“cut a release”、“release a new version”、“publish a release”或……时,应使用此技能。
软件工程 / 诊断修复
蓝海战略
blue-ocean-strategy
通过价值创新开创无人争抢的市场空间,而非正面竞争。适用于用户提及"蓝海"、"红海"、"战略"等场景。
软件工程 / 诊断修复
精益用户体验
lean-ux
将精益思维应用于UX:假设驱动设计、协作草图和快速实验,而非繁重的交付物。当用户提及……时使用
软件工程 / 诊断修复
swift-testing
swift-testing
Writes and migrates tests using the Swift Testing framework with @Test, @Suite, #expect, #require, confirmation, parameterized tests, test tags, traits,…
软件工程 / 诊断修复
e2e-testing
e2e-testing
End-to-end testing patterns with Playwright for full-stack Python/React applications. Use when writing E2E tests for complete user workflows (login, CRUD, navigation), critical path regression tests, or cross-browser validation. Covers test structure, page object model, selector strategy (data-testid > role > label), wait strategies, auth state reuse, test data management, and CI integration. Does NOT cover unit tests or component tests (use pytest-patterns or react-testing-patterns).
软件工程 / 部署发布
妈妈测试
mom-test
按照《Mom Test》的规则与客户交流,避免引导对方:谈论他们的生活而非你的想法,询问过去的具体细节,并尽量少说话。适用于…
软件工程 / 诊断修复
core-data-expert
core-data-expert
Expert Core Data guidance (iOS/macOS): stack setup, fetch requests & NSFetchedResultsController, saving/merge conflicts, threading & Swift Concurrency, batch…
软件工程 / 诊断修复
content-experimentation-best-practices
content-experimentation-best-practices
Content experimentation and A/B testing guidance covering experiment design, hypotheses, metrics, sample size, statistical foundations, CMS-managed variants,…
软件工程 / 诊断修复
shopify-使用-shopify-cli
shopify-use-shopify-cli
选择当用户需要使用 **Shopify CLI** 立即运行或修复问题时:验证磁盘上的应用或扩展配置(`shopify.app.toml`,…
软件工程 / 诊断修复
swift-style
swift-style
Swift code style conventions for clean, readable code. Use when writing Swift code to ensure consistent formatting, naming, organization, and idiomatic…
软件工程 / 诊断修复
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` | 资源冲突 |
软件工程 / 诊断修复
hipass收据
hipass-receipt
帮助复用用户在官方 Hi-Pass 网站上手动登录的 Chrome 会话,以查询使用记录并进入收据弹窗。
软件工程 / 诊断修复
查询文档
ask-docs
查询 CrewAI 官方文档以获取答案。当用户提出的 CrewAI 问题在入门指南、设计 Agent……中未完全涵盖时使用。
软件工程 / 部署发布
dev
dev
Development workflows for the playwright-cli repository. Use when the user asks about rolling dependencies, releasing, or other repo maintenance tasks.
软件工程 / 诊断修复
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 服务器连接或工具执行问题。
软件工程 / 诊断修复
clean-architecture
clean-architecture
Clean Architecture principles and best practices from Robert C. Martin's book. This skill should be used when designing software systems, reviewing code…
软件工程 / 诊断修复
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…
软件工程 / 诊断修复
effect-ts
effect-ts
当用户询问有关 Effect-TS 模式、服务、层、错误处理、服务组合,或编写/重构……的代码时,应使用此技能。
软件工程 / 诊断修复
favicon-gen
favicon-gen
Generate custom favicons from logos, text, or brand colours. Produces favicon.svg, favicon.ico, apple-touch-icon.png, icon-192/512.png, and web manifest. Use…
软件工程 / 诊断修复
ios-simulator-skill
ios-simulator-skill
22 production-ready scripts for iOS app testing, building, and automation. Provides semantic UI navigation, build automation, accessibility testing, and…