LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

parser - Implement and verify diagram parsers

Implements a diagram type in @mmd-toolkit/parser from its specification and fixtures, including lexing, recursive-descent parsing, tests, recorded trees, and updates for Mermaid changes.

Tags

Updated: 2026-11-29

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Implement diagram lexers
  • Implement recursive-descent parsers
  • Define parser AST types
  • Dispatch diagram parsers
  • Run fixture-based parser tests
  • Record parse trees and errors
  • Check specification gaps
  • Verify Mermaid acceptance
  • Update parsers for Mermaid changes

Inputs

  • Diagram specifications
  • AST specifications
  • Diagram fixtures
  • Recorded AST files
  • Recorded parse-error files
  • Mermaid.js acceptance results
  • Parser source files

Outputs

  • Parser source changes
  • AST type changes
  • Fixture AST recordings
  • Fixture parse-error recordings
  • Test results
  • Specification gap reports
  • Parse acceptance results

Requirements

  • Node.js runtime
  • pnpm workspace
  • TypeScript project
  • Pinned mermaid.js
  • Repository test tooling
  • Access to parser packages

Source

  • Spec: SKILL.md
parser
diagram parsing
lexer
recursive descent
AST
fixtures
TypeScript
Mermaid
Implement diagram lexers
Implement recursive-descent parsers
Define parser AST types
Dispatch diagram parsers
Diagram specifications
AST specifications
Diagram fixtures
Parser source changes
AST type changes
Fixture AST recordings