How to add a class to figure tag for featured images?

jQuery( document ).ready(function() {    
jQuery("figure").addClass("wp-caption");
});

You could use jQuery to add a class.