Target the recommendation. Is it for an academic post, a job, a volunteer position, a background check, or a personal reference? Write your letter so that it is focused on this purpose. For example, if the letter is part of a job application package, it should focus on the professional qualifications and conduct of the candidate.
It’s always a smart idea to offer to write a letter of recommendation for a colleague who you know is well qualified for the job in question. Consider it good career karma; after all, you never know when you’ll need a letter of recommendation for yourself, and your colleague may be happy to return the favor.