refer
#What is tech design document for

Technical design documents save time for the team by providing instructions without implementing code.
Tech design docs can be handed off to less experienced team members.
Design docs act as documentation for other team members to refer to.
Creating design docs helps think through edge cases and problems.

#Structure

Section	Purpose	Details
Problem	Define the problem	Explain the issue in detail
Solution	Propose a solution	Describe the proposed solution, its benefits, and how it addresses the problem
Implementation	Outline the implementation plan	Specify the steps needed for implementation
Alternatives	Discuss alternatives	Highlight any alternative solutions and why they were not chosen
Risks	Identify potential risks	Discuss potential risks or drawbacks and mitigation strategies