Skip to main content
ClaudeWave
Skill1.3k repo starsupdated today

context-management

Context Management loads and maintains project state across Claude Code sessions by retrieving documents from a .claude/ directory structure containing PRDs, epics, tasks, and agent definitions. Use this skill to enable persistent workflow continuity across multiple project phases, isolate context per parallel work stream, and recover session state without losing project information.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/a5c-ai/babysitter /tmp/context-management && cp -r /tmp/context-management/library/methodologies/ccpm/skills/context-management ~/.claude/skills/context-management
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Context Management

Project context loading, isolation, and persistent state management across CCPM sessions.

## Capabilities
- Load project context from .claude/ directory structure
- Maintain persistent context across sessions (PRD, epic, task states)
- Isolate agent contexts per work stream
- Context handoff between phases
- Session state recovery

## Context Sources
```
.claude/
  prds/              # PRD documents
  epics/             # Epic and task documents
  agents/            # Agent definitions
  context/           # Project-wide context
  commands/          # Command definitions
  rules/             # Reference rules
```

## Context Flow
1. **Phase 1** (PRD): Loads project description, creates PRD context
2. **Phase 2** (Epic): Loads PRD, creates architecture context
3. **Phase 3** (Tasks): Loads PRD + Epic, creates task context
4. **Phase 4** (Sync): Loads all artifacts, syncs to GitHub
5. **Phase 5** (Exec): Loads stream-specific context per agent

## Isolation
Each parallel agent receives only the context relevant to its stream, preventing context pollution and keeping agents focused.