AI-Specific Code Smells: From Specification to Detection