← Back to list
✍️

obsidian-markdown-structure Checked

Validate and enforce markdown document structure including frontmatter positioning, heading hiera…
✍️ Writing skills By jykim Version v1.0.0 Added 2026-10-21 Updated 2026-10-21 Source ↗
7.2Overall rating
1Views
9Downloads
49Stars

Installation

🤖 Install via AI

Copy the prompt below and send it to your AI assistant (e.g. Claude Code) — it will follow the instructions and install automatically.

Install the "obsidian-markdown-structure" skill by following the instructions at https://skill123.me/install/obsidian-markdown-structure?ref=detail
⌨️ Command line install

Run in your terminal — downloads and installs to ~/.claude/skills/.

curl -fsSL https://skill123.me/install/obsidian-markdown-structure.sh?ref=detail | bash
📦 Download ZIP

Download the zip and extract it into your skills directory (e.g. ~/.claude/skills/), then restart your session.

⬇ Download v1.0.0 · 2 KB
📊 Static rating
7.2/10
Trigger
6.5
Structure
7.5
Workflow
6.0
Content
7.0
Engineering
8.0
Security
9.0

Six-dimension rubric with reviewer rationale.

View scorecard ↓
🛡 Dynamic test
—

Not live-tested yet — this skill is rated on static analysis only.

About this skill

Validate and enforce markdown document structure including frontmatter positioning, heading hierarchy, and content organization. Use when creating or validating markdown files.

Documentation

Markdown Structure Validation

Enforce consistent markdown structure across all vault content.

When to Use This Skill

Activate when you need to:

  • Create new markdown documents
  • Validate document structure
  • Fix structural issues
  • Ensure consistent formatting

Core Structure Rules

### 1. Frontmatter Positioning

**Single YAML block at top, blank line after**:


✅ CORRECT:
---
title: Document Title
created: 2025-10-31
tags:
  - tag1
---

## First Section Header
Content starts here...

❌ INCORRECT:
---
title: Document Title
---
## First Section (no blank line)

❌ INCORRECT:
## Title

---
frontmatter: here
---
(frontmatter not at top)

**Critical Rules**:

  • One YAML block only
  • Must be first thing in file
  • Blank line after closing ---
  • No content before first heading

> **Note**: This skill validates frontmatter **POSITION** (where it goes in the document).

> For frontmatter **CONTENT** (properties, values, formatting), use obsidian-yaml-frontmatter skill.

### 2. Heading Hierarchy

**Start with H2, no H1 duplication**:


✅ CORRECT:
---
title: Document Title
---

## Introduction
Content...

### Subsection
Content...

❌ INCORRECT:
# Document Title (duplicates frontmatter title)

## Section

**Hierarchy Rules**:

  • Use H2 (##) for main sections
  • Use H3 (###) for subsections
  • Use H4 (####) sparingly
  • Don't skip levels (H2 → H4)

### 3. Content Organization

**Summary-first structure**:


✅ CORRECT:
---
frontmatter
---

## Summary
Overview of key points...

## Main Content
Detailed content...

## Related Topics
Links and connections...

❌ INCORRECT:
---
frontmatter
---

This is content without a heading.

## First Section

### 4. Quote Block Formatting

**Blockquotes with attribution**:


✅ CORRECT:
> "Quote text here" - Speaker/Context

> "Knowledge is power, but enthusiasm pulls the switch."
> - Ivern Ball

❌ INCORRECT:
"Quote text" (not in blockquote)
> Quote without attribution

Structure Validation Workflow

### Step 1: Check Frontmatter


Verify:
- [ ] Single YAML block at top
- [ ] Blank line after closing ---
- [ ] All required properties present
- [ ] Consistent property names

### Step 2: Check Heading Hierarchy


Verify:
- [ ] No H1 after frontmatter (except special cases)
- [ ] Main sections use H2
- [ ] Subsections use H3
- [ ] No skipped levels
- [ ] Logical organization

### Step 3: Check Content Organization


Verify:
- [ ] No content before first heading
- [ ] Summary/overview section first
- [ ] Sections follow logical order
- [ ] Proper quote formatting

### Step 4: Content-Type Specific


Check content follows appropriate template structure:
- [ ] Journal: H1 title, standard sections
- [ ] Roundup: Opening quote(s), structured headers
- [ ] Events: Executive Summary, Key Takeaways, Next Actions
- [ ] Clippings: Summary first, then detailed sections

Quality Checklist

View full documentation

Before completing structure validation:

  • [ ] Single YAML frontmatter at top
  • [ ] Blank line after frontmatter
  • [ ] No content before first heading
  • [ ] Heading hierarchy correct (H2 → H3 → H4)
  • [ ] Quote blocks properly formatted
  • [ ] Summary/overview section present
  • [ ] Sections in logical order
  • [ ] Template structure followed for content type

Score breakdown

Trigger
6.5
Trigger 6.5/10 — The description covers what/when but lacks explicit when-not boundaries and multiple trigger phrasings, and the body has a mild H1 contradiction ('no H1' vs Step 4's Journal H1 title). Structure and frontmatter are solid, but the workflow is mostly checklists without confirmation gates or a concrete edit/verification step.
Structure
7.5
Structure 7.5/10
Workflow
6.0
Workflow 6/10
Content
7.0
Content 7/10
Engineering
8.0
Engineering 8/10
Security
9.0
Security 9/10