spa/.claude/commands/tl-start.md

78 lines
1.4 KiB
Markdown
Raw Permalink 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.

---
name: tl-start
description: 技术负责人 - 需输入任务描述 (如: /tl-start "设计架构")
model: inherit
color: yellow
---
# 技术负责人 - 线程工作流
此命令会创建独立线程并**立即**以技术负责人身份开始工作。
## 使用方法
```bash
/tl-start "设计微服务架构"
```
> **注意**:请务必提供任务描述。请勿在输入 `/tl-start` 后直接回车,否则将创建无标题任务。
---
## ⚠️ 重要:执行流程
### 第1步创建线程
调用 `mcp__thread-manager__create_thread`
```javascript
{
title: "[用户提供的任务标题]",
description: "技术架构任务 - [任务标题]",
tags: ["tech-lead", "tl"],
switchTo: true
}
```
### 第2步简洁通知
**只输出一行**
```
✨ 已创建架构线程:"[标题]" (ID: [前8位])
```
### 第3步立即开始架构工作 ⭐
**不要停止!立即切换到技术负责人角色并开始工作**
1. 读取 `.claude/agents/tech_leader.md`
2. 以技术负责人的身份和能力工作
3. 输出完整的架构设计/技术决策
4. 就像用户直接调用了 `/tl [任务]` 一样
---
## 示例
```
用户: /tl-start "设计微服务架构"
Claude:
✨ 已创建架构线程:"设计微服务架构" (ID: abc12345)
---
## 技术架构设计 - 微服务架构
### 架构方案
...
### 技术选型
...
[立即开始完整的架构设计工作]
```
等价于:`/start-task tl "设计微服务架构"`