Skip to content

Review the idea to model a cursor rule using a DSL based on XML format #58

@jabrena

Description

@jabrena

Goals:

  • Model a SPML DTD -> XSD
  • Model XSLT for all cases
  • Simplify current Markdown syntax
  • Improve performance when using the same rules but with less redundant test. LEAN Cursor rules
  • Verify that XML matches with DTD and .MDC matches with current syntax

Types of cursor rules designed and supported by the SPML XSD:

  • Header - frontmatter
  • Role definition - What the AI is supposed to be (assistant, tutor, creative writer, etc.)
  • Description - Any relevant information about the AI's purpose or the situation
  • Information for AI
    • Restricitons - What the AI can and cannot do
  • Table of content (To improve the readability for humans)
  • Rule 1
    • Good Example
    • Bad Example
  • Rule 2
    • Good Example
    • Bad Example
  • Response formatting - How to structure answers, when to use lists, etc.

Type 1: Write a template (Markdown, Bash Script, ...) 100-java-checklist-guide

  • Header - frontmatter
  • Role definition - What the AI is supposed to be (assistant, tutor, creative writer, etc.)
  • Description - Any relevant information about the AI's purpose or the situation
  • Information for AI
    • Restricitons - What the AI can and cannot do
  • Response formatting - How to structure answers, when to use lists, etc.

Type 2: Rule collection 110-java-maven-best-practices

  • Header - frontmatter

  • Role definition - What the AI is supposed to be (assistant, tutor, creative writer, etc.)

  • Description - Any relevant information about the AI's purpose or the situation

  • Information for AI

  • Table of content (To improve the readability for humans)

  • Rule 1

    • Good Example
    • Bad Example
  • Rule 2

    • Good Example
    • Bad Example
  • Rule n

  • Response formatting - How to structure answers, when to use lists, etc.

  • https://www.w3.org/TR/xmlschema11-1/

  • https://www.w3.org/XML/Schema

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions