Purpose:
Generate a Markdown post skeleton for a posts column.
AI outputs only:
User will paste real content manually.
只生成骨架,正文我来贴。
You MUST follow: spec-content-frontmatter-001
Hard rules:
frontmatter 字段齐全、顺序一致、特殊信息使用规范中的扩展字段
Read: posts/index.md
Goal: Locate the target column path.
Example reference: 栏目目录
先从 posts 主索引找到专栏入口
Read column index: posts/ai-discourse-analysis/index.md
Goal:
Auto-number rule:
NNN|title or package names NNN-topic-slug (e.g. 001, 002, 003); ignore the leading publication dates in list rowsIf Case List is empty:
Example reference: 栏目目录
从 Case List 自动算下一篇:最大值+1,补零三位
Read latest 1–3 articles in the column.
Goal:
YYYY/MM/NNN-topic-slug/index.mdassets/Do NOT reuse content, only learn format.
User provides:
Optional:
User does NOT need to provide the number.
用户只给:专栏 + 标题。编号自动算
If user does not provide topic slug: Generate a short english slug from the title:
Rules:
topic slug 自动英文化,短,稳定
Package path: posts/ai-discourse-analysis/{YYYY}/{MM}/{NNN}-{topic-slug}/
Filename: index.md
Materials and images: assets/
NNN is auto-numbered from Step 2. YYYY/MM follows the created date in Asia/Shanghai. Keep the package name and id stable after publication.
Required fixed values: module: posts submodule: (from column index; do not invent) type: article status: active canonical: true source_of_truth: devlog filename_policy: entrypoint
Other fields:
Dates: created = today in Asia/Shanghai updated = today in Asia/Shanghai
保持仓库统一 metadata 语法;其余字段按专栏既有风格推断
Generate minimal placeholders only:
(placeholder)
(placeholder)
(placeholder)
No actual content.
Additionally output ONE preview line showing the expected column Case List entry:
The Case List is generated from article metadata. Do not manually paste into the AUTO-INDEX block.
额外给一行供核对;Case List 由目录脚本自动生成。
Output ONLY:
1) Package path and filename (index.md)
2) Full markdown (frontmatter + skeleton)
3) Suggested Case List line (single line)
No explanations. No extra text.