AgentSkillsCN

Test Generation

当您需要创建 `shadcn` 组件时,可使用此技能。

SKILL.md

Test Generation Skill

Description

Automatically generates comprehensive test suites for code.

Activation Conditions

  • New code added
  • Test coverage below threshold
  • Explicit test generation requests

Inputs

  • Source code files
  • Existing test files
  • Test framework configuration

Outputs

  • Test files
  • Test coverage report
  • Test execution results

Dependencies

  • Code analysis skill

Priority

High

Execution

  1. Analyze code structure
  2. Identify test cases needed
  3. Generate test files
  4. Verify test coverage