evolve

Manage Cairn schema migrations with dry-run previews and confirmations.

Updated Jul 23, 2026
One-click install
npx skills add https://github.com/platyplus/cairn-plugin --skill evolve-platyplus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: evolve
Source: https://github.com/platyplus/cairn-plugin/tree/main/cairn/skills/evolve
Command: npx skills add https://github.com/platyplus/cairn-plugin --skill evolve-platyplus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill prevents data loss and accidental corruption when modifying live database schemas, permissions, or business rules in Cairn collections.

Core Features & Use Cases

  • Schema Evolution: Safely add, rename, or remove fields with dry-run previews and explicit confirmation for destructive actions.
  • Permission Management: Adjust access control lists and visibility rules with clear before-and-after diffs.
  • Form Logic: Update skip-logic and validation rules while previewing the resulting form structure.
  • Use Case: When a project requirement changes, use this skill to add a new field to your facility survey collection or update the visibility rules so only supervisors can edit specific sensitive records.

Quick Start

Ask the evolve skill to add a new text field called phone number to the health facilities collection and show me the plan.

Frequently Asked Questions about evolve

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely rename fields in a live Cairn collection without losing data?

To safely rename fields in Cairn collections, this skill uses a dry-run-first execution pattern to preview schema migrations. It enforces strict confirmation protocols for destructive operations, ensuring modifications execute without compromising data integrity.

What is the best way to update permissions and access rules for a database schema?

Updating permissions and access rules is handled through clear before-and-after diffs. The skill manages permission updates for Cairn data collections, allowing you to adjust access control lists and visibility rules safely.

Can I preview schema migrations before applying them to a production database?

Yes, you can preview schema migrations before applying them. The skill generates dry-run previews for schema evolution tasks like adding or removing fields, showing exactly what will change before any action is taken.

Do I need a specific server to validate CEL expressions when modifying data collections?

Yes, you need the Cairn MCP server to validate CEL expressions and execute schema updates. This integration is required to ensure form logic updates and rule adjustments execute securely without data corruption.

How do I update skip-logic and validation rules while maintaining data integrity?

Updating skip-logic and validation rules is supported by previewing the resulting form structure before execution. The skill manages these complex modifications through safe, dry-run-first execution patterns to prevent accidental corruption.