ast

Parse Jerry Markdown into ASTs and validate frontmatter and nav tables.

30|6|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/geekatron/jerry --skill ast
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ast
Source: https://github.com/geekatron/jerry/tree/main/skills/ast
Command: npx skills add https://github.com/geekatron/jerry --skill ast

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Managing Markdown documents within the Jerry Framework requires reliable parsing, metadata handling, and navigation validation to avoid drift and errors across repositories. This skill provides a robust CLI-driven toolkit to parse, extract and modify frontmatter, validate nav tables, render normalized Markdown, reinject directives, and query AST nodes within Jerry artifacts.

Core Features & Use Cases

  • Parse Markdown into an AST and produce JSON representations for tooling.
  • Frontmatter extraction and modification with safe, targeted updates.
  • Validate navigation tables against H-23/H-24 rules and verify entity schemas.
  • Render/normalize Markdown to a consistent format and audit reinjection directives.
  • Query AST nodes by type to drive precise transformations across work documents.
  • Use Case: ensure consistency across a suite of stories and tasks by automated structural checks.

Quick Start

Invoke the AST tooling to parse a Jerry Markdown file and inspect its AST.

Frequently Asked Questions about ast

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

FAQPage Schema
How do I validate navigation tables in Jerry Markdown files against H-23 and H-24 rules?

You validate navigation tables in Jerry Markdown by using the structured AST toolset to check nav structures against H-23/H-24 rules before applying changes. This enforces safety by verifying entity schemas and preventing navigation drift across repositories.

Can I extract and modify Markdown frontmatter without altering the body content?

Yes, you can safely extract and modify Markdown frontmatter without altering body content. The tooling enforces safety by restricting edits strictly to targeted frontmatter fields, ensuring the document body remains completely untouched during modifications.

What is the best way to parse Jerry Markdown documents into an AST for querying?

The best way to parse Jerry Markdown documents into an AST is via the jerry ast CLI interface. It produces JSON representations of the document structure, allowing you to query AST nodes by type to drive precise automated transformations.

How do I audit and extract reinjection directives in Markdown?

You audit and extract reinjection directives in Markdown by using the CLI-driven toolset to render normalized output and inspect reinjection extraction. This verifies directive integrity and maintains consistency across Jerry artifacts during automated structural checks.

Does this Markdown parsing tool require any external dependencies?

No, this Markdown parsing tool requires no external dependencies to function. It operates independently using the jerry ast CLI as its single interface to provide structured parsing, frontmatter validation, and AST querying for Jerry workflows.