obsidian-markdown-structure_skill

This skill validates and enforces Obsidian markdown structure, ensuring correct frontmatter placement, heading hierarchy, and content organization for
  • Python

24

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill jykim/claude-obsidian-skills --skill obsidian-markdown-structure

  • SKILL.md3.6 KB

Overview

This skill validates and enforces consistent Markdown document structure for Obsidian vaults. It checks frontmatter placement, heading hierarchy, and content organization to ensure files follow a predictable template. Use it to catch structural problems early and keep notes uniform across a vault.

How this skill works

The skill inspects a Markdown file for a single YAML frontmatter block at the very top and requires a blank line after the closing ---. It checks that headings start at H2 for main sections, that subheadings follow H3/H4 without skipping levels, and that no content appears before the first heading. It also validates summary-first organization and correct blockquote attribution patterns.

When to use it

  • When creating new Markdown documents to ensure they start with correct structure.
  • When validating existing files to find frontmatter, heading, or organization issues.
  • When preparing content for sharing or publishing from an Obsidian vault.
  • When enforcing team or personal style standards across many notes.

Best practices

  • Keep exactly one YAML frontmatter block at the top and add a blank line after it.
  • Use H2 (##) for main sections, H3 (###) for subsections, and avoid skipping heading levels.
  • Always include a Summary or Overview section as the first visible heading.
  • Put no content before the first heading; avoid H1 headings that duplicate frontmatter title.
  • Format quotes as blockquotes and include attribution on a separate line when possible.

Example use cases

  • Batch-validate a vault to locate files with misplaced frontmatter or missing blank line.
  • Standardize note templates so every document begins with a Summary and consistent headings.
  • Prepare a set of documents for export by ensuring heading hierarchy and quote formatting are correct.
  • Fix structural issues flagged by automated linters or CI checks before publishing.

FAQ

No. It validates frontmatter position and presence only. Use a dedicated YAML frontmatter validator to inspect property names and values.

Can documents use H1 for special content types?

H1 is discouraged for general notes because it often duplicates frontmatter title. Use H1 only for specific templates that require it and treat those as content-type exceptions.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational