context-management
Context Management
Why Context Matters
- Reduces ramp-up time
- Prevents repeated mistakes
- Enables informed decisions
- Facilitates collaboration
Context Types
Project Context
- What the project does
- Why it exists
- Who uses it
- Key constraints
Technical Context
- Architecture decisions (ADRs)
- Technology choices
- Coding conventions
- Known issues
Historical Context
- Why decisions were made
- What was tried before
- Lessons learned
Context Capture
Decision Log
## Decision: [Title]
**Date**: [Date]
**Context**: [Why this came up]
**Decision**: [What was decided]
**Rationale**: [Why this choice]
**Consequences**: [What changed]
Knowledge Base
- README for project overview
- ADRs for architecture
- CONTRIBUTING for development
- CHANGELOG for history
Code Comments
// CONTEXT: This retry logic exists because the external API
// has intermittent failures. See incident-123 for details.
// We chose exponential backoff after testing showed it
// reduces error rate by 80%.
Context Sharing
New Team Member
- Start with README
- Review key ADRs
- Pair on first task
- Introduce to stakeholders
Handoff
- Document current state
- List open questions
- Identify risks
- Warm handoff meeting
Best Practices
- Write it down: Don't rely on memory
- Keep it current: Update as things change
- Make it findable: Organize logically
- Be specific: Include the "why"
- Review regularly: Remove stale info
More from dralgorhythm/claude-agentic-framework
react-native-reanimated
React Native Reanimated 4.x animation patterns. Use when adding animations, transitions, entering/exiting effects, or gesture-driven animations to React Native screens. Replaces Framer Motion for mobile.
105compliance
Ensure regulatory compliance. Use when implementing GDPR, HIPAA, PCI-DSS, or SOC2 requirements. Covers compliance frameworks and controls.
52brainstorming
Generate and explore ideas effectively. Use when starting new projects, solving problems, or exploring solutions. Covers ideation techniques and divergent thinking.
50security-review
Conduct security code reviews. Use when reviewing code for vulnerabilities, assessing security posture, or auditing applications. Covers security review checklist.
47optimizing-code
Improve code performance without changing behavior. Use when code fails latency/throughput requirements. Covers profiling, caching, and algorithmic optimization.
47requirements-analysis
Analyze and refine product requirements. Use when clarifying scope, identifying gaps, or validating requirements. Covers requirement types and analysis techniques.
46