# Project Context - {{PROJECT_NAME}}

## Overview

**{{PROJECT_NAME}}** is an application ...

<!-- Briefly describe the project, its purpose, and its target users -->

## Business Domain

### Key Concepts

#### Main Entity 1
- **Definition**: ...
- **Properties**: ...
- **Statuses**: ...
- **Business rules**:
  - ...

#### Main Entity 2
- **Definition**: ...
- **Properties**: ...
- **Statuses**: ...
- **Business rules**:
  - ...

### Identified Bounded Contexts (DDD)

#### 1. Context 1
**Responsibility**: ...
- Entities: ...
- Use Cases:
  - ...

#### 2. Context 2
**Responsibility**: ...
- Entities: ...
- Use Cases:
  - ...

## Users

### User Type 1
- **Actions**: ...
- **Needs**: ...
- **Constraints**: ...

### User Type 2
- **Actions**: ...
- **Needs**: ...
- **Constraints**: ...

## Technical and Regulatory Constraints

### Compliance (GDPR, HIPAA, etc.)
- **Sensitive data**: ...
- **Obligations**:
  - ...

### Performance
- **Objectives**:
  - Page load time < 2s
  - Time to Interactive < 3s
  - Lighthouse Score > 90
- **Strategies**:
  - Cache
  - Lazy loading
  - Pagination
  - Query optimization

### Security (OWASP Top 10)
- **Protections**:
  - Input validation (XSS, injection)
  - CSRF tokens on forms
  - Security headers (CSP, HSTS, X-Frame-Options)
  - Rate limiting
  - Access logs

## Business Objectives

### Short term (3 months)
1. ...
2. ...

### Medium term (6 months)
1. ...
2. ...

### Long term (12 months)
1. ...
2. ...

## Tech Stack

{{TECH_STACK}}

## Identified Current Issues

### Issue 1
- **Problem**: ...
- **Impact**: ...
- **Solution**: ...

### Issue 2
- **Problem**: ...
- **Impact**: ...
- **Solution**: ...

## Business Glossary (Ubiquitous Language)

| Business Term | Code Term (English) | Definition |
|---------------|----------------------|------------|
| ... | ... | ... |

## References

- **Documentation**: ...
- **Specifications**: ...
