Decomposition-reconstruction is a two-phase analytical technique: first, break a complex system into atomic components and understand their relationships; second, either recombine components in better configurations or identify critical elements that drive system behavior.
Reconstruction (bottleneck identification): Critical path: Database query (1.0s) + JS bundle (0.8s) = 1.8s of the 3.0s total Optimization target: Optimize DB query indexing and code-split JS bundle → Expected 1.5s page load
Ask user to describe the system (what are we analyzing), current problem or goal (what needs improvement, understanding, or redesign), boundaries (what's in scope vs out of scope), and success criteria (what would "better" look like). Clear boundaries prevent endless decomposition. See Scoping Questions for clarification prompts.
Используйте при работе со сложными системами, требующими упрощения, выявлении узких мест или критических точек сбоя, перепроектировании архитектуры или процессов для повышения производительности, устранении проблем, которые кажутся непреодолимыми, анализе зависимостей для понимания волновых эффектов, пользователь упоминает «это слишком сложно», «где узкое место», «как нам это перепроектировать», «какие ключевые компоненты» или когда оптимизация требует понимания того, как взаимодействуют части. Источник: lyndonkl/claude.