Skip to content
  • templates
  • sdk

Give your coding agent the template contract

@samva/markup ships a machine-readable contract and an sml skill, so an agent knows which template forms are valid and how to fix each error.

Your coding agent can now check its template work against the real rules instead of guessing. @samva/markup ships a machine-readable contract and a reference that list which forms templates accept, which they refuse, and a fix for every error.

Point your agent at these two files:

  • @samva/markup/contract.json
  • @samva/markup/generated/reference.md

The package also ships an sml skill under skills/sml.

New projects keep emails in templates/. Existing projects with an emails/ folder keep working, so nothing needs to move.