·mockery

go-crypto-wallet 的模拟生成工作流程。每当开发人员要求为新接口生成模拟、添加需要模拟的测试覆盖率或替换端口接口的手动编写的测试存根时激活。克劳德必须使用“make mockery”——永远不要手工编写模拟结构代码。

11安装·0热度·@hiromaily

安装

$npx skills add https://github.com/hiromaily/go-crypto-wallet --skill mockery

如何安装 mockery

通过命令行快速安装 mockery AI 技能到你的开发环境

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

来源:hiromaily/go-crypto-wallet。

SKILL.md

查看原文

Mocks live in the infrastructure layer, beside the concrete implementations:

| Interface package (application/ports/) | Mock output directory (infrastructure/) |

| ports/api/btc/ | infrastructure/api/btc/mocks/ | | ports/api/eth/ | infrastructure/api/eth/mocks/ | | ports/api/xrp/ | infrastructure/api/xrp/mocks/ | | ports/file/ | infrastructure/storage/file/transaction/mocks/ | | ports/repository/cold/ | infrastructure/repository/cold/mocks/ | | ports/repository/watch/ | infrastructure/repository/watch/mocks/ |

go-crypto-wallet 的模拟生成工作流程。每当开发人员要求为新接口生成模拟、添加需要模拟的测试覆盖率或替换端口接口的手动编写的测试存根时激活。克劳德必须使用“make mockery”——永远不要手工编写模拟结构代码。 来源:hiromaily/go-crypto-wallet。

可引用信息

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

安装命令
npx skills add https://github.com/hiromaily/go-crypto-wallet --skill mockery
分类
!安全工具
认证
收录时间
2026-03-10
更新时间
2026-03-11

Browse more skills from hiromaily/go-crypto-wallet

快速解答

什么是 mockery?

go-crypto-wallet 的模拟生成工作流程。每当开发人员要求为新接口生成模拟、添加需要模拟的测试覆盖率或替换端口接口的手动编写的测试存根时激活。克劳德必须使用“make mockery”——永远不要手工编写模拟结构代码。 来源:hiromaily/go-crypto-wallet。

如何安装 mockery?

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

这个 Skill 的源码在哪?

https://github.com/hiromaily/go-crypto-wallet