generate-custom-instructions-from-codebase

Generate GitHub Copilot migration instructions from codebase differences.

1|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/dhar174/langgraph_system_generator --skill generate-custom-instructions-from-codebase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-custom-instructions-from-codebase
Source: https://github.com/dhar174/langgraph_system_generator/tree/main/.github/skills/generate-custom-instructions-from-codebase
Command: npx skills add https://github.com/dhar174/langgraph_system_generator --skill generate-custom-instructions-from-codebase

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of precise instructions for GitHub Copilot, enabling it to understand and apply code evolution patterns during migrations and refactoring, ensuring consistency and accelerating development.

Core Features & Use Cases

  • Code Evolution Analysis: Compares project versions to identify structural and code transformation patterns.
  • Copilot Instruction Generation: Creates a .github/copilot-migration-instructions.md file with actionable rules for AI code assistants.
  • Use Case: Migrating a large codebase from an old framework version to a new one, ensuring Copilot can automatically apply the necessary changes and adhere to new conventions.

Quick Start

Generate migration instructions for a framework version upgrade from 'v1.0' to 'v2.0' focusing on API changes.

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 GitHub Copilot instructions for code migration?

Generate GitHub Copilot instructions for code migration by analyzing code differences between source and target references. The Skill identifies structural changes, API correspondences, and obsolete patterns to create a comprehensive guide for automated code evolution.

What are code migration instructions and when do I need them?

Code migration instructions are actionable rules for AI code assistants that define how to apply code evolution patterns during refactoring. You need them when migrating large codebases between framework versions to ensure automated consistency and adherence to new conventions.

Can I automate code refactoring with GitHub Copilot using reference files?

Yes, you can automate code refactoring with GitHub Copilot using source and target reference files. The analysis detects code transformations and new patterns, outputting a `.github/copilot-migration-instructions.md` file to guide the AI assistant.

What's the best way to upgrade a codebase from an old framework version to a new one?

The best way to upgrade a codebase across framework versions is to compare project versions to identify structural and API transformation patterns. This generates detailed instructions for Copilot to automatically apply necessary changes and maintain consistency.

Does this code evolution analysis work without external dependencies?

Yes, this code evolution analysis works without external dependencies. It operates directly on your provided source and target references to identify structural changes and code transformations, generating a standalone markdown file for GitHub Copilot.