These are good tips but I find it incomplete without at least a few words about the freshness of the beans at the time you buy them. If you're using stale beans the other steps aren't really going to help.
Fortunately, most beans in my experience are sealed such that prior to the consumer purchasing them they'll at least be in a reasonable state. Not roasted within the past few days fresh, but good enough for many folks.