Draft and review a Hugo blog post with Claude Code
At a glance
A blogger combines a local Hugo preview, Claude Code and an editor to plan, revise and publish a post. This workflow is listed under Writing, Coding.
SourceBuilding a tool for these workflows? See weekly rates.
What they did
1) In a Hugo blog project, run `hugo server -D --navigateToChanged` in one terminal, open Claude Code in another, and keep the post in an editor plus a browser preview in mobile emulation. 2) Tell Claude the article topic and ask it to break the work into a plan saved under the project's specs directory. Review and edit that plan, then ask Claude to reload it. Have it find relevant material in existing posts and use those findings as context for a draft. 3) Read the changes in the editor and preview; ask for targeted revisions and edit the prose yourself. If editing outside Claude, ask it to reload the file. 4) Once the post is ready, use the site's existing Git and deployment workflow to commit and publish it, then check the deployment and the live page.
How it went
The author used this process to produce the article describing it and reported checking both the homepage and the deployed article.
Worth knowing
His deployment monitoring relied on his own GitHub Actions and agent setup. He selected the final header image himself after the AI suggestions did not fit.