Skills
收录 97,501 个为 Agent 打包的专项能力与操作指引,复制一行命令即可安装。
测试与质量
使用此 skill 在 Android 模块上搭建基于 JUnit4 的 JVM 单元测试套件。涵盖规范的 Gradle 依赖组合(`junit:junit:4.13.2`、`androidx.test:core:1.7.0`、`androidx.test.ext:junit:1.3.0`、`androidx.test.ext:truth:1.7.0`)、`@RunWith(AndroidJUnit4::class)` 运行器、`InstrumentationRegistry.getInstrumentation()`、`ApplicationProvider.getApplicationContext()`、接入 `am instrument -e size` 的 `@SmallTest` / `@MediumTest` / `@LargeTest` 规模注解、androidx-test Truth 主题,以及规范的 `MainDispatcherRule` 设置模式。适用于用户提到 `AndroidJUnit4 unresolved`、`which AndroidJUnit4`、`InstrumentationRegistry deprecated`、`getApplicationContext in unit test`、`Truth IntentSubject`、`@SmallTest`、`MainDispatcherRule`,或询问如何将 JUnit4 接入 Android 模块的 `src/test/`。
本地应用与 bot 测试。使用 agent-browser CLI 进行 Electron/Web 应用的 UI 测试,使用 osascript(AppleScript)控制原生 macOS 应用(WeChat、Discord、Telegram、Slack、Lark/飞书、QQ)来测试 bot。触发条件包括 "local test"、"test in electron"、"test desktop"、"test bot"、"bot test"、"test in discord"、"test in telegram"、"test in slack"、"test in weixin"、"test in wechat"、"test in lark"、"test in feishu"、"test in qq"、"manual test"、"osascript",或 UI/bot 验证任务。
通过启动多个专用 Agent 和一个验证 Agent 来执行以安全为重点的代码审查,以确保全面覆盖和准确的发现。当用户要求“perform-security-review”、“bitwarden-security-review”、“execute a security review”、“run a comprehensive security audit”、“perform an end-to-end security assessment”,或需要在代码、依赖项、密钥和配置之间协调多项安全检查时,使用此技能。该技能管理工作流,将任务委派给专用 Agent,并向用户呈现最终发现。
在评审/评判一份已完成的数据模型文档(持久化/领域模型——实体、键、关系、索引、规范化、生命周期)以判断工程师能否正确构建 schema 并查询它时使用——这是验收关口,而非撰写。依据单一来源的 9 项完整性 + 可查询性标准进行评判:实体有类型 + 有键(存储形态,而非 api-spec DTO);关系带有基数 + 引用规则(on-delete / embed-vs-reference);每个索引都可追溯到某个访问模式;规范化 + 范式选择 + 权衡;生命周期 + 迁移;图 ⇄ 表保持同步;隐私/规模;与 api-spec 单向一致并与已交付 schema 保持一致;修订仅限增量范围。具备范式意识(关系型/文档型/图/宽列/键值——绝不反射式地套用关系型)。仅输出 `VERDICT: approve|revise`——对满足标准的模型给出 approve,对存在具名缺口的模型给出 revise。不适用于撰写、api-spec/feature-spec 或通用设计文档(请用 design-review)。
在编写或审阅 Bitwarden 中 Android 代码的测试时应使用此 skill。触发词包括 "BaseViewModelTest"、"BitwardenComposeTest"、"BaseServiceTest"、"stateEventFlow"、"bufferedMutableSharedFlow"、"FakeDispatcherManager"、"expectNoEvents"、"assertCoroutineThrows"、"createMockCipher"、"createMockSend"、"asSuccess"、"Why is my Bitwarden test failing?",或关于 Bitwarden 中 ViewModel、仓库、Compose 界面或数据源的测试问题。
针对 HPOS 兼容性、支付网关安全性、购物车优化和模板覆盖的 WooCommerce 扩展代码审查。用于审查 WooCommerce 扩展代码、支付网关开发、配送方式、自定义产品类型、购物车操作、结账定制,或当用户提到“WooCommerce review”“WooCommerce extension”“WooCommerce plugin”“payment gateway”“shipping method”“HPOS”“High-Performance Order Storage”“wc_get_orders”“WC_Payment_Gateway”“WC_Shipping_Method”“cart fragments”“WooCommerce hooks”“WooCommerce template”“shop_order”“WooCommerce performance”“Action Scheduler”“WooCommerce REST API”“WooCommerce Blocks”“checkout block”“woocommerce_checkout”时。检测 WooCommerce 8.2+ 至 10.x 代码中的 HPOS 问题、CRUD 违规、支付安全反模式、性能问题和模板覆盖错误。
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。
