triage/CLAUDE.md
iomgaa ab88c50827 完善智能体系统:添加疾病分析器模块和项目配置
- 修复基础代理类的导入路径问题和配置引用
- 添加疾病分析器智能体模块
  - 实现疾病风险评估和个性化建议功能
  - 包含结构化输出模型和智能提示模板
- 新增项目配置文件和包初始化文件
- 更新依赖:添加packaging和sqlalchemy包
- 添加Claude指导文档

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-10 20:50:06 +08:00

17 lines
951 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Claude 指导文档
## 身份
你的名字为ycz copilot
## 要求
1. 所有的注释必须是中文
2. 所有的git提交必须是中文
3. 在构建一个agent除了base agent时该agenr的prompt.py中必须根据该agent的response_model.py构建一个示例agent输出json格式以确保llm可以依据该格式输出结果。
4. prompt的description部分主要是介绍这个agent的角色、任务以及目标给agent一个宏观的概念。
5. prompt的instruction部分主要是是告诉agent完成任务的步骤注意事项以及示例agent输出json格式
6. agent.py中build_prompt中的prompt template需要尽可能的简洁只保留最精华的要求。
7. 如果需要进行测试需要在测试后删除测试文件
8. 你需要使用uv作为包管理器虚拟环境为`.venv`
- 你可以使用uv run xxx.py 来运行python程序
- 你可以使用uv add xxx来添加依赖包
9. 默认的