See 
PublishedAPI for packages intended to be used by Plugin and Contrib authors, or 
browse all packages.
See also 
Developing plugins, 
Developer's Bible, 
Technical Overview
Wizard to verify script paths.
  WIZARD verify 
Verify the validity of scripthash entries.
This is brutally hard work - don't do it unless you have to!