用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Xe/site --skill blogpost-creator命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | blogpost-creator |
| description | Create new blogposts from a template or linkposts using the hydrate command. |
| allowed-tools | Read, Grep, Glob, WebFetch, Bash(go run *), Edit, Write |
Create new blog posts for Xe's site using the hydrate command.
Invoke this skill when you want to create a new blog post. The skill will prompt you for:
go run ./cmd/hydrate <kind> <slug> with the appropriate parametersredirect_to field in the frontmatter with the provided URLBlog posts are created in:
lume/src/blog/<year>/<slug>.mdx for blog and linkpostlume/src/notes/<year>/<slug>.mdx for noteslume/src/talks/<year>/<slug>.mdx for talkslume/src/xecast/<year>/<slug>.mdx for xecastEach post type has its own frontmatter template:
Blog posts include hero image configuration:
---
title: ""
desc: ""
date: YYYY-MM-DD
hero:
ai: ""
file: ""
prompt: ""
social: false
---
Link posts include a redirect URL:
---
title: ""
date: YYYY-MM-DD
redirect_to: "https://example.com"
---
Other types (notes, talks, xecast) have simpler frontmatter:
---
title: ""
desc: ""
date: YYYY-MM-DD
---
Linkposts have enhanced functionality:
Automatic slug extraction: If no custom slug is provided, the skill will extract the basename from the URL (e.g., https://example.com/blog/my-post becomes my-post)
Auto-fetching content: The skill can automatically fetch the webpage to extract:
Use the extract-meta.js file in this folder to extract meta-information from webpages:
node extract-meta.js <url>
When creating a linkpost with a URL like https://anubis.techaro.lol/blog/2025/file-abuse-reports:
The skill will look for publication dates in various formats:
<meta property="article:published_time" content="2025-01-15">"datePublished": "2025-01-15"<time datetime="2025-01-15">/blog/2025/my-postIf no date is found, it defaults to today's date.