Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

workflow-status

БесплатноБез исполняемых скриптовНе проверен

Display current workflow state across discovery.db and beads. Shows active briefs, open epics, blocked tasks, recent activity, and suggests next actions. Use…

JeremyKalmusот JeremyKalmus★ 28 звёзд на GitHub

Об этом скилле

Workflow Status Skill

Purpose

Provide a comprehensive view of the current state of all workflow activities, combining data from both discovery.db (pre-approval pipeline) and .beads/ (post-approval execution). This skill helps users understand where they left off and what to do next.

When to Use

  • User asks "What's the status?", "Where did I leave off?", "What should I work on?"
  • Resuming work after an interruption or break
  • Getting oriented on overall project state
  • Understanding what's blocked or needs attention
  • Checking on progress across multiple features

Process

Step 0: Path Detection

Determine the location of discovery.db to support both new .parade/ structure and legacy project root:

# Path detection for .parade/ structure
if [ -f ".parade/discovery.db" ]; then
  DISCOVERY_DB=".parade/discovery.db"
else
  DISCOVERY_DB="./discovery.db"
fi

All subsequent database operations in this skill use $DISCOVERY_DB instead of hardcoded discovery.db.

Step 1: Query Discovery Pipeline

Check for briefs in the pre-approval workflow:

sqlite3 -json "$DISCOVERY_DB" "
SELECT
  id,
  title,
  status,
  priority,
  datetime(updated_at, 'localtime') as updated_at,
  datetime(created_at, 'localtime') as created_at
FROM briefs
WHERE status IN ('draft', 'in_discovery', 'spec_ready')
ORDER BY
  CASE priority
    WHEN 1 THEN 1
    WHEN 2 THEN 2
    WHEN 3 THEN 3
    WHEN 4 THEN 4
  END,
  updated_at DESC;
"

Step 2: Query Beads for Active Epics

Get all open and in-progress epics with task counts:

bd list --status open --json
bd list --status in_progress --json

For each epic, get child task breakdown:

# Count tasks by status for each epic
bd list --json | jq '[.[] | select(.parent_id == "<epic-id>") | group_by(.status) | {status: .[0].status, count: length}]'

Step 3: Identify Blocked Tasks

Find all tasks that are blocked:

bd list --status blocked --json

Step 4: Get Ready Work

Show what's available to work on right now:

bd ready --json

Step 5: Query Recent Activity

Get the last 10 workflow events:

sqlite3 -json "$DISCOVERY_DB" "
SELECT
  brief_id,
  event_type,
  details,
  datetime(created_at, 'localtime') as created_at
FROM workflow_events
ORDER BY created_at DESC
LIMIT 10;
"

Step 6: Format and Display

Present information in a structured format:

## Workflow Status

### Discovery Pipeline
- [brief-id]: Title (status: draft) - Priority: High - Last updated: 2 hours ago
- [brief-id]: Title (status: in_discovery) - Priority: Medium - Last updated: 1 day ago
- [brief-id]: Title (status: spec_ready) - Priority: High - Created: 3 days ago

### Active Epics
- [epic-id]: Epic Title (status: in_progress)
  - Tasks: 3 open, 2 in_progress, 1 completed, 0 blocked

- [epic-id]: Another Epic (status: open)
  - Tasks: 5 open, 0 in_progress, 0 completed, 0 blocked

### Blocked Tasks
- [task-id]: Task Title - Epic: [epic-id]
  - Reason: Dependency on [other-task-id]
  - Blocked since: 2 hours ago

### Ready to Work
- [task-id]: Task Title (epic: [epic-id])
- [task-id]: Another Task (epic: [epic-id])

### Recent Activity (Last 10 Events)
- 2 hours ago: spec_approved for brief-id
- 1 day ago: discovery_completed for brief-id
- 2 days ago: created for brief-id

Step 7: Suggest Next Actions

Based on the current state, provide actionable recommendations:

If there are draft briefs:

Suggested Actions:
- Run /start-discovery <brief-id> to begin discovery for "<title>"

If there are spec_ready briefs:

Suggested Actions:
- Run /approve-spec <brief-id> to export "<title>" to beads

If there are ready tasks:

Suggested Actions:
- Run /run-tasks to begin execution on <N> ready tasks

If there are blocked tasks but no ready work:

Suggested Actions:
- Review blocked tasks: bd show <task-id>
- Resolve dependencies or blockers manually

If everything is idle:

Suggested Actions:
- Run /create-brief to start a new feature
- Review completed work: bd list --status closed --json

Implementation Details

SQL Queries

Get Briefs by Status

SELECT
  id,
  title,
  status,
  priority,
  problem_statement,
  datetime(updated_at, 'localtime') as updated_at,
  datetime(created_at, 'localtime') as created_at
FROM briefs
WHERE status IN ('draft', 'in_discovery', 'spec_ready')
ORDER BY priority, updated_at DESC;

Get Recent Workflow Events

SELECT
  brief_id,
  event_type,
  details,
  datetime(created_at, 'localtime') as created_at
FROM workflow_events
ORDER BY created_at DESC
LIMIT 10;

Count Briefs by Status

SELECT
  status,
  COUNT(*) as count,
  GROUP_CONCAT(id, ', ') as brief_ids
FROM briefs
WHERE status != 'archived'
GROUP BY status;

Beads Commands

List All Epics

bd list --json | jq '[.[] | select(.issue_type == "epic")]'

Get Task Counts for Epic

Полный SKILL.md на GitHub

Установить workflow-status в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл workflow-status?

Display current workflow state across discovery.db and beads. Shows active briefs, open epics, blocked tasks, recent activity, and suggests next actions. Use when resuming work or checking project status.

Как установить скилл workflow-status?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл workflow-status запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить workflow-status с