playbook/templates/memory-bank/tech-stack.template.md

119 lines
1.5 KiB
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.

# 技术栈与工具链
## 核心技术
### 主语言:{{MAIN_LANGUAGE}}
**文件类型**
- {{FILE_TYPE_1}}
- {{FILE_TYPE_2}}
**特点**
- {{FEATURE_1}}
- {{FEATURE_2}}
- {{FEATURE_3}}
**运行方式**
- {{RUN_METHOD_1}}
- {{RUN_METHOD_2}}
## 项目结构
```text
{{PROJECT_NAME}}/
├── {{DIR_1}}/ # {{DIR_1_DESC}}
├── {{DIR_2}}/ # {{DIR_2_DESC}}
├── {{DIR_3}}/ # {{DIR_3_DESC}}
└── memory-bank/ # 项目上下文
```
## 开发环境
### {{ENV_1}}
**必需工具**
- {{TOOL_1}}
- {{TOOL_2}}
**运行测试**
```bash
{{TEST_CMD_1}}
```
### {{ENV_2}}(如有)
**必需工具**
- {{TOOL_3}}
- {{TOOL_4}}
## 版本控制
### Git 配置
**换行规则**`.gitattributes`
- 遵循 `.gitattributes` 文件定义
**忽略规则**`.gitignore`
-`.gitignore` 实际内容为准
### 分支策略
- `master`/`main`:主分支(稳定版本)
- 功能分支:按需创建
## 测试策略
### 测试类型
- {{TEST_TYPE_1}}
- {{TEST_TYPE_2}}
### 验证标准
**测试通过条件**
1. {{PASS_CONDITION_1}}
2. {{PASS_CONDITION_2}}
3. {{PASS_CONDITION_3}}
**常见失败原因**
- {{FAIL_REASON_1}}
- {{FAIL_REASON_2}}
## 依赖管理
### 外部依赖
- {{EXTERNAL_DEP_1}}
- {{EXTERNAL_DEP_2}}
### 内部依赖
- {{INTERNAL_DEP_1}}
- {{INTERNAL_DEP_2}}
## 性能考虑
### 当前瓶颈
- {{BOTTLENECK_1}}
- {{BOTTLENECK_2}}
### 优化方向
- {{OPTIMIZATION_1}}
- {{OPTIMIZATION_2}}
---
**最后更新**{{DATE}}