Recently I\'ve noticed a couple of projects on github that extend the functionality of Xcode 4 via plugins.
Two projects as examples by @olemoritz:
There is no formal API or documentation.
Having said that nearly all community plugins are open sourced, use http://alcatraz.io to discover new plugins, then follow their github source code to learn how people are implementing them.
Here are some useful resources: