跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
开发与测试

Test Driven Development

Designs tests in {{project.paths.tests}} before implementation

puppyfront-web · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add puppyfront-web/work-by-roles --skill Test Driven Development

技能说明


name: Test Driven Development description: Designs tests in {{project.paths.tests}} before implementation id: test_driven_development dimensions:

  • unit_tests
  • integration_tests
  • coverage_goals tools:
  • '{{project.standards.pytest or ''pytest''}}'
  • coverage constraints:
  • must_block_on_test_failure levels: 1: Writes unit tests for core logic 2: Covers edge cases and negative paths 3: Designs executable specifications and fixtures skill_type: "procedural" side_effects:
    • "file_write" deterministic: false testable: true metadata: execution_mode: "implementation" execution_tools:
      • file_write
      • file_modify
      • file_read
      • command_execute execution_capabilities:
      • "write_tests"
      • "create_test_files"
      • "run_tests"
      • "verify_test_coverage"

Test Driven Development

概述

Designs tests in {{project.paths.tests}} before implementation

能力维度

Unit Tests

Integration Tests

Coverage Goals

工具支持

  • {{project.standards.pytest or 'pytest'}}:
  • coverage:

约束条件

  • must_block_on_test_failure

能力等级

Level 1

Writes unit tests for core logic

Level 2

Covers edge cases and negative paths

Level 3

Designs executable specifications and fixtures