\ProvidesPackage{thmdef-tcolorbox}
\define@key{thmdef}{tcolorbox}[{}]{%
  \thmt@trytwice{}{%
    \RequirePackage{tcolorbox}%
    \RequirePackage{thm-patch}%
    \addtotheorempreheadhook[\thmt@envname]{\begin{tcolorbox}[#1]}%
    \addtotheorempostfoothook[\thmt@envname]{\end{tcolorbox}}%
  }%
}
