close
Skip to main content
Legacy Evidence is a static website generator: Markdown and DuckDB SQL which queries data you package up in a build step. Evidence Studio has a live connection to a database, and an updated set of components that can generate SQL.

How to migrate

The CLI has a evidence migrate command. It converts everything it can mechanically — component syntax, attribute names, input references, connections, source SQL - and prints a warning for items it cannot migrate. The fastest path is to let a coding agent support your migration.
  1. Install the Evidence CLI (version ≥ 0.9.0)
  2. Add the migration skill to your project: Save the file below into your legacy project as .claude/skills/evidence-migrate/SKILL.md, or the equivalent path for your assistant.
  3. Ask your assistant to migrate the project: “Migrate this Evidence project to Studio syntax.” The skill tells it which commands to run and how to work through the warnings.
To run it yourself: evidence migrate --dry-run to preview, evidence migrate to convert in place, then evidence validate for syntax and SQL errors and evidence dev to inspect the result.

The migration skill

What works differently

Not supported

Individual attributes without an equivalent are dropped with a warning by evidence migrate; run it with --dry-run to see the full list for your project.

Getting help

Ask in the Slack community, or book a migration call.