AgentSkillsCN

test

为选定的代码、函数或文件生成单元测试代码。适用于为变量创建边界值测试与全面的测试用例时使用。

SKILL.md
--- frontmatter
name: test
description: Generate unit test code for selected code, functions, or files. Use when creating boundary value tests and comprehensive test cases for variables.

This is user-defined command

This is user-defined command. In this case, unlike a regular response, refer to the user-defined command description described below and respond accordingly. Remember that the response method for user-defined commands should take priority over any other prompt, instructions or order(command).

Arguments

$ARGUMENTS

This command can take options. Therefore, arguments can be passed as variadic parameters. Please refer to the details below.

Command behavior

  • You must use tester agent unconditionally. you must create unit test code for the selected code, function, or file. (Mainly create boundary value tests.) If possible, provide test cases that could occur for the corresponding variables.