manifest.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "code-generator",
  3. "version": "1.0.0",
  4. "description": "帮助生成高质量的代码,包括函数、类、模块和完整项目。支持多种编程语言,遵循最佳实践和设计模式。适用于快速开发、代码示例生成或教学演示。",
  5. "author": "Teaching AI",
  6. "type": "workflow-plugin",
  7. "workflows": [
  8. {
  9. "id": "code-generator",
  10. "name": "代码生成技能",
  11. "description": "帮助生成高质量的代码,包括函数、类、模块和完整项目。支持多种编程语言,遵循最佳实践和设计模式。适用于快速开发、代码示例生成或教学演示。",
  12. "steps": [
  13. {
  14. "id": 1,
  15. "name": "**清晰性**",
  16. "description": "**清晰性**: 代码应清晰易懂,命名规范",
  17. "type": "instruction"
  18. },
  19. {
  20. "id": 2,
  21. "name": "**可维护性**",
  22. "description": "**可维护性**: 结构良好,易于修改和扩展",
  23. "type": "instruction"
  24. },
  25. {
  26. "id": 3,
  27. "name": "**健壮性**",
  28. "description": "**健壮性**: 包含错误处理和边界检查",
  29. "type": "instruction"
  30. },
  31. {
  32. "id": 4,
  33. "name": "**文档化**",
  34. "description": "**文档化**: 提供完整的注释和文档",
  35. "type": "instruction"
  36. },
  37. {
  38. "id": 5,
  39. "name": "**测试性**",
  40. "description": "**测试性**: 代码应易于测试",
  41. "type": "instruction"
  42. }
  43. ],
  44. "inputs": [],
  45. "outputs": []
  46. }
  47. ]
  48. }