When students come to after school detention they often don't find it a rewarding experience. I have them write about what rule or rules that they broke and then I have them copy a several paragraphs to help to motivate them to not make the same mistakes again. I keep them until the end of the year and if the student gets in trouble again I have them fill out another copy. It also serves as a way for students to be held accountable for their actions when I contact parents throughout the year.
This is a customizable document so you can easily change the rules and the name as needed.