Skip to main content

add-frontmatter

Scan all .md files in the project and add or fix YAML frontmatter (summary + read_when) so they can be discovered by context routers like Reflex.

소스 정보

저장소
markmdev/meridian
최근 소스 활동
2026년 2월 28일 07:41
감지된 SKILL.md 언어
영어
스타
186
포크
21

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
add-frontmatter
description
Scan all .md files in the project and add or fix YAML frontmatter (summary + read_when) so they can be discovered by context routers like Reflex.
# Add Frontmatter Scan every `.md` file in the project and ensure it has the required frontmatter so Reflex can discover and route it. ## Required frontmatter format ``` --- summary: One-line description of what this file covers read_when: - keyword or phrase that signals this file is relevant - another keyword --- ``` ## What to skip - Files already having correct `summary` + `read_when` frontmatter — leave them alone - Files that have frontmatter with any other keys (e.g. `name`, `description`, `title`) — do not replace or merge, leave them alone - `node_modules/`, `.git/`, `dist/`, `build/`, `vendor/`, `__pycache__/` - `.claude/` — agents, skills, commands, hooks all use their own frontmatter schemas - Files that are purely generated output, changelogs, or boilerplate with no reusable knowledge (e.g. `CHANGELOG.md`, `LICENSE`) ## Process 1. Glob all `.md` files, excluding skip dirs 2. For each file: check if frontmatter with `summary` and `read_when` already exists 3. If missing or incomplete: read the file content, infer a concise `summary` and 2-4 `read_when` keywords from the actual content 4. Prepend the frontmatter block (or insert after existing `---` if only partially present) 5. Write the updated file ## Quality criteria - `summary` is a single line, factual, specific — describes what the file actually covers - `read_when` keywords match how someone would describe a task that needs this file (e.g. `"setting up auth"`, `"debugging routing"`, `"OpenClaw plugin"`) - Don't invent knowledge not in the file — infer from actual content only
GitHub에서 보기