Subject: [chef] Identifying orphaned attributes

You could potentially use pry to list the attributes that are set and compare it to the list of attributes you have. I am not aware of any automated tool that would identity unused attributes. You could potentially search your code base for references to the attributes using a for loop and a list of attributes.