Describe what you're going to write, write it, and then describe what you wrote.
From Seven ways to consistently ship great features