Those of you interested in Software Factories and Visual Studio Automation may find it relevant to investigate the new Feature Builder Power Tools. I will be happy to hear about your experiences and suggestions.
Exerpt from landingpage:
Feature Builder is a Power Tool for Visual Studio 2010 (preview) which helps you easily create rich Visual Studio extensions. These extensions include tools (Visual Studio automation), code (your sample code or binaries you wish to share with others) and a map (a set of steps your users will want to follow to get the best experience with your extension). You can use this power tool to quickly package up sample code with custom menus, or take the time to create complete automated guidance experiences targeted toward a specific technology. You can share your extension with users by distributing a .vsix file, or posting to the Visual Studio Gallery.