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 nguyenhuuca/assessment
execution-roadmaps
Create execution roadmaps for projects. Use when planning multi-phase projects or feature rollouts. Covers phased delivery and milestone planning.
12cloud-native-patterns
Apply cloud-native architecture patterns. Use when designing for scalability, resilience, or cloud deployment. Covers microservices, containers, and distributed systems.
12agile-methodology
Apply agile development practices. Use when planning sprints, running ceremonies, or improving team processes. Covers Scrum, Kanban, and agile principles.
12designing-systems
Design scalable, reliable software systems. Use when planning new systems, major features, or architecture changes. Covers C4 diagrams, trade-off analysis, and system decomposition.
12component-recipes
Tailwind CSS component recipes. Use when building UI components with consistent styling. Provides copy-paste patterns for cards, badges, buttons, modals, inputs, and more.
11implementing-code
Write clean, efficient, maintainable code. Use when implementing features, writing functions, or creating new modules. Covers SOLID principles, error handling, and code organization.
11