You put your own reputation on the line when you write a letter of recommendation. If you feel you do not know the person well enough, or they are somebody you cannot in good conscience recommend, decline their request.
Keep your writing action-oriented. Begin each paragraph with a punchy, active affirmation of the candidate’s qualities or character. Strong verbs are your friend.