AgentSkillsCN

create-draft

在 posts/ 目录下创建新的博客草稿 Markdown 文件,并自动添加合适的前言元数据。

SKILL.md
--- frontmatter
name: create-draft
description:
  Creates a new draft blog post Markdown file with appropriate frontmatter in
  the posts/ directory.
disable-model-invocation: true
allowed-tools: Read, Write, Edit

Create a new Markdown file named $ARGUMENTS using the @template.md in this project's @posts directory. If no $ARGUMENTS given, fallback to "untitled".

Use $ARGUMENTS or fallback for the frontmatter title, ensure draft is set to true and set date equal to the current datetime in ISO format (i.e. new Date().toISOString()) as a double-quoted string.