# Give your coding agent the template contract
URL: https://samva.dev/changelog/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.
- Published: 2026-10-02
- Tags: templates, sdk

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.

## Links

- [samva 0.8.0 on npm](https://www.npmjs.com/package/samva/v/0.8.0)
- [Email templates](/docs/sml)

## Related

- [Check your email setup with the plugin listing](/changelog/check-your-email-setup-from-inside-chatgpt)
- [Look up a domain's MX records, no account needed](/changelog/look-up-a-domains-mx-records-no-account-needed)
- [All changelog entries](/changelog)
