Skip to content

An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others.

2.2 KB
Raw Blame
/**
 * @fileoverview Project Status Slash Command
 * Enhanced status command with comprehensive project insights.
 */

import { dynamicCommand } from '../../factories.js';

/**
 * The project-status slash command - Project Status
 *
 * Enhanced status command with comprehensive project insights.
 */
export const projectStatus = dynamicCommand(
	'project-status',
	'Project Status',
	'[focus-area]',
	`Enhanced status command with comprehensive project insights.

Arguments: $ARGUMENTS

## Intelligent Status Overview

### 1. **Executive Summary**
Quick dashboard view:
- πŸƒ Active work (in-progress tasks)
- πŸ“Š Progress metrics (% complete, velocity)
- 🚧 Blockers and risks
- ⏱️ Time analysis (estimated vs actual)
- 🎯 Sprint/milestone progress

### 2. **Contextual Analysis**

Based on $ARGUMENTS, focus on:
- "sprint" β†’ Current sprint progress and burndown
- "blocked" β†’ Dependency chains and resolution paths
- "team" β†’ Task distribution and workload
- "timeline" β†’ Schedule adherence and projections
- "risk" β†’ High complexity or overdue items

### 3. **Smart Insights**

**Workflow Health:**
- Idle tasks (in-progress > 24h without updates)
- Bottlenecks (multiple tasks waiting on same dependency)
- Quick wins (low complexity, high impact)

**Predictive Analytics:**
- Completion projections based on velocity
- Risk of missing deadlines
- Recommended task order for optimal flow

### 4. **Visual Intelligence**

Dynamic visualization based on data:
\`\`\`
Sprint Progress: β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘ 80% (16/20 tasks)
Velocity Trend: ↗️ +15% this week
Blocked Tasks:  πŸ”΄ 3 critical path items

Priority Distribution:
High:   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 8 tasks (2 blocked)
Medium: β–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘ 4 tasks
Low:    β–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘ 2 tasks
\`\`\`

### 5. **Actionable Recommendations**

Based on analysis:
1. **Immediate actions** (unblock critical path)
2. **Today's focus** (optimal task sequence)
3. **Process improvements** (recurring patterns)
4. **Resource needs** (skills, time, dependencies)

### 6. **Historical Context**

Compare to previous periods:
- Velocity changes
- Pattern recognition
- Improvement areas
- Success patterns to repeat`
);