可用模板
下载 Electron 模板
下载完整的 spec 模板 ZIP 文件
模板结构
每个模板遵循这个结构:使用方法
- 下载模板 ZIP
- 解压到项目的
.trellis/spec/目录 - 按你项目的具体规范修改
- 删掉不适用的部分
- 更新路径和示例以匹配你的代码库
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
常见技术栈的编码规范模板
| 模板 | 技术栈 | 说明 |
|---|---|---|
| Electron + React + TypeScript | 全栈 | Electron 桌面应用 + React 前端 |
spec/
├── frontend/ # 前端规范
│ ├── index.md # 导航索引
│ ├── components.md # 组件模式
│ ├── hooks.md # Hook 约定
│ └── state-management.md
│
├── backend/ # 后端规范
│ ├── index.md
│ └── ...
│
├── guides/ # 思考指南
│ ├── index.md
│ └── ...
│
└── README.md # 模板概述
.trellis/spec/ 目录