add-frontmatter

SkillDocs & knowledge

为当前打开的 Markdown 文件添加 Frontmatter(包含 title 和 description)

Use add-frontmatter in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add add-frontmatter and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the add-frontmatter skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

add-frontmatterStart free

What this skill tells your AI

The instructions your AI receives, as published by bd-dxg/my-pi in skills/add-frontmatter/SKILL.md and read by Ahel’s review.

功能说明

为您当前正在编辑的 Markdown 文件自动添加或更新 Frontmatter,包含以下字段:

  1. title: 使用文件中的一级标题作为 title
  2. description: 根据文章内容生成简短的描述(不超过 50 字)

使用方法

  1. 在 VSCode 中打开需要处理的 Markdown 文件
  2. 运行 /add-frontmatter 命令
  3. 系统自动为文件添加 Frontmatter

处理逻辑

  • 如果文件已有 Frontmatter,则更新现有内容
  • description 需要准确概括文章核心内容(不超过 50 字)
  • 保持原有文件格式和内容不变

Signals

GitHub stars
88
Forks
13
Last commit
Oct 2026
Advanced
Item type
skill
Key
add-frontmatter
Source
github.com/bd-dxg/my-pi