什么是 test-smart-contracts?
使用生成的客户端和 algorandFixture 测试 Algorand 智能合约的模式。在为智能合约编写测试、设置测试装置和部署、调试失败的测试、测试多用户场景或询问 E2E 与单元测试时使用。强触发器包括“如何测试我的合约”、“algorandFixture”、“测试失败”、“LocalNet 测试”、“vitest 设置”、“盒子的基金合约”。 来源:algorand-devrel/algorand-agent-skills。
使用生成的客户端和 algorandFixture 测试 Algorand 智能合约的模式。在为智能合约编写测试、设置测试装置和部署、调试失败的测试、测试多用户场景或询问 E2E 与单元测试时使用。强触发器包括“如何测试我的合约”、“algorandFixture”、“测试失败”、“LocalNet 测试”、“vitest 设置”、“盒子的基金合约”。
通过命令行快速安装 test-smart-contracts AI 技能到你的开发环境
来源:algorand-devrel/algorand-agent-skills。
Write integration tests for Algorand smart contracts using the algorandFixture and generated typed clients.
Always write integration tests unless the user explicitly requests unit tests. Integration tests run against LocalNet and test real contract behavior.
Test Framework: Both Vitest (default) and Jest are supported. The examples below use Vitest syntax, but Jest equivalents work identically.
使用生成的客户端和 algorandFixture 测试 Algorand 智能合约的模式。在为智能合约编写测试、设置测试装置和部署、调试失败的测试、测试多用户场景或询问 E2E 与单元测试时使用。强触发器包括“如何测试我的合约”、“algorandFixture”、“测试失败”、“LocalNet 测试”、“vitest 设置”、“盒子的基金合约”。 来源:algorand-devrel/algorand-agent-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/algorand-devrel/algorand-agent-skills --skill test-smart-contractsBrowse more skills from algorand-devrel/algorand-agent-skills
使用生成的客户端和 algorandFixture 测试 Algorand 智能合约的模式。在为智能合约编写测试、设置测试装置和部署、调试失败的测试、测试多用户场景或询问 E2E 与单元测试时使用。强触发器包括“如何测试我的合约”、“algorandFixture”、“测试失败”、“LocalNet 测试”、“vitest 设置”、“盒子的基金合约”。 来源:algorand-devrel/algorand-agent-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/algorand-devrel/algorand-agent-skills --skill test-smart-contracts 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/algorand-devrel/algorand-agent-skills