# @swoft/gtd-domain

Getting Things Done (GTD) productivity system - consolidated domain implementation following David Allen's methodology.

## 📋 Overview

This package implements the complete GTD workflow system including inbox processing, project management, next actions, and the weekly review process.

## 🏗️ Architecture

- **Aggregates**: Task, Project, Area, Context
- **Value Objects**: TaskStatus, Priority, Energy Level
- **Domain Events**: TaskCreated, ProjectCompleted, InboxProcessed
- **Repositories**: TaskRepository, ProjectRepository

## 🚀 Installation

```bash
pnpm add @swoft/gtd-domain
```

## 📖 Usage

```typescript
import { Task, Project, InboxProcessor } from '@swoft/gtd-domain';

// Create a new task
const task = Task.create({
  description: 'Complete project documentation',
  context: '@computer',
  energyLevel: 'medium'
});

// Process inbox item
const processor = new InboxProcessor();
const result = await processor.clarify(inboxItem);
```

## 🔄 GTD Workflow

1. **Capture**: Collect thoughts and ideas in inbox
2. **Clarify**: Process inbox items using GTD decision tree
3. **Organize**: Sort into appropriate lists and contexts
4. **Reflect**: Weekly review and planning
5. **Engage**: Choose next actions based on context and energy

## 🏷️ Keywords

- GTD, productivity, task-management, getting-things-done, david-allen, swoft

## 📚 Documentation

- [GTD Implementation Guide](../../docs/01-current/reference/gtd-guide.md)
- [Productivity Workflows](../../docs/01-current/reference/AI-10X-WORKFLOWS.md)

---

**Status**: Production Ready  
**Maintained by**: Swoft Development Team