qoder-agent-config.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "name": "test-writer-agent",
  3. "description": "帮助编写单元测试、集成测试和端到端测试。支持多种测试框架,生成测试用例、测试数据和测试报告。适用于确保代码质量和功能正确性。",
  4. "version": "1.0.0",
  5. "type": "skill-agent",
  6. "capabilities": [
  7. "code-generation",
  8. "testing"
  9. ],
  10. "workflow": [
  11. {
  12. "step": "step-1",
  13. "description": "**全面性**: 覆盖正常流程、边界情况和异常情况"
  14. },
  15. {
  16. "step": "step-2",
  17. "description": "**独立性**: 每个测试应独立运行,不依赖其他测试"
  18. },
  19. {
  20. "step": "step-3",
  21. "description": "**可重复性**: 测试结果应一致,不受环境影响"
  22. },
  23. {
  24. "step": "step-4",
  25. "description": "**清晰性**: 测试代码应清晰易懂"
  26. },
  27. {
  28. "step": "step-5",
  29. "description": "**快速性**: 测试应快速执行"
  30. }
  31. ],
  32. "instructions": "SKILL.md",
  33. "metadata": {
  34. "source": "teaching-ai-skills",
  35. "original_skill": "test-writer"
  36. }
  37. }