jianshuo/claude-skills / wjs-publishing-hugo
wjs-publishing-hugo
Verified当用户想给自己的 Hugo 静态博客(如 maggiacito.com)新增或编辑帖子、管理类目、上传图片并发布上线时使用——对话式后台,说一句就改文件、commit、推送、自动部署,不需要任何 CMS/服务器。触发词:「发一篇博客」「给 Hugo 加文章」「写篇帖子到博客」「管理博客类目」「上传图片到博客」「博客后台」「/wjs-publishing-hugo」。
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 5.0 KB |
| SKILL.md | skill md | 4.7 KB |
| scripts/add-image.pyexecutable | script | 2.6 KB |
| scripts/categories.shexecutable | script | 577 B |
| scripts/new-post.pyexecutable | script | 3.5 KB |
| scripts/publish.shexecutable | script | 833 B |
scripts/categories.sh
View on GitHub#!/usr/bin/env bash
# List existing categories used across the Hugo blog, with post counts (desc).
# Run from the repo root, or pass the repo root as $1.
set -euo pipefail
REPO="${1:-.}"
cd "$REPO"
[ -d content ] || { echo "error: no content/ dir — is '$REPO' a Hugo site root?" >&2; exit 1; }
# Pull every quoted value out of `categories: [...]` front-matter lines.
grep -rhoE '^categories:\s*\[.*\]' content 2>/dev/null \
| grep -oE '"[^"]+"' \
| tr -d '"' \
| sort \
| uniq -c \
| sort -rn \
| awk '{cnt=$1; $1=""; sub(/^ /,""); printf "%4d %s\n", cnt, $0}'
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |