atom2ueki/blog/github-hugo-blog-ops
Claude Code and agent skill by atom2ueki/blog
- community
Checking that the SKILL.md file is still in the repository.
Operate a GitHub-hosted Hugo blog repository end-to-end. Use when tasks include creating/editing drafts in content/posts, publishing/unpublishing posts, running quality gates (doctor/seo/media checks), previewing or scheduling content, deploying safely with rollback tags, opening PR-based publish flows, or maintaining theme/workflow infrastructure.
Install
npx vskill@latest install atom2ueki/blog/github-hugo-blog-opsSKILL.md
GitHub Hugo Blog Ops
Use this skill to execute repeatable blog workflows safely through scripts/blogctl.sh.
Quick Start
- Run commands from repo root.
- Use
skills/github-hugo-blog-ops/scripts/blogctl.sh. - Export
BLOG_ROOTif running the script from outside this repo.
Workflow Decision
- Draft or edit content: Use
new, then edit markdown incontent/posts/*.md. - Publish content directly on
main: Usepublish,check, thensafe-deploy --push. - Publish via PR: Use
pr-flow(recommended when review is required). - Maintain infrastructure: Use
bootstrap,maintain,update-theme, anddoctor. - QA/SEO/media cleanup: Use
doctor,seo, andmedia.
Create Drafts
Use new to generate a correctly formatted TOML front matter block.
Then write or revise the body in the created markdown file under content/posts/.
Publish Posts
Use publish to flip draft to false and set lastmod.
Use unpublish to move a live post back to draft mode.
New Operational Commands
bootstrap: Initialize submodules and environment sanity checks.doctor: Validate front matter, links, markdown quality, and build health.preview: Run local Hugo preview with drafts/future content support.schedule list: Show future posts via Hugo listing.schedule publish-due: Auto-publish due drafts based ondate.media audit: Find empty image alt text and non-kebab local image names.media normalize: Rename local media filenames to kebab-case and update references.media compress: Compress large local images (threshold-based).seo: Audit title/summary lengths, canonical fields, OG cover, sitemap/robots.safe-deploy: Check + commit + tag + optional push, with rollback support.pr-flow: Create branch, commit, push, and optionally open GitHub PR.
PR Flow Example
Use --dry-run first for safe-deploy and pr-flow to preview actions safely.
Maintenance Tasks
Use maintain for repository health signals:
- git working tree summary
- submodule status for
themes/github-style - presence of
.github/workflows/hugo.yml - local Hugo installation status
Use update-theme to fast-forward the theme submodule and prepare a commit.
Guardrails
- Avoid manual front matter toggles when
blogctl.shcan do it deterministically. - Run
doctorandcheckbeforesafe-deploy --push. - Keep publishing on
mainbecause GitHub Pages deployment is triggered by pushes tomain. - Prefer
pr-flowover direct pushes when review/approval is needed. - Keep commits scoped to blog changes; avoid unrelated edits in publish commits.
- Use
safe-deploy rollback --dry-runbefore real rollback.
Reference File
Load references/repository-operations.md for path conventions, deployment mechanics, and maintenance checklist.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/github-hugo-blog-ops/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/atom2ueki/blog/github-hugo-blog-ops)