Except for the last point:
> but a nice pair of jeans and any decent shirt with a collar should do just fine.
Why should there be such a requirement? Why can't people wear shorts and/or t-shirts if they want? Of course there should be some requirement (like having some kind of clothes on) but otherwise I don't think any code is necessary as long as the team is comfortable.