- Write migration plan
- Agent edits in batches
- Tests per batch
Ship a 40-file refactor with a coding agent
Plan, execute and review a cross-cutting refactor in small batches, with Claude Code making the edits and GitHub Copilot reviewing each PR.
A solution to prevent Claude Code from auto-compacting during critical coding tasks, ensuring progress is saved effectively.
While working on complex coding tasks, the auto-compaction feature of Claude Code can interrupt the workflow, leading to concerns about lost progress. This can be particularly frustrating during long sessions where maintaining context is crucial.
Recognize that the auto-compaction feature interrupts coding tasks, risking loss of context and progress.
Develop a skill that prompts Claude to save its progress during long coding sessions, although this may increase token usage.
Use the catnap feature to inform Claude when it reaches 50% context, allowing it to finish its current task before compacting.
Plan, execute and review a cross-cutting refactor in small batches, with Claude Code making the edits and GitHub Copilot reviewing each PR.
Claude Code reads your coverage report, picks the riskiest untested modules and writes unit tests that pass, one small PR at a time.
Copilot and Claude review each PR for bugs, missing tests and risky changes before a human looks, so reviewers can focus on design.