AgentSkillsCN

Schema Evolution Manager

管理各数据系统的模式演进与兼容性。

SKILL.md
--- frontmatter
name: Schema Evolution Manager
description: Manages schema evolution and compatibility across data systems
version: 1.0.0
category: Data Governance
skillId: SK-DEA-011
allowed-tools:
  - Read
  - Write
  - Edit
  - Glob
  - Grep
  - Bash

Schema Evolution Manager

Overview

Manages schema evolution and compatibility across data systems. This skill ensures safe schema changes that maintain backward and forward compatibility.

Capabilities

  • Schema compatibility checking (Avro, Protobuf, JSON Schema)
  • Breaking change detection
  • Migration script generation
  • Version management
  • Schema registry operations
  • Backward/forward compatibility validation
  • Schema documentation generation
  • Cross-system schema synchronization

Input Schema

json
{
  "currentSchema": "object",
  "proposedSchema": "object",
  "schemaFormat": "avro|protobuf|jsonschema|ddl",
  "compatibilityMode": "backward|forward|full|none"
}

Output Schema

json
{
  "compatible": "boolean",
  "breakingChanges": ["object"],
  "migrationScript": "string",
  "recommendations": ["string"],
  "versionInfo": "object"
}

Target Processes

  • Streaming Pipeline
  • ETL/ELT Pipeline
  • Data Catalog
  • Pipeline Migration

Usage Guidelines

  1. Provide current and proposed schema definitions
  2. Specify schema format for proper parsing
  3. Define compatibility mode based on system requirements
  4. Review breaking changes before proceeding with migration

Best Practices

  • Always test schema changes in non-production first
  • Use schema registry for centralized schema management
  • Document schema versions and changes
  • Plan migration strategies for breaking changes
  • Coordinate schema changes across dependent systems