Templatic has written a really informative post describing their processes for developing commercial themes. They talk about doing market studies, creating mockups, design and development, project management, quality assurance, documentation, and more.