If you are not creating your design system from scratch, you should make an inventory of the existing design. Below are the various options you can focus on when taking inventory.
One way to create an inventory is the visual way.
— Brad Frost / Source (Blog)
… or you group items by their purpose. Taking your core user journeys and mapping the core modules to sections of that user journey to help you see how these patterns fit into the bigger picture.
Keeping this map in mind helped me think in families of patterns joined by a shared purpose, rather than individual pages.
— Alla Kholmatova / Source (Design Systems book) → Yesenia Perez-Cruz, Vox Media / Source (YouTube)
— Yesenia Perez-Cruz, Vox Media / Source (YouTube) → Alla Kholmatova / Source (Design Systems book)
You can also map your components on your user journey, as Airbnb does.