What is a Writ of Habeas Corpus? Attorney Corey Young has extensive experience with habeas corpus petitions, and he can provide skilled legal representation tailored to meet your unique needs.In Texas, the state writ of habeas corpus is a legal mechanism that allows individuals to challenge their detention or imprisonment. In the United States, the writ of habeas corpus reviews whether a prisoner's custody is legitimate. The writ of habeas corpus is the remedy to be used when any person is restrained in his liberty. The required application for a person currently incarcerated in TDCJ to file for a writ of habeas corpus under Texas Code of Criminal Procedure, Article 11.07. A writ of habeas corpus is a legal order that requires the custodian to bring the detained individual before a court or judge. A writ of habeas corpus is a legal order that requires the custodian to bring the detained individual before a court or judge. Habeas Corpus Guide (Texas Law Help). A writ of habeas corpus is a legal tool for enforcing a superior right of possession to a child.