track-management by wshobson/agents
npx skills add https://github.com/wshobson/agents --skill track-management指导如何创建、管理和完成 Conductor 轨道——这些逻辑工作单元通过规范、规划和实施阶段来组织功能、缺陷和重构工作。
轨道是一个封装了完整工作单元的逻辑工作单元。每个轨道包含:
轨道为工作提供了语义组织,实现了:
新功能或能力。用于:
缺陷修复。用于:
维护和日常事务。用于:
不改变行为的代码改进。用于:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
轨道 ID 遵循模式:{shortname}_{YYYYMMDD}
user-auth、api-rate-limit)示例:
user-auth_20250115fix-login-error_20250115upgrade-deps_20250115refactor-api-client_20250115定义需求
生成规范
spec.md生成计划
plan.md注册轨道
tracks.md 注册表中添加条目metadata.jsonindex.md执行任务
更新状态
验证进度
同步文档
归档或删除
# {轨道标题}
## 概述
简要描述此轨道实现什么以及为什么。
## 功能性需求
### FR-1: {需求名称}
功能性需求的描述。
- 验收:如何验证此需求已满足
### FR-2: {需求名称}
...
## 非功能性需求
### NFR-1: {需求名称}
非功能性需求的描述(性能、安全性等)
- 目标:具体的可衡量目标
- 验证:如何测试
## 验收标准
- [ ] 标准 1:具体、可测试的条件
- [ ] 标准 2:具体、可测试的条件
- [ ] 标准 3:具体、可测试的条件
## 范围
### 范围内
- 明确包含的项目
- 要实施的功能
- 要修改的组件
### 范围外
- 明确排除的项目
- 未来考虑事项
- 相关但独立的工作
## 依赖项
### 内部
- 此轨道依赖的其他轨道或组件
- 必需的上下文工件
### 外部
- 第三方服务或 API
- 外部依赖项
## 风险与缓解措施
| 风险 | 影响 | 缓解措施 |
| ------------------ | ----------------- | --------------------- |
| 风险描述 | 高/中/低 | 缓解策略 |
## 开放性问题
- [ ] 需要解决的问题
- [x] 已解决的问题 - 答案
# 实施计划:{轨道标题}
轨道 ID:`{track-id}`
创建日期:YYYY-MM-DD
状态:pending | in-progress | completed
## 概述
实施方法的简要描述。
## 阶段 1:{阶段名称}
### 任务
- [ ] **任务 1.1**:任务描述
- 子任务或细节
- 子任务或细节
- [ ] **任务 1.2**:任务描述
- [ ] **任务 1.3**:任务描述
### 验证
- [ ] **验证 1.1**:阶段的验证步骤
## 阶段 2:{阶段名称}
### 任务
- [ ] **任务 2.1**:任务描述
- [ ] **任务 2.2**:任务描述
### 验证
- [ ] **验证 2.1**:阶段的验证步骤
## 阶段 3:最终确定
### 任务
- [ ] **任务 3.1**:更新文档
- [ ] **任务 3.2**:最终集成测试
### 验证
- [ ] **验证 3.1**:所有验收标准已满足
## 检查点
| 阶段 | 检查点 SHA | 日期 | 状态 |
| -------- | ---------- | ---- | ------- |
| 阶段 1 | | | pending |
| 阶段 2 | | | pending |
| 阶段 3 | | | pending |
在 plan.md 中使用一致的标记:
| 标记 | 含义 | 用途 |
|---|---|---|
[ ] | 待处理 | 任务未开始 |
[~] | 进行中 | 当前正在处理 |
[x] | 完成 | 任务完成(包含 SHA) |
[-] | 跳过 | 故意未完成 |
[!] | 阻塞 | 等待依赖项 |
示例:
- [x] **任务 1.1**:设置数据库模式 `abc1234`
- [~] **任务 1.2**:实现用户模型
- [ ] **任务 1.3**:添加验证逻辑
- [!] **任务 1.4**:集成认证服务(阻塞:等待 API 密钥)
- [-] **任务 1.5**:旧版迁移(跳过:不需要)
# 轨道注册表
## 活跃轨道
| 轨道 ID | 类型 | 状态 | 阶段 | 开始日期 | 负责人 |
| ------------------------------------------------- | ------- | ----------- | ---- | ---------- | ---------- |
| [user-auth_20250115](tracks/user-auth_20250115/) | feature | in-progress | 2/3 | 2025-01-15 | @developer |
| [fix-login_20250114](tracks/fix-login_20250114/) | bug | pending | 0/2 | 2025-01-14 | - |
## 已完成轨道
| 轨道 ID | 类型 | 完成日期 | 持续时间 |
| ----------------------------------------------- | ----- | ----------- | -------- |
| [setup-ci_20250110](tracks/setup-ci_20250110/) | chore | 2025-01-12 | 2 天 |
## 已归档轨道
| 轨道 ID | 原因 | 归档日期 |
| ----------------------------------------------------- | ---------- | ----------- |
| [old-feature_20241201](tracks/old-feature_20241201/) | 被取代 | 2025-01-05 |
{
"id": "user-auth_20250115",
"title": "用户认证系统",
"type": "feature",
"status": "in-progress",
"priority": "high",
"created": "2025-01-15T10:30:00Z",
"updated": "2025-01-15T14:45:00Z",
"started": "2025-01-15T11:00:00Z",
"completed": null,
"assignee": "@developer",
"phases": {
"total": 3,
"current": 2,
"completed": 1
},
"tasks": {
"total": 12,
"completed": 5,
"in_progress": 1,
"pending": 6
},
"checkpoints": [
{
"phase": 1,
"sha": "abc1234",
"date": "2025-01-15T13:00:00Z"
}
],
"dependencies": [],
"tags": ["auth", "security"]
}
/conductor:new-track[~][x]/conductor:revert在轨道创建期间,识别:
在 spec.md 中,列出依赖项并包含:
当轨道被阻塞时:
[!] 标记阻塞任务并说明原因目标是创建以下规模的轨道:
轨道过大的迹象:
解决方案:拆分为多个具有明确边界的轨道。
轨道过小的迹象:
解决方案:与相关工作合并或作为现有轨道的一部分处理。
在最终确定 spec.md 之前,验证:
在开始实施之前,验证 plan.md:
阶段 1:基础
- 数据模型
- 数据库迁移
- 基本 API 结构
阶段 2:核心逻辑
- 业务逻辑实现
- 输入验证
- 错误处理
阶段 3:集成
- UI 集成
- API 文档
- 端到端测试
阶段 1:复现
- 编写捕获缺陷的失败测试
- 记录复现步骤
阶段 2:修复
- 实施修复
- 验证测试通过
- 检查回归
阶段 3:验证
- 手动验证
- 如果需要,更新文档
阶段 1:准备
- 添加特征化测试
- 记录当前行为
阶段 2:重构
- 逐步应用更改
- 在整个过程中保持测试通过
阶段 3:清理
- 移除死代码
- 更新文档
每周安装量
3.2K
仓库
GitHub 星标
32.2K
首次出现
2026 年 1 月 20 日
安全审计
安装于
claude-code2.5K
gemini-cli2.4K
opencode2.4K
cursor2.3K
codex2.3K
github-copilot2.0K
Guide for creating, managing, and completing Conductor tracks - the logical work units that organize features, bugs, and refactors through specification, planning, and implementation phases.
A track is a logical work unit that encapsulates a complete piece of work. Each track has:
Tracks provide semantic organization for work, enabling:
New functionality or capabilities. Use for:
Defect fixes. Use for:
Maintenance and housekeeping. Use for:
Code improvement without behavior change. Use for:
Track IDs follow the pattern: {shortname}_{YYYYMMDD}
user-auth, api-rate-limit)Examples:
user-auth_20250115fix-login-error_20250115upgrade-deps_20250115refactor-api-client_20250115Define Requirements
Generate Specification
spec.md with structured requirementsGenerate Plan
plan.md with phased task breakdownRegister Track
tracks.md registrymetadata.jsonindex.mdExecute Tasks
Update Status
Verify Progress
Sync Documentation
Archive or Delete
# {Track Title}
## Overview
Brief description of what this track accomplishes and why.
## Functional Requirements
### FR-1: {Requirement Name}
Description of the functional requirement.
- Acceptance: How to verify this requirement is met
### FR-2: {Requirement Name}
...
## Non-Functional Requirements
### NFR-1: {Requirement Name}
Description of the non-functional requirement (performance, security, etc.)
- Target: Specific measurable target
- Verification: How to test
## Acceptance Criteria
- [ ] Criterion 1: Specific, testable condition
- [ ] Criterion 2: Specific, testable condition
- [ ] Criterion 3: Specific, testable condition
## Scope
### In Scope
- Explicitly included items
- Features to implement
- Components to modify
### Out of Scope
- Explicitly excluded items
- Future considerations
- Related but separate work
## Dependencies
### Internal
- Other tracks or components this depends on
- Required context artifacts
### External
- Third-party services or APIs
- External dependencies
## Risks and Mitigations
| Risk | Impact | Mitigation |
| ---------------- | --------------- | ------------------- |
| Risk description | High/Medium/Low | Mitigation strategy |
## Open Questions
- [ ] Question that needs resolution
- [x] Resolved question - Answer
# Implementation Plan: {Track Title}
Track ID: `{track-id}`
Created: YYYY-MM-DD
Status: pending | in-progress | completed
## Overview
Brief description of implementation approach.
## Phase 1: {Phase Name}
### Tasks
- [ ] **Task 1.1**: Task description
- Sub-task or detail
- Sub-task or detail
- [ ] **Task 1.2**: Task description
- [ ] **Task 1.3**: Task description
### Verification
- [ ] **Verify 1.1**: Verification step for phase
## Phase 2: {Phase Name}
### Tasks
- [ ] **Task 2.1**: Task description
- [ ] **Task 2.2**: Task description
### Verification
- [ ] **Verify 2.1**: Verification step for phase
## Phase 3: Finalization
### Tasks
- [ ] **Task 3.1**: Update documentation
- [ ] **Task 3.2**: Final integration test
### Verification
- [ ] **Verify 3.1**: All acceptance criteria met
## Checkpoints
| Phase | Checkpoint SHA | Date | Status |
| ------- | -------------- | ---- | ------- |
| Phase 1 | | | pending |
| Phase 2 | | | pending |
| Phase 3 | | | pending |
Use consistent markers in plan.md:
| Marker | Meaning | Usage |
|---|---|---|
[ ] | Pending | Task not started |
[~] | In Progress | Currently being worked |
[x] | Complete | Task finished (include SHA) |
[-] | Skipped | Intentionally not done |
[!] | Blocked | Waiting on dependency |
Example:
- [x] **Task 1.1**: Set up database schema `abc1234`
- [~] **Task 1.2**: Implement user model
- [ ] **Task 1.3**: Add validation logic
- [!] **Task 1.4**: Integrate auth service (blocked: waiting for API key)
- [-] **Task 1.5**: Legacy migration (skipped: not needed)
# Track Registry
## Active Tracks
| Track ID | Type | Status | Phase | Started | Assignee |
| ------------------------------------------------ | ------- | ----------- | ----- | ---------- | ---------- |
| [user-auth_20250115](tracks/user-auth_20250115/) | feature | in-progress | 2/3 | 2025-01-15 | @developer |
| [fix-login_20250114](tracks/fix-login_20250114/) | bug | pending | 0/2 | 2025-01-14 | - |
## Completed Tracks
| Track ID | Type | Completed | Duration |
| ---------------------------------------------- | ----- | ---------- | -------- |
| [setup-ci_20250110](tracks/setup-ci_20250110/) | chore | 2025-01-12 | 2 days |
## Archived Tracks
| Track ID | Reason | Archived |
| ---------------------------------------------------- | ---------- | ---------- |
| [old-feature_20241201](tracks/old-feature_20241201/) | Superseded | 2025-01-05 |
{
"id": "user-auth_20250115",
"title": "User Authentication System",
"type": "feature",
"status": "in-progress",
"priority": "high",
"created": "2025-01-15T10:30:00Z",
"updated": "2025-01-15T14:45:00Z",
"started": "2025-01-15T11:00:00Z",
"completed": null,
"assignee": "@developer",
"phases": {
"total": 3,
"current": 2,
"completed": 1
},
"tasks": {
"total": 12,
"completed": 5,
"in_progress": 1,
"pending": 6
},
"checkpoints": [
{
"phase": 1,
"sha": "abc1234",
"date": "2025-01-15T13:00:00Z"
}
],
"dependencies": [],
"tags": ["auth", "security"]
}
/conductor:new-track[~][x]/conductor:revertDuring track creation, identify:
In spec.md, list dependencies with:
When a track is blocked:
[!] and reasonAim for tracks that:
Signs a track is too large:
Solution: Split into multiple tracks with clear boundaries.
Signs a track is too small:
Solution: Combine with related work or handle as part of existing track.
Before finalizing spec.md, verify:
Before starting implementation, verify plan.md:
Phase 1: Foundation
- Data models
- Database migrations
- Basic API structure
Phase 2: Core Logic
- Business logic implementation
- Input validation
- Error handling
Phase 3: Integration
- UI integration
- API documentation
- End-to-end tests
Phase 1: Reproduction
- Write failing test capturing bug
- Document reproduction steps
Phase 2: Fix
- Implement fix
- Verify test passes
- Check for regressions
Phase 3: Verification
- Manual verification
- Update documentation if needed
Phase 1: Preparation
- Add characterization tests
- Document current behavior
Phase 2: Refactoring
- Apply changes incrementally
- Maintain green tests throughout
Phase 3: Cleanup
- Remove dead code
- Update documentation
Weekly Installs
3.2K
Repository
GitHub Stars
32.2K
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code2.5K
gemini-cli2.4K
opencode2.4K
cursor2.3K
codex2.3K
github-copilot2.0K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装