Connecting a 3.3v arduino mini pro to a Raspberry Pi

Do I need specific code to run on the arduino in order for it to respond to the i2cdetect command?

Yes, you do. Use the Wire library Wire - Arduino Reference. Tell the code your chosen address and register the receive and request handlers.