wjs-publishing-hugo SKILL.md skillA

wjs-publishing-hugo from jianshuo/claude-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jianshuo/claude-skills/wjs-publishing-hugo@git:20260604.a61f537

Pins git:20260604.a61f537 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
jianshuo/claude-skills
Path
wjs-publishing-hugo/SKILL.md
Versions recorded
1
Latest version
git:20260604.a61f537, committed Jun 4, 2026
Size
4,807 bytes
Repository stars
138
License
MIT

当用户想给自己的 Hugo 静态博客(如 maggiacito.com)新增或编辑帖子、管理类目、上传图片并发布上线时使用——对话式后台,说一句就改文件、commit、推送、自动部署,不需要任何 CMS/服务器。触发词:「发一篇博客」「给 Hugo 加文章」「写篇帖子到博客」「管理博客类目」「上传图片到博客」「博客后台」「/wjs-publishing-hugo」。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# wjs-publishing-hugo

Hugo 博客的对话式后台。**我就是后台**——没有 CMS、没有 /admin 页面、没有 PAT、没有 Cloudflare。
你说要发什么,我按仓库约定改 `content/`、放图、commit、push,走仓库现有部署流自动上线。

适用:maggiacito.com 这类 Hugo 站(`content/posts/*.md` + categories/tags taxonomy + GitHub Pages
Actions 部署)。其它 Hugo 仓库也能用,先按下面「前置检测」对齐约定。

## 前置检测(每次开工先做)
1. 确认在 Hugo 仓库根:有 `hugo.toml`(或 `config.toml`)和 `content/`。不在就让用户给路径。
2. 读 `hugo.toml`:拿 `timeZone`、`[taxonomies]`(确认 `categories`/`tags`)。
3. 看一篇现有帖子的 front matter(`content/posts/` 里随便挑一篇),确认字段与下面「权威格式」一致;
   不一致就以**仓库现状**为准,别套用本文档的默认。

## 帖子的权威格式(maggiacito 现状)
文件:`content/posts/<slug>.md`。front matter 严格如下,日期用 `YYYY-MM-DD HH:MM:SS`(Asia/Shanghai):

```
---
title: "标题"
date: 2026-06-04 21:30:00
lastmod: 2026-06-04 21:30:00
categories: ["知天命"]
tags: []
url: /知天命/标题/
---

正文 markdown……
```

- `url` 显式写 `/<主类目>/<标题或slug>/`(沿用 WordPress 迁来的链接风格;类目和标题可含中文)。
- `categories` / `tags` 是字符串数组,可空 `[]`。
- **不要手写 front matter**——用 `scripts/new-post.py` 生成,格式才不会漂。

## 工作流

### 1. 新增帖子
拿到标题 + 正文(用户给草稿/链接/零散思路都行;要润色按需润),选好类目,然后:
```
echo "<正文 markdown>" | python3 <SKILL_DIR>/scripts/new-post.py \
  --repo <仓库根> --title "标题" --category "知天命" --slug 可选英文slug
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jianshuo/claude-skills/wjs-publishing-hugo@sha256:a30ea23ba7af1745

The line at the top of this page pins the label git:20260604.a61f537, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_oeqq5qugyfw6efub.svg)](https://markdownregistry.com/a/art_oeqq5qugyfw6efub)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jun 4, 2026.

versioncommittedcommitsizeaudit
git:20260604.a61f537 latest2026-06-04 a61f537 4,807 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4807 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

jianshuo/claude-skills · 138 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_oeqq5qugyfw6efub
GET https://markdownregistry.com/api/v1/resolve?ref=jianshuo/claude-skills/wjs-publishing-hugo
GET https://markdownregistry.com/api/v1/blob/a30ea23ba7af1745ef1bb70fb46c22942eb41d979d9b05d4b4398d52bb021522

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from jianshuo/claude-skills

wangjianshuo-perspective SKILL.md skill
jianshuo/claude-skills · wangjianshuo-perspective/SKILL.md · 王建硕的思维框架与表达方式。基于 7 份深度调研(约 100 万词英文博客 + 约 109 万字中文博客, 2002–2022,全部一手)提炼出 7 个核心心智模型、10 条决策启发式和完整的双语表达…
git:20260517.4dbe939 · audit A · 138 stars
wjs-auditing-project SKILL.md skill
jianshuo/claude-skills · wjs-auditing-project/SKILL.md · Use when the user asks to audit what's wrong with a project, "make it right", "看看项目出了什么问题", "为什么用户的需求还没上线", "为什么没提交App…
git:20260512.543ca8b · audit A · 138 stars
wjs-burning-subtitles SKILL.md skill
jianshuo/claude-skills · wjs-burning-subtitles/SKILL.md · Use when the user has a video + an SRT and wants the subtitles either burned into the pixels (libass, always-visible)…
git:20260512.543ca8b · audit A · 138 stars
wjs-cleaning-spam SKILL.md skill
jianshuo/claude-skills · wjs-cleaning-spam/SKILL.md · Use when the user complains about spam on his X/Twitter posts — 同城面付 / 寻固炮 / 线下上门 / 免费破处 这类引流号在他推文下刷的 emoji 垃圾回复 — and…
git:20260610.c496d29 · audit A · 138 stars
wjs-converting-text-to-video SKILL.md skill
jianshuo/claude-skills · wjs-converting-text-to-video/SKILL.md · Use when the user wants a 王建硕-style WeChat article (article.md) turned into a narrated short MP4 video — TTS voiceover…
git:20260525.b5d2f5b · audit B · 138 stars
wjs-converting-wp-to-hugo SKILL.md skill
jianshuo/claude-skills · wjs-converting-wp-to-hugo/SKILL.md · Use when migrating a WordPress site to a Hugo static site on GitHub Pages from a WXR export (.xml) plus the…
git:20260604.a7d43b7 · audit A · 138 stars
wjs-creating-video-book SKILL.md skill
jianshuo/claude-skills · wjs-creating-video-book/SKILL.md · Use when the user wants a book turned into YouTube chapter videos — 每章用 VoiceDrop 读书的有声书 mp3 做音轨,配 GPT Image 2…
git:20260817.25922c1 · audit A · 138 stars
DESIGN.md@wjs-distilling-style DESIGN.md file
jianshuo/claude-skills · wjs-distilling-style/DESIGN.md
git:20260620.2f8ced5 · audit A · 138 stars
wjs-distilling-style SKILL.md skill
jianshuo/claude-skills · wjs-distilling-style/SKILL.md · Use when the user wants to capture a writer's voice from a few sample articles and rewrite text to sound like that…
git:20260701.c459352 · audit A · 138 stars
wjs-dubbing-video SKILL.md skill
jianshuo/claude-skills · wjs-dubbing-video/SKILL.md · Use when the user has a video + a target-language SRT and wants the video to actually speak that language — generates a…
git:20260512.543ca8b · audit A · 138 stars
wjs-eating-and-growing SKILL.md skill
jianshuo/claude-skills · wjs-eating-and-growing/SKILL.md · 吃一堑长一智 — 走完 5 步交互式反思(堑 → 自动输出 → 旧权重 → 新参数 → 替代动作),从「情绪复盘」推进到「行为训练」,把第一反应这一层 L3 权重练新。Use when 王建硕 reflects on a personal…
git:20260518.5644746 · audit A · 138 stars
wjs-editing-multicam SKILL.md skill
jianshuo/claude-skills · wjs-editing-multicam/SKILL.md · Use when the user has 2+ recordings of the same event (each with a `.sync.json` sidecar from wjs-syncing-multicam) and…
git:20260526.587665f · audit A · 138 stars

Every file in jianshuo/claude-skills

Browse by kind, by grade A, or by owner.