with one click
blogpost-creator
// Create new blogposts from a template or linkposts using the hydrate command.
// Create new blogposts from a template or linkposts using the hydrate command.
| 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.
Use when creating git commits, writing commit messages, or following version control workflows
Choose and create the right Neon branch type for testing and development. Use when users ask about Neon branching, migration testing with real data, isolated test environments, schema-only branch workflows for sensitive data, or branch creation via Neon CLI or Neon MCP. Triggers include "Neon branch", "test migrations safely", "branch production data", "schema-only branch", "reset branch" and "sensitive data testing".
Read files without making changes. Use when you need read-only file access.
Create reusable templ UI components with props, children, and composition patterns. Use when building UI components, creating component libraries, mentions 'button component', 'card component', or 'reusable templ components'.
Build interactive hypermedia-driven applications with templ and HTMX. Use when creating dynamic UIs, real-time updates, AJAX interactions, mentions 'HTMX', 'dynamic content', or 'interactive templ app'.
Integrate templ components with Go HTTP server using net/http. Use when connecting templ to web server, creating HTTP handlers, mentions 'templ server', 'HTTP routes', or 'serve templ components'.