obsidian-flashcards

Generate and validate Obsidian flashcards with strict YAML frontmatter for Anki.

Updated Dec 26, 2023
One-click install
npx skills add https://github.com/Selogaz/Obsidian-vault-cpp --skill obsidian-flashcards-selogaz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obsidian-flashcards
Source: https://github.com/Selogaz/Obsidian-vault-cpp/tree/main/skills/obsidian-flashcards
Command: npx skills add https://github.com/Selogaz/Obsidian-vault-cpp --skill obsidian-flashcards-selogaz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Obsidian-flashcards streamlines creation and maintenance of flashcard notes for Anki integration by enforcing a consistent metadata structure and content template.

Core Features & Use Cases

  • Enforces correct YAML frontmatter (name, description, tags, deck, created/updated).
  • Provides a deterministic flashcard body template with a standardized format for Anki-friendly cards.
  • Supports a lightweight deck reorganization workflow via a provided change-deck utility script.

Quick Start

Create a ready-to-use flashcard note with validated frontmatter and content structure for Anki integration.

Frequently Asked Questions about obsidian-flashcards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create Obsidian flashcards for Anki with correct YAML frontmatter?

To create Obsidian flashcards for Anki, you need a strict YAML frontmatter schema containing name, description, tags, deck, and created/updated timestamps, followed by a structured body with a single concept per card and no empty lines.

What metadata is required for Obsidian flashcards to sync with an Anki deck?

Obsidian flashcards require YAML frontmatter with name, description, tags, deck path, and created/updated timestamps to sync correctly with an Anki deck. The card body must also maintain a consistent format without empty lines.

How do I enforce a consistent flashcard body template across Obsidian notes?

You enforce a consistent flashcard body template by applying a deterministic format that restricts each note to a single concept per card and eliminates empty lines, ensuring Anki-friendly cards across all study notes.

Can I reorganize Anki deck paths for existing Obsidian flashcards?

Yes, you can reorganize Anki deck paths for existing Obsidian flashcards using a lightweight change-deck utility script, supporting deck reorganization workflows when your study structure changes.

Why does my Anki integration fail when Obsidian flashcards have empty lines?

Anki integration fails because the flashcard body template enforces a strict format with no empty lines to ensure deterministic parsing, and maintaining a single concept per card with standardized metadata prevents validation errors.