mcpField
C
conductor-status

conductor-status

github.com/sickn33Agent 工作流48.7k306 次安装今天更新
代码仓库

关于 conductor-status

conductor-status 是只读技能,可从项目文件汇报 Conductor 项目进度、轨道状态、任务和阻碍项。它帮助团队查看已记录的工作,不会修改计划或运行实现命令。

主要功能

  1. 01检查 Conductor 初始化状态
  2. 02汇总项目轨道
  3. 03按轨道统计任务状态
  4. 04识别阶段与下一项任务
  5. 05检查阻碍项和依赖
  6. 06支持快速及 JSON 输出

适用场景

  1. 01查看项目整体进度
  2. 02检查单个轨道状态
  3. 03查找待办任务与阻碍项
  4. 04生成精简或 JSON 状态

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/sickn33/agentic-awesome-skills --skill conductor-status

安装后在 Claude Code 中输入/conductor-status确认已加载。

详细介绍

Conductor 状态

显示 Conductor 项目的当前状态,包括整体进度、活跃轨道和后续操作。

适用场景

  • 处理 Conductor 状态相关任务或工作流
  • 需要 Conductor 状态方面的指导、最佳实践或检查清单

不适用场景

  • 任务与 Conductor 状态无关
  • 需要使用此范围之外的其他领域或工具

说明

  • 明确目标、约束和所需输入。
  • 应用相关最佳实践并验证结果。
  • 提供可执行的步骤和验证方法。

预检

  1. 确认 Conductor 已初始化:

    • 检查 conductor/product.md 是否存在
    • 检查 conductor/tracks.md 是否存在
    • 如果缺少:显示错误,并建议先运行 /conductor:setup
  2. 检查是否有轨道:

    • 读取 conductor/tracks.md
    • 如果未注册任何轨道:显示设置完成消息,并建议创建第一个轨道

数据收集

1. 项目信息

读取 conductor/product.md 并提取:

  • 项目名称
  • 项目描述
2. 轨道概览

读取 conductor/tracks.md 并解析:

  • 轨道总数
  • 已完成轨道(标记为 [x])
  • 进行中轨道(标记为 [~])
  • 待处理轨道(标记为 [ ])
3. 轨道详细分析

对于 conductor/tracks/ 中的每条轨道:

读取 conductor/tracks/{trackId}/plan.md:

  • 统计任务总数(与 Task 前缀匹配的 - [x]、- [~]、- [ ] 行)
  • 统计已完成任务([x])
  • 统计进行中任务([~])
  • 统计待处理任务([ ])
  • 识别当前阶段(第一个包含未完成任务的阶段)
  • 识别下一个待处理任务

读取 conductor/tracks/{trackId}/metadata.json:

  • 轨道类型(feature、bug、chore、refactor)
  • 创建日期
  • 上次更新日期
  • 状态

读取 conductor/tracks/{trackId}/spec.md:

  • 检查是否记录了阻塞项或依赖项
4. 阻塞项检测

扫描潜在阻塞项:

  • 以 BLOCKED: 前缀标记的任务
  • 依赖尚未完成的轨道
  • 验证失败的任务

输出格式

完整项目状态(无参数)
================================================================================
                        PROJECT STATUS: {Project Name}
================================================================================
Last Updated: {current timestamp}

--------------------------------------------------------------------------------
                              OVERALL PROGRESS
--------------------------------------------------------------------------------

Tracks:     {completed}/{total} completed ({percentage}%)
Tasks:      {completed}/{total} completed ({percentage}%)

Progress:   [##########..........] {percentage}%

--------------------------------------------------------------------------------
                              TRACK SUMMARY
--------------------------------------------------------------------------------

| Status | Track ID          | Type    | Tasks      | Last Updated |
|--------|-------------------|---------|------------|--------------|
| [x]    | auth_20250110     | feature | 12/12 (100%)| 2025-01-12  |
| [~]    | dashboard_20250112| feature | 7/15 (47%) | 2025-01-15  |
| [ ]    | nav-fix_20250114  | bug     | 0/4 (0%)   | 2025-01-14  |

--------------------------------------------------------------------------------
                              CURRENT FOCUS
--------------------------------------------------------------------------------

Active Track:  dashboard_20250112 - Dashboard Feature
Current Phase: Phase 2: Core Components
Current Task:  [~] Task 2.3: Implement chart rendering

Progress in Phase:
  - [x] Task 2.1: Create dashboard layout
  - [x] Task 2.2: Add data fetching hooks
  - [~] Task 2.3: Implement chart rendering
  - [ ] Task 2.4: Add filter controls

--------------------------------------------------------------------------------
                              NEXT ACTIONS
--------------------------------------------------------------------------------

1. Complete: Task 2.3 - Implement chart rendering (dashboard_20250112)
2. Then: Task 2.4 - Add filter controls (dashboard_20250112)
3. After Phase 2: Phase verification checkpoint

--------------------------------------------------------------------------------
                               BLOCKERS
--------------------------------------------------------------------------------

{If blockers found:}
! BLOCKED: Task 3.1 in dashboard_20250112 depends on api_20250111 (incomplete)

{If no blockers:}
No blockers identified.

================================================================================
Commands: /conductor:implement {trackId} | /conductor:new-track | /conductor:revert
================================================================================
单个轨道状态(带 track-id 参数)
================================================================================
                    TRACK STATUS: {Track Title}
================================================================================
Track ID:    {trackId}
Type:        {feature|bug|chore|refactor}
Status:      {Pending|In Progress|Complete}
Created:     {date}
Updated:     {date}

--------------------------------------------------------------------------------
                              SPECIFICATION
--------------------------------------------------------------------------------

Summary: {brief summary from spec.md}

Acceptance Criteria:
  - [x] {Criterion 1}
  - [ ] {Criterion 2}
  - [ ] {Criterion 3}

--------------------------------------------------------------------------------
                              IMPLEMENTATION
--------------------------------------------------------------------------------

Overall:    {completed}/{total} tasks ({percentage}%)
Progress:   [##########..........] {percentage}%

## Phase 1: {Phase Name} [COMPLETE]
  - [x] Task 1.1: {description}
  - [x] Task 1.2: {description}
  - [x] Verification: {description}

## Phase 2: {Phase Name} [IN PROGRESS]
  - [x] Task 2.1: {description}
  - [~] Task 2.2: {description}  <-- CURRENT
  - [ ] Task 2.3: {description}
  - [ ] Verification: {description}

## Phase 3: {Phase Name} [PENDING]
  - [ ] Task 3.1: {description}
  - [ ] Task 3.2: {description}
  - [ ] Verification: {description}

--------------------------------------------------------------------------------
                              GIT HISTORY
--------------------------------------------------------------------------------

Related Commits:
  abc1234 - feat: add login form ({trackId})
  def5678 - feat: add password validation ({trackId})
  ghi9012 - chore: mark task 1.2 complete ({trackId})

--------------------------------------------------------------------------------
                              NEXT STEPS
--------------------------------------------------------------------------------

1. Current: Task 2.2 - {description}
2. Next: Task 2.3 - {description}
3. Phase 2 verification pending

================================================================================
Commands: /conductor:implement {trackId} | /conductor:revert {trackId}
================================================================================

状态标记说明

如有帮助,可在底部显示:

Legend:
  [x] = Complete
  [~] = In Progress
  [ ] = Pending
  [!] = Blocked

错误状态

未找到轨道
================================================================================
                        PROJECT STATUS: {Project Name}
================================================================================

Conductor is set up but no tracks have been created yet.

To get started:
  /conductor:new-track "your feature description"

================================================================================
Conductor 尚未初始化
ERROR: Conductor not initialized

Could not find conductor/product.md

Run /conductor:setup to initialize Conductor for this project.
未找到轨道(带参数)
ERROR: Track not found: {argument}

Available tracks:
  - auth_20250115
  - dashboard_20250112
  - nav-fix_20250114

Usage: /conductor:status [track-id]

计算逻辑

将此视为只读状态视图:报告状态时不得更改计划复选框,也不得调用 setup/revert/implementation 命令。缺失文件或元数据冲突应报告为未知,并区分记录的完成状态与独立验证的测试证据。任务数或轨道数为零时,显示 N/A,而不是除以零;一致地统计阻塞任务和验证任务,并注明分母。

任务统计
For each plan.md:
  - Complete: count lines matching /^- \[x\] Task/
  - In Progress: count lines matching /^- \[~\] Task/
  - Pending: count lines matching /^- \[ \] Task/
  - Total: Complete + In Progress + Pending
阶段检测
Current phase = first phase header followed by any incomplete task ([ ] or [~])
进度条
filled = floor((completed / total) * 20)
empty = 20 - filled
bar = "[" + "#".repeat(filled) + ".".repeat(empty) + "]"

快速模式

如果使用 --quick 或 -q 调用:

{Project Name}: {completed}/{total} tasks ({percentage}%)
Active: {trackId} - Task {X.Y}

JSON 输出

如果使用 --json 调用:

{
  "project": "{name}",
  "timestamp": "ISO_TIMESTAMP",
  "tracks": {
    "total": N,
    "completed": X,
    "in_progress": Y,
    "pending": Z
  },
  "tasks": {
    "total": M,
    "completed": A,
    "in_progress": B,
    "pending": C
  },
  "current": {
    "track": "{trackId}",
    "phase": N,
    "task": "{X.Y}"
  },
  "blockers": []
}

限制

  • 仅当任务明确符合上述范围时,才使用此技能。
  • 不要将输出视为环境特定验证、测试或专家审查的替代品。
  • 如果缺少必需的输入、权限、安全边界或成功标准,请停止并要求澄清。

评论

支持 Markdown