Skip to content

Bit-Blazer/eraser-dsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Eraser DSL Authoring Skill

This repository is a self-contained skill package for authoring and reviewing Eraser Diagram-as-Code DSL.

The skill helps convert natural-language requirements into valid Eraser syntax for:

  • Flow charts
  • Entity Relationship Diagrams (ERD)
  • Architecture diagrams
  • Sequence diagrams
  • BPMN swimlane diagrams

Repository Structure

  • SKILL.md: Main skill definition and workflow instructions.
  • sources/: Reference documentation used by the skill.
    • 00-diagram-as-code.md
    • 01-what-is-diagram-as-code.md
    • 02-flow-charts.md
    • 03-entity-relationship-diagrams-erd.md
    • 04-architecture-diagrams.md
    • 05-sequence-diagrams.md
    • 06-bpmn-diagrams-swimlane-diagrams.md
    • 07-icons.md
    • 08-styling.md

What the Skill Does

The skill is designed to:

  • Choose the right diagram type from user intent.
  • Generate syntactically valid Eraser DSL.
  • Apply type-specific rules (connectors, blocks, cardinality, lanes).
  • Add styling and icons safely.
  • Review and repair existing DSL while preserving behavior.

How to Use

Use this repository as a skill folder where SKILL.md is at the root.

Typical prompts:

  • "Create an ERD for a billing platform with users, subscriptions, invoices, and payments."
  • "Turn this approval process into BPMN with lanes for Requester, Manager, and Finance."
  • "Fix this sequence diagram DSL and keep behavior unchanged."

Notes

  • The skill references local docs under sources/ for authoritative syntax.
  • If requirements are incomplete, the skill proceeds with explicit assumptions.
  • If the user asks for code only, the skill returns only the DSL block.

License

MIT License. See LICENSE for details.

About

This repository is a skill package for authoring and reviewing Eraser.io Diagram-as-Code DSL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors