Agent skill · software engineering · github

generate-custom-instructions-from-codebase

Migration and code evolution instructions generator for GitHub Copilot. Analyzes differences between two project versions (branches, commits, or releases) to create precise instructions allowing Copilot to maintain consistency during technology migrations, major refactoring, or framework version upgrades.

Why this skill is useful

Adds a comprehensive automation script for generating migration instructions tailored for GitHub Copilot, which is not available in public documentation.

What it needs

Requires github-cli installed locally. About 4k tokens when loaded. Last updated 2026-08-07. 37,534 stars on the source repository.

What this skill does

Migration and Code Evolution Instructions Generator Configuration Variables Generated Prompt Typical Use Cases Framework Version Migration Perfect for documenting the transition from Angular 14 to Angular 17, React Class Components to Hooks, or .NET Framework to .NET Core. Automatically identifies breaking changes and generates corresponding transformation rules. Technology Stack Evolution Essential when replacing a technology entirely: jQuery to React, REST to GraphQL, SQL to NoSQL. Creates a comprehensive migration guide with pattern mappings. Architecture Refactoring Ideal for large refactorings like Monolith to Microservices, MVC to Clean Architecture, or Component to Composable architecture. Preserves architectural knowledge for future similar transformations. Design Pattern Modernization Useful for adopting new patterns: Repository Pattern, Dependency Injection, Observer to Reactive Programming. Documents the rationale and implementation differences. Unique Benefits 🧠 Artificial Intelligence Enhancement Unlike traditional migration documentation, these instructions "train" GitHub Copilot to reproduce your technology evolution decisions automatically during future code modifications. 🔄 Knowledge Capitalization Transforms specific project experience into reusable rules, avoiding the loss of migration expertise and accelerating future similar transformations. 🎯 Context-Aware Precision Instead of generic advice, generates instructions tailored to your specific codebase, with real before/after examples from your project evolution. ⚡ Automated Consistency Ensures that new code additions automatically follow the new conventions, preventing architectural regression and maintaining code evolution coherence.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills github/generate-custom-instructions-from-codebase

View the source on GitHub

Browse the @skills marketplace