Schema Evolution Impact Analysis
Analyze the impact of model/schema changes on downstream code — affected repositories, services, handlers, tests, and migration requirements
Best use case
Schema Evolution Impact Analysis is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Analyze the impact of model/schema changes on downstream code — affected repositories, services, handlers, tests, and migration requirements
Teams using Schema Evolution Impact Analysis should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/schema-evolution-impact-analysis/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How Schema Evolution Impact Analysis Compares
| Feature / Agent | Schema Evolution Impact Analysis | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Analyze the impact of model/schema changes on downstream code — affected repositories, services, handlers, tests, and migration requirements
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Schema Evolution Impact Analysis Skill When a model or database schema changes, trace the full downstream impact to identify all code that needs updating. ## Trigger Conditions - Model struct fields are added, removed, or modified - New migration files are created - Database schema configuration changes - User invokes with "schema impact" or "schema-evolution-impact" ## Input Contract - **Required:** The changed model file and specific field changes - **Optional:** Migration file for the change ## Output Contract - List of all files that reference the changed model/field - Impact classification per file (breaking / needs-update / unaffected) - Migration requirements (new migration needed, data backfill, etc.) - Test files that need updating - DTO/response files that need updating ## Tool Permissions - **Read:** All Go source files - **Write:** None (read-only analysis) - **Search:** Grep for model type names, field names, GORM tags ## Execution Steps 1. **Identify changes**: Parse the diff to find added/removed/modified fields and their types 2. **Trace references**: Search for all files importing or referencing the changed model 3. **Classify impact**: For each reference, determine if it's breaking (uses removed field), needs-update (uses modified field), or unaffected 4. **Check migration**: Verify a migration exists for the schema change; check if data backfill is needed 5. **Check DTOs**: Verify request/response DTOs reflect the model changes 6. **Check tests**: Identify test files that create or assert on the changed fields 7. **Report**: Produce impact report with file:line references and required actions ## Success Criteria - All downstream impacts identified - Migration exists for every schema change - No orphaned references to removed fields ## References - `.cursor/rules/122-gorm-conventions.mdc` - `.cursor/skills/schema-migration/SKILL.md`
Related Skills
deep-codebase-analysis
Agent capable of reading and analyzing the entire source code of a software project to gain a thorough understanding of architecture, communication, design patterns, and business flows. Use when exploring new systems, maintenance, or refactoring.
dataql-analysis
Analyze data files using SQL queries with DataQL. Use when working with CSV, JSON, Parquet, Excel files or when the user mentions data analysis, filtering, aggregation, or SQL queries on files.
analysis
Docent is a platform for analyzing AI agent behavior using large language models. Use this skill anytime you want to use Docent to analyze AI agent behavior.
analysis-report
Generates comprehensive, structured research reports.
azure-ai-vision-imageanalysis-java
Build image analysis applications with Azure AI Vision SDK for Java. Use when implementing image captioning, OCR text extraction, object detection, tagging, or smart cropping.
article-analysis
Analyze blog posts and web articles by fetching content from URLs. Use when the user mentions blog post, article, Substack, Medium, web page, newsletter, or provides a URL to analyze.
order-analysis
分析产品升级工单,识别共性问题并提出产品改进建议。通过 agent-browser工具 访问工单系统,提取工单数据,进行问题分类、趋势分析和根因定位,输出改进方案。
agent-ops-git-analysis
Analyze git repository for insights: contributor stats, commit patterns, branch health, and change analysis. Outputs actionable reports.
adaptive-temporal-analysis-integration
Integrate adaptive temporal analysis for drift detection.
market-sizing-analysis
This skill should be used when the user asks to \\\"calculate TAM\\\", "determine SAM", "estimate SOM", "size the market", "calculate market opportunity", "what's the total addressable market", or...
Schema Migration
Create safe, zero-downtime schema migrations with rollback procedures
Schema Design
Migration-ready database schema design with normalization and indexing strategies