Skip to content
Development
Skill

/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.

From plugin
meridian
1876 skills8 agents3 commands7 hooks

Claude Code

$ npx -y skills add markmdev/meridian --skill add-frontmatter --agent claude-code

SKILL.md

add-frontmatter.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
Read more
@markmdev
Ships withmeridian

Meridian makes Claude Code more reliable on real projects. It adds persistent project context, smarter session handoff, and lightweight workflow enforcement so Claude is less likely to lose the plot halfway through a long task.

1876 skills8 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
187
Star history of markmdev/meridian on GitHub, a chart by star-history.com

Other skills on meridian.

create-docs

create-docs

Create or update .meridian/docs/ knowledge files for a module or directory. Produces reference docs with frontmatter for context…

@markmdev@markmdevInstall Skill
error-audit

error-audit

Audit code for silent error swallowing, fallbacks to degraded alternatives, backwards compatibility shims, and UI that fails to…

@markmdev@markmdevInstall Skill
observability-audit

observability-audit

Audit code for observability gaps — debug logs left in, errors caught without being logged, missing context on log entries,…

@markmdev@markmdevInstall Skill
planning

planning

Interview-driven planning methodology that produces implementation-ready plans. Always use this skill INSTEAD of EnterPlanMode —…

@markmdev@markmdevInstall Skill
ux-states-audit

ux-states-audit

Audit UI code for missing loading states, empty states, and error states. Every async operation and data-driven UI must handle…

@markmdev@markmdevInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about add-frontmatter.

Which coding agents can use add-frontmatter?
add-frontmatter installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.