Some advice on the subject can be found in the article by Richard Reis and in the book by Steven G. Krantz (the second link is from the discussion of the Secret Blogging Seminar’s post on the subject). As for the letters of recommendation for students, see also here, here and here.
I have just found some great advice on how to boost your citation count, i.e., get more citations for your publications (which may, as you well know, increase your visibility in the science world and your chances of getting tenure) . An interesting discussion of the so-called Matthew effect in science (to start, see the classical papers by Robert K. Merton here, here, and here) and its influence on the citation patterns can be found here.
As for the general advice on writing research papers, see excellent writing tips from the blog of Terence Tao.
Update 2: making your work available online (e.g. at the arXiv; see this post of Terence Tao for further details) can significantly increase its chances to be cited (but be careful with the copyright issues when making available the work you have already published).
Update 3: Also, quite obviously, publishing your paper in a high-impact journal may increase its chances of getting cited. But submitting your papers to the journals perceived as prestigious has plenty of caveats — see e.g. this post by Terence Tao and this post by Massimo.
Update 4: see this post about the citation trading at ectropy.info