← 返回 Skills 市场
51
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install unit-test-data-regression
功能描述
Unit test engineer skill for stable fixtures, edge-case data design, and regression-oriented test inputs in WelineFramework.
使用说明 (SKILL.md)
\r \r
Role\r
\r This skill designs the data side of unit-level regression protection. It focuses on fixtures, edge-case input matrices, and deterministic reproduction data that makes logic regressions visible and maintainable.\r \r
When To Use\r
\r
- Use for fixture design, data providers, edge-case matrices, and regression input preparation.\r
- Use for keywords such as fixture, test data, regression case, boundary case, dataset, and reproducible input.\r
- Use when the main risk is not missing the assertion structure, but missing the right test inputs.\r \r
Source Material\r
\r
AI-ENTRY.md\rCLAUDE.md\rdev/ai/skills/testing/SKILL.md\rdev/ai/skills/community-module/SKILLS-CONSOLIDATED.md\rdev/ai/skills/php84-performance/SKILL.md\r \r
Responsibilities\r
\r
- Build stable and realistic test inputs for changed logic.\r
- Cover null safety, boundary values, invalid shapes, and historical regression patterns.\r
- Keep test data readable and close to the business rule being protected.\r
- Reduce flakiness by removing unnecessary dependence on ambient state.\r \r
Workflow\r
\r
- Read the defect or feature behavior and identify the minimum input combinations that matter.\r
- Convert known bugs and edge conditions into explicit datasets or fixtures.\r
- Add null, empty, duplicate, and invalid-shape cases where the code path warrants them.\r
- Keep test data local, named, and understandable.\r
- Run the focused unit suite and confirm the regression inputs behave as expected.\r
- Remove redundant datasets that do not increase defect detection value.\r
- Document the key regression scenario in the test naming or comments if needed.\r \r
Weline Rules\r
\r
- Prefer small, isolated, testable changes.\r
- Provide unit test evidence where relevant.\r
- Follow PHP null-safety expectations when building regression cases.\r
- Keep module boundaries intact when preparing fixtures or collaborators.\r \r
Inputs Required\r
\r
- The changed logic and known failure modes.\r
- Historical bug symptoms, edge cases, or stack-trace triggers.\r
- Existing fixture style in the target module.\r
- Focused unit-test command for verification.\r \r
Expected Output\r
\r
- Focused datasets or fixtures that reproduce meaningful edge cases.\r
- Updated regression coverage with clear input intent.\r
- Evidence that the new datasets pass after the fix and protect the failure mode.\r \r
Validation\r
\r
- Run focused unit tests that consume the new datasets or fixtures.\r
- Confirm the added cases cover meaningful branches or prior bugs.\r
- Confirm no dataset depends on unrelated mutable global state.\r
- Confirm fixture complexity stays justified by risk.\r \r
Constraints\r
\r
- Do not add bulky generic fixtures that hide the real regression case.\r
- Do not depend on random values or time-sensitive data without control.\r
- Do not create test data that crosses module boundaries without a strong reason.\r
- Do not duplicate many near-identical datasets when one explicit case is enough.\r \r
安全使用建议
This skill appears safe for its stated purpose. Before using it, ensure any generated test fixtures stay local to the relevant module and avoid real production data, secrets, or unnecessarily large datasets.
功能分析
Type: OpenClaw Skill
Name: unit-test-data-regression
Version: 1.0.0
The skill bundle contains instructions for an AI agent to perform unit testing and regression data design within the 'WelineFramework'. The SKILL.md file outlines standard software engineering practices such as fixture creation, edge-case testing, and null-safety validation without any evidence of malicious intent, data exfiltration, or unauthorized execution.
能力评估
Purpose & Capability
The stated purpose and instructions are coherent: designing stable fixtures, edge-case inputs, and regression datasets for unit tests.
Instruction Scope
The workflow stays within test-data design, focused unit-test verification, and documentation of regression scenarios; constraints discourage bulky fixtures, randomness, mutable global state, and unnecessary module-boundary crossing.
Install Mechanism
There is no install spec, no required binaries, no environment variables, and no code files; the skill is instruction-only.
Credentials
The skill does not request network access, credentials, broad file indexing, or privileged system access. Running focused unit tests is expected for this purpose.
Persistence & Privilege
No persistence, background execution, account access, credential handling, or elevated privileges are described in the artifacts.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install unit-test-data-regression - 安装完成后,直接呼叫该 Skill 的名称或使用
/unit-test-data-regression触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Publish_WelineFramework_Multica_role_skills
元数据
常见问题
单元测试工程师 测试数据与回归 是什么?
Unit test engineer skill for stable fixtures, edge-case data design, and regression-oriented test inputs in WelineFramework. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 51 次。
如何安装 单元测试工程师 测试数据与回归?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install unit-test-data-regression」即可一键安装,无需额外配置。
单元测试工程师 测试数据与回归 是免费的吗?
是的,单元测试工程师 测试数据与回归 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
单元测试工程师 测试数据与回归 支持哪些平台?
单元测试工程师 测试数据与回归 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 单元测试工程师 测试数据与回归?
由 Aiweline(@aiweline)开发并维护,当前版本 v1.0.0。
推荐 Skills