IIRC, site guidelines don't specifically say "no ad hominems," but it seems to be generally understood that "no ad hominems" is the correct interpretation of this guideline:
When disagreeing, please reply to the argument instead of calling names. "That is idiotic; 1 + 1 is 2, not 3" can be shortened to "1 + 1 is 2, not 3."
https://news.ycombinator.com/newsguidelines.html