| 123456789101112131415161718192021222324252627282930313233343536373839 |
- """
- 帮助生成高质量的代码,包括函数、类、模块和完整项目。支持多种编程语言,遵循最佳实践和设计模式。适用于快速开发、代码示例生成或教学演示。 for Qoder
- This agent module was automatically generated from Agent Skill.
- """
- class CodeGeneratorAgent:
- """
- Agent for 帮助生成高质量的代码,包括函数、类、模块和完整项目。支持多种编程语言,遵循最佳实践和设计模式。适用于快速开发、代码示例生成或教学演示。
- """
-
- def __init__(self):
- self.name = "code-generator"
- self.description = "帮助生成高质量的代码,包括函数、类、模块和完整项目。支持多种编程语言,遵循最佳实践和设计模式。适用于快速开发、代码示例生成或教学演示。"
-
- def execute(self, task, context=None):
- """
- Execute the agent task
-
- Args:
- task: Task description or parameters
- context: Optional context information
-
- Returns:
- Task execution result
- """
- # Read instructions from SKILL.md
- # Execute skill workflow
- # Return result
- pass
-
- def get_capabilities(self):
- """Get agent capabilities"""
- return {
- "name": self.name,
- "description": self.description,
- "capabilities": ["task-execution"]
- }
|