new-post

Create a new blog post. Use when user says "new post", "新文章", "新增文章", or wants to start writing a new article.

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 3, 2026

When & Why to Use This Skill

This Claude skill automates the initial setup of new blog posts for static site generators. It streamlines the content creation workflow by guiding users through topic selection, generating SEO-friendly titles, and automatically creating structured Markdown files with pre-configured YAML frontmatter. By handling file management and metadata initialization, it allows writers to transition immediately from an idea to the drafting phase.

Use Cases

  • Quickly initiating a new technical blog post with standardized metadata and directory placement.
  • Maintaining content consistency across a personal website by using a predefined Markdown template for all new entries.
  • Reducing administrative overhead for developers using Hugo, Hexo, or Jekyll by automating the 'new post' command-line workflow through natural language.
namenew-post
descriptionCreate a new blog post. Use when user says "new post", "新文章", "新增文章", or wants to start writing a new article.
allowed-toolsBash(date:*), Write, Read, AskUserQuestion

Create New Blog Post

Process

  1. 詢問用戶文章主題或內容方向
  2. 根據用戶輸入生成暫定標題和檔名
  3. 詢問用戶想要的 tags(可選)
  4. 在 /home/davidleitw/Desktop/davidleitw.github.io/blog/content/post/ 建立新的 markdown 檔案

Template

---
title: "{暫定標題}"
date: {當前時間,格式: 2022-01-01T00:00:00+08:00}
author: davidlei
draft: true
tags:
    - {tag1}
    - {tag2}
categories: ["{category}"]
description: ""
---

## 前言

{在這裡開始寫作}

Notes

  • draft: true 表示這是草稿,不會被 deploy
  • description 留空,deploy 時會提醒補上
  • 檔名建議使用英文小寫加底線,例如 linux_fork_01.md
  • 當用戶準備發布時,將 draft 改為 false

After creation

告訴用戶:

  • 檔案已建立的路徑
  • 可以開始編輯內容
  • 完成後記得將 draft: false 並補上 description
  • 使用 /deploy 發布