·test-organize-layers
>_

test-organize-layers

指导测试放置在正确的测试金字塔层(单元/集成/e2e)。 在创建新测试文件、决定测试层、组织测试结构时使用, 或确定夹具范围。分析模拟模式、依赖关系和测试范围 建议正确的图层放置。使用 pytest 测试文件 (test_*.py)。

4安装·0热度·@dawiddutoit

安装

$npx skills add https://github.com/dawiddutoit/custom-claude --skill test-organize-layers

如何安装 test-organize-layers

通过命令行快速安装 test-organize-layers AI 技能到你的开发环境

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

来源:dawiddutoit/custom-claude。

SKILL.md

查看原文

Ensure new tests are placed in the correct test pyramid layer based on dependencies, mocking patterns, and scope. Prevents anti-patterns like unit tests with real databases or e2e tests with excessive mocking.

Why E2E: Full stack (indexed codebase, real embeddings, real Neo4j, real search).

指导测试放置在正确的测试金字塔层(单元/集成/e2e)。 在创建新测试文件、决定测试层、组织测试结构时使用, 或确定夹具范围。分析模拟模式、依赖关系和测试范围 建议正确的图层放置。使用 pytest 测试文件 (test_*.py)。 来源:dawiddutoit/custom-claude。

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

可引用信息

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

安装命令
npx skills add https://github.com/dawiddutoit/custom-claude --skill test-organize-layers
分类
>_效率工具
认证
收录时间
2026-02-25
更新时间
2026-03-11

Browse more skills from dawiddutoit/custom-claude

快速解答

什么是 test-organize-layers?

指导测试放置在正确的测试金字塔层(单元/集成/e2e)。 在创建新测试文件、决定测试层、组织测试结构时使用, 或确定夹具范围。分析模拟模式、依赖关系和测试范围 建议正确的图层放置。使用 pytest 测试文件 (test_*.py)。 来源:dawiddutoit/custom-claude。

如何安装 test-organize-layers?

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

这个 Skill 的源码在哪?

https://github.com/dawiddutoit/custom-claude