我如何利用AI共建产品
全局视角:
As a technical expert, analyze this codebase and provide a clear project overview:
-
Core Components: Describe the major components or modules, their responsibilities, and any key classes or functions they contain. Note any relevant design patterns or architectural approaches.
-
Component Interactions: Explain how the components interact, including data and control flow, communication methods, and any APIs or interfaces used. Highlight use of dependency injection or service patterns if applicable.
-
Deployment Architecture: Summarize the deployment setup, including build steps, external dependencies, required environments (e.g., dev, staging, prod), and infrastructure or containerization details.
-
Runtime Behavior: Describe how the application initializes, handles requests and responses, runs business workflows, and manages errors or background tasks.
Stay focused on providing a technical overview that helps a developer quickly understand how the system works. Avoid personal opinions or implementation suggestions unless specifically asked.
(这个一给出,架构非常清楚了)
往下线路理解
Summarize how requests flow through this service from entry point to response.
也可以作为全局理解,我用的比较多。
性能优化
Find repeated expensive operations in this request handler and suggest caching opportunities.
简要版本
分析项目的9大图
项目概览表格,
技术栈版本表格-前端/后端/工具链详细版本
项目文件结构树-完整的目录结构说明
数据模型 ER 图 - Mermaid 格式的数据库关系图,
核心业务流程图-Flowchart格式 更直观展示决策分支和流程走向
API模块接口功能表格,
前端特色功能表格,
部署架构图-
工程亮点表格
作为9大分析方向。