1
0

qoder-agent-config.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "name": "code-generator-agent",
  3. "description": "帮助生成高质量的代码,包括函数、类、模块和完整项目。支持多种编程语言,遵循最佳实践和设计模式。适用于快速开发、代码示例生成或教学演示。",
  4. "version": "1.0.0",
  5. "type": "skill-agent",
  6. "capabilities": [
  7. "code-generation"
  8. ],
  9. "workflow": [
  10. {
  11. "step": "step-1",
  12. "description": "**清晰性**: 代码应清晰易懂,命名规范"
  13. },
  14. {
  15. "step": "step-2",
  16. "description": "**可维护性**: 结构良好,易于修改和扩展"
  17. },
  18. {
  19. "step": "step-3",
  20. "description": "**健壮性**: 包含错误处理和边界检查"
  21. },
  22. {
  23. "step": "step-4",
  24. "description": "**文档化**: 提供完整的注释和文档"
  25. },
  26. {
  27. "step": "step-5",
  28. "description": "**测试性**: 代码应易于测试"
  29. }
  30. ],
  31. "instructions": "SKILL.md",
  32. "metadata": {
  33. "source": "teaching-ai-skills",
  34. "original_skill": "code-generator"
  35. }
  36. }