---
description: Analyze project structure and status
agent: plan
---

# Analyze Project

## Quick Status

Check project state:

1. **Active branch & git status** - current work
2. **Task status** - backlog overview
3. **CI/build status** - health check
4. **Key files** - recent changes
5. **Dependencies** - outdated packages

---

## Detailed Project Analysis (Optional)

For deeper analysis:

### Task-Focused Analysis

Get task overview from Backlog MCP:

```typescript
backlog_task_list({ status: "In Progress" });
backlog_task_list({ status: "To Do" });
```

For each active task:

1. Read PRD+spec from `@backlog/tasks/[task-id]/`
2. Analyze only project areas relevant to tasks
3. Identify dependencies between tasks
4. Find project areas outside task scope

### Project Structure Analysis

```
- Key directories and purposes
- Recent file modifications
- Architecture patterns used
- Dependencies and their versions
- Build configuration
- Testing setup
```

### Task-Context Knowledge Base

```
- Task specifications count
- Task research files
- Task completion status
- Constraint patterns
- Architecture decisions
```

### Recommendations

Based on analysis:

- What tasks are ready to start
- What project areas need attention
- What dependencies need updates
- What code patterns should be followed

---

**ANTI-HALLUCINATION: Provide quick status by default; detailed analysis on request**
