How to write the guarantee of domestic violence within marriage with legal responsibility?

Legal analysis: First, the letter of guarantee written after domestic violence can be used as evidence of divorce proceedings, and the relevant compensation clauses in the letter of guarantee are legal and have legal effect. Second, the letter of guarantee is actually a contract. A valid letter of guarantee must meet the following three conditions at the same time: 1, reflecting the true wishes of the parties. The content of the letter of commitment shall be the expression of the true meaning of the parties, and shall not be forced, threatened, lured or deceived. 2. No violation of relevant laws and regulations; The content of the letter of commitment must comply with the provisions of the law and cannot violate the prohibitive provisions of laws or administrative regulations, otherwise it may lead to the invalidity of the letter of commitment. 3. Do not infringe upon the interests of others. The promisor can only dispose of what he has the right to dispose of, but not infringe upon the legitimate interests of others.

Legal basis: Article 1042 of the Civil Code of People's Republic of China (PRC) prohibits arranging, buying and selling marriages and other acts that interfere with the freedom of marriage. It is forbidden to ask for property through marriage. Bigamy is prohibited. Spouses are prohibited from living together with others. Domestic violence is prohibited. Abuse and abandonment between family members are prohibited.