generate-custom-instructions-from-codebase

Generate migration instructions from codebase differences for GitHub Copilot.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/BrunoAMSilva/my-config --skill generate-custom-instructions-from-codebase-brunoamsilva
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-custom-instructions-from-codebase
Source: https://github.com/BrunoAMSilva/my-config/tree/main/coding/skills/generate-custom-instructions-from-codebase
Command: npx skills add https://github.com/BrunoAMSilva/my-config --skill generate-custom-instructions-from-codebase-brunoamsilva

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of precise migration and code-evolution instructions by analyzing differences between two project states so GitHub Copilot can apply consistent transformations during migrations, refactors, and upgrades, reducing manual effort and preventing regressions.

Core Features & Use Cases

  • Comparative Analysis: Detects structural, configuration, dependency, and code-level changes between branches, commits, or tags.
  • Transformation Rule Generation: Produces automatic transformation rules, validation checkpoints, API correspondence mappings, and before/after examples tailored to the codebase.
  • Use Cases: Framework version upgrades, large-scale architecture refactors, technology migrations (for example jQuery to React), dependency updates, and modernization of design patterns.

Quick Start

Compare the source and target references for your repository and generate a Copilot migration instructions file with automatic transformation rules, validation checkpoints, and contextual examples.

Frequently Asked Questions about generate-custom-instructions-from-codebase

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

FAQPage Schema
How do I generate Copilot instructions for a framework migration from codebase differences?

Migration instructions guide GitHub Copilot in applying consistent transformation patterns during large-scale refactors. They include automatic transformation rules, contextual before and after examples, and monitoring metrics to prevent regressions during technology migrations or framework version upgrades.

What is the best way to automate code refactoring instructions for GitHub Copilot?

Automating code refactoring instructions involves analyzing codebase differences between repository tags or commits. This generates a structured output with API correspondence mappings and validation checkpoints, ensuring Copilot applies consistent and precise transformation patterns across the entire project.

Can I use code evolution analysis for framework version upgrades and dependency updates?

You need two distinct repository states, such as branches, commits, or tags, to perform comparative analysis. The source and target references provide the structural, configuration, dependency, and code-level differences required to generate the migration instructions and transformation rules.

What validation checkpoints are generated for technology migrations like jQuery to React?

For technology migrations, the generated validation checkpoints accompany automatic transformation rules and API correspondence tables. These checkpoints validate the applied code transformations against contextual examples, ensuring the Copilot migration maintains structural integrity and prevents regressions.