Package Exports
- @swoft/gtd-domain
- @swoft/gtd-domain/client
- @swoft/gtd-domain/contracts
- @swoft/gtd-domain/contracts/InboxCaptureRequest
- @swoft/gtd-domain/contracts/InboxItemSummary
- @swoft/gtd-domain/contracts/InboxQueryCriteria
- @swoft/gtd-domain/contracts/ProjectContracts
- @swoft/gtd-domain/contracts/index
- @swoft/gtd-domain/contracts/zodios-api
- @swoft/gtd-domain/mcp
- @swoft/gtd-domain/react
Readme
@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
pnpm add @swoft/gtd-domain📖 Usage
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
- Capture: Collect thoughts and ideas in inbox
- Clarify: Process inbox items using GTD decision tree
- Organize: Sort into appropriate lists and contexts
- Reflect: Weekly review and planning
- Engage: Choose next actions based on context and energy
🏷️ Keywords
- GTD, productivity, task-management, getting-things-done, david-allen, swoft
📚 Documentation
Status: Production Ready
Maintained by: Swoft Development Team