Skip to main content
Proven patterns for different project types and goals.

Choosing the Right Approach

Different projects benefit from different session strategies. This guide helps you choose and execute effectively.

Greenfield Projects

Starting from Scratch

Characteristics:
  • No existing codebase
  • Clear requirements
  • Freedom in technology choices
  • High autonomy potential
Recommended strategy:
Example: Building a REST API:

Existing Codebases

Understanding First

Critical: Don’t modify before understanding. Discovery pattern:

Feature Addition Strategy

For well-tested codebases:
For poorly-tested codebases:

Research and Analysis Sessions

Competitive Analysis

Goal: Understand landscape and make informed decisions Structure:
Example: Cache selection:

Technical Due Diligence

Before adopting library/framework:

Migration Projects

System Migration Strategy

Large-scale migrations benefit from phased approach: Phase 1: Assessment
Phase 2: Parallel Implementation
Phase 3: Integration
Phase 4: Validation
Phase 5: Cutover

Database Migration Example

Performance Optimization Sessions

Systematic Optimization

Structure:
Key principles:
  • Always establish baseline first
  • Change one thing at a time
  • Measure after each change
  • Prove improvements with data

Example: API Performance

Debugging Sessions

Bug Investigation Pattern

Systematic debugging:

Root Cause Analysis

For complex issues:

Multi-Session Strategies

Parallel Development

Independent features:

Serial Deep Work

Complex, dependent features:

Domain-Specific Strategies

Machine Learning Projects

Pattern:

Distributed Systems

Pattern:

Data Engineering

Pattern:

Session Maintenance

Regular Maintenance Tasks

Weekly pattern:

Refactoring Sessions

Dedicated refactoring:

Anti-Patterns to Avoid

The Everything Session

Don’t:
Do: Break into focused sessions per goal.

The Scope-Creep Session

Don’t:
Do: Complete initial scope, then expand in next session.

The Validation-Light Session

Don’t:
Do: Systematic validation is not optional.

The Assumption Session

Don’t:
Do: Evidence, not assumptions. Always validate.

Measuring Session Effectiveness

Good Session Indicators

  • Clear goal achieved
  • All tests passing
  • Performance validated with benchmarks
  • Documentation updated
  • Code follows project conventions
  • Ready for PR or delivery

Red Flags

  • Unclear what was accomplished
  • Tests failing or not run
  • Performance claims without proof
  • Undocumented changes
  • “Works on my machine” mentality

Post-Session Checklist

After significant session:
  • Run full test suite
  • Review all file changes
  • Verify documentation updated
  • Check performance if relevant
  • Validate against success criteria
  • Clean up WIP/debug code
  • Create PR or package deliverables

Next Steps

Apply these strategies: