context-map
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseContext Map
上下文映射图
Before implementing any changes, analyze the codebase and create a context map.
在实施任何修改之前,先分析代码库并创建上下文映射图。
Task
任务
{{task_description}}
{{task_description}}
Instructions
操作步骤
- Search the codebase for files related to this task
- Identify direct dependencies (imports/exports)
- Find related tests
- Look for similar patterns in existing code
- 在代码库中搜索与该任务相关的文件
- 识别直接依赖项(导入/导出)
- 查找相关测试文件
- 寻找现有代码中的类似模式
Output Format
输出格式
markdown
undefinedmarkdown
undefinedContext Map
上下文映射图
Files to Modify
需要修改的文件
| File | Purpose | Changes Needed |
|---|---|---|
| path/to/file | description | what changes |
| 文件 | 用途 | 需要进行的修改 |
|---|---|---|
| path/to/file | 描述 | 修改内容 |
Dependencies (may need updates)
依赖项(可能需要更新)
| File | Relationship |
|---|---|
| path/to/dep | imports X from modified file |
| 文件 | 关联关系 |
|---|---|
| path/to/dep | 从修改的文件导入X |
Test Files
测试文件
| Test | Coverage |
|---|---|
| path/to/test | tests affected functionality |
| 测试文件 | 覆盖范围 |
|---|---|
| path/to/test | 测试受影响的功能 |
Reference Patterns
参考模式
| File | Pattern |
|---|---|
| path/to/similar | example to follow |
| 文件 | 模式 |
|---|---|
| path/to/similar | 可遵循的示例 |
Risk Assessment
风险评估
- Breaking changes to public API
- Database migrations needed
- Configuration changes required
Do not proceed with implementation until this map is reviewed.- 对公共API的破坏性变更
- 需要数据库迁移
- 需要配置变更
在该映射图通过审核之前,请勿开始实施工作。