context-persistencelisted
Install: claude install-skill enchantednatures/.dotfiles
# Context Persistence
## Overview
Context Persistence enables AI to maintain state across multiple sessions, building increasingly rich understanding as work progresses through AI-DLC phases. This is essential for coherent, context-aware assistance.
**Core principle:** Context compounds - each phase enriches the next.
## When to Use
**Always:**
- Starting a new session (load previous context)
- Ending a session (save current state)
- Transitioning between phases (handoff context)
- Resuming work after interruption
**Never skip:**
- Starting "fresh" without checking context
- Losing decision rationale
- Forgetting constraints discovered earlier
## The Context Flow
```
Inception Context → Construction Context → Operations Context
↓ ↓ ↓
Requirements Architecture Infrastructure
User Stories Domain Models Deployments
Constraints Technical Decisions Monitoring
↓ ↓ ↓
RICHER CONTEXT → RICHER CONTEXT → RICHER CONTEXT
```
## Context Structure
### Context Hierarchy
```
project-root/
├── .ai-dlc/
│ ├── context.json # Master context index
│ ├── inception/
│ │ ├── requirements.md
│ │ ├── decisions.md
│ │ └── constraints.md
│ ├── construction/
│ │ ├── architecture.md
│ │ ├── domain-models.md
│ │ └── tech-decisions.md
│ ├── operations/
│ │ ├── infrastructure.md
│ │ ├── deployments.md
│ │