Try to use built-in functions such as apply_filter etc. whenever possible, your code should be minimally invasive.
Always follow the coding style developer guidelines.
If you are thinking about doing something major, contact a developer and there's a good chance (if it is a good feature) that we'll want to roll it in with the main release. But you'll only know if you ask.