lpml

Provide LPML syntax, data types, and extension rules from the specification.

8|3|Updated Sep 29, 2021
One-click install
npx skills add https://github.com/gesslar/oxidus-mudlib --skill lpml
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lpml
Source: https://github.com/gesslar/oxidus-mudlib/tree/main/.claude/skills/lpml
Command: npx skills add https://github.com/gesslar/oxidus-mudlib --skill lpml

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

LPML provides a clear, human-friendly way to write and read MUD configuration data, reducing confusion and errors compared to plain JSON5.

Core Features & Use Cases

  • Spacey keys: Keys with spaces do not require quotes, improving readability.
  • String folding and concatenation: Supports multiline strings and adjacent string concatenation.
  • File includes: Allows including other LPML files for modular configs.
  • JSON5 compatibility: Maintains compatibility with JSON5 features for easy editing.
  • Use cases: Ideal for defining MUD configs, items, and game settings in a maintainable way.

Quick Start

Create a sample LPML file with a simple object, then progressively add spacey keys and an include.

Frequently Asked Questions about lpml

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

FAQPage Schema
What is LPML and why use it for MUD configuration files?

LPML is a human-friendly markup language designed for writing and reading MUD configuration data, reducing confusion and errors compared to plain JSON5 by supporting unquoted spacey keys and multiline strings.

How do I write configuration files with unquoted spacey keys?

To write configuration files with spacey keys, define your objects using LPML syntax, which allows keys with spaces to be written without quotes, improving readability for MUD configs and game settings.

Does LPML support JSON5 compatibility and features like multiline strings?

Yes, LPML maintains JSON5 compatibility for easy editing while adding support for string folding, adjacent string concatenation, and multiline strings for maintainable configuration files.

Can I include other LPML files for modular configuration setups?

Yes, LPML supports file includes, allowing you to include other LPML files within your main document to create modular and maintainable MUD configuration structures.

What is the best way to validate LPML documents and syntax?

To validate LPML documents, use tooling that applies the authoritative LPML syntax, data types, and extension rules from the LPML specification to ensure your configuration files conform correctly.

Are there limitations when using LPML compared to plain JSON5 for game settings?

LPML is specialized for MUD configurations and game settings; while it maintains JSON5 compatibility, its specific extensions like spacey keys and file includes require dedicated LPML tooling for proper validation and parsing.