I would like to reproduce the fancy box below.
I tried to adapt some codes from the manual Sec 10.2 and made adjustment as below.
\documentclass[openany]{book}
\usepackage{xcolor}
\usepackage[many]{tcolorbox}
\newcommand*\mycirc[1]{%
\begin{tikzpicture}[baseline=(char.base)]
\node[shape=circle,fill=white,inner sep=1pt,minimum size=2ex](char) {#1};
\end{tikzpicture}}
\newtcolorbox[auto counter]{myex}[2]{
colback=white,
enhanced,
colframe=white,fonttitle=\Large\bfseries,
colbacktitle=purple,enhanced,
attach boxed title to top left={yshift=-2mm},
boxed title style={%
enhanced,
colframe=purple,
colback=purple,
arc=12pt,
sharp corners,
varwidth boxed title*=-3cm,
rounded corners=west
},
title= Example \mycirc{\textcolor{black}{\thetcbcounter}},
}
\begin{document}
\begin{myex}{SKILLS}{Problem-Solving}
The diameters of a metal pin produced by a
\end{myex}
\end{document}
Resulting into
Any kind help is highly welcomed.