概要
Context Compactor is a high-stakes pedagogical tool that transforms the coding process into a gamified knowledge check. Automatically triggering after substantial implementations—such as 50+ lines of code, new API endpoints, or complex refactors—it adopts the persona of someone trapped in a Star Wars-style trash compactor. To stop the walls from closing in, developers must successfully explain their logic, defend their security choices, and identify potential edge cases. This comedic yet effective approach promotes active recall, uncovers logic gaps, and ensures that developers maintain a deep mental model of their codebase during rapid development sessions.