tutorial for making tikz/pgf library
I want to write a TikZ-based package. What TikZ/PGF-specific things should I be aware of? For those who've written such packages, what do you wish you'd known when you started out?
The ultimate goal is to write to be able to draw illustrations of common Computer Science data structures.