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.
npx skills add github/awesome-copilot --skill generate-custom-instructions-from-codebase --agent copilot
Same command for any agent — swap --agent for claude-code, codex, cursor.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Migration and Code Evolution Instructions Generator ## Configuration Variables ``` ${MIGRATION_TYPE="Framework Version|Architecture Refactoring|Technology Migration|Dependencies Update|Pattern Changes"} <!-- Type of migration or evolution --> ${SOURCE_REFERENCE="branch|commit|tag"} <!-- Source reference point (before state) --> ${TARGET_REFERENCE="branch|commit|tag"} <!-- Target reference point (after state) --> ${ANALYSIS_SCOPE="Entire project|Specific folder|Modified files only"} <!-- Scope of analysis --> ${CHANGE_FOCUS="Breaking Changes|New Conventions|Obsolete Patterns|API Changes|Configuration"} <!-- Main aspect of changes --> ${AUTOMATION_LEVEL="Conservative|Balanced|Aggressive"} <!-- Level of automation for Copilot suggestions --> ${GENERATE_EXAMPLES="true|false"} <!-- Include transformation examples --> ${VALIDATION_REQUIRED="true|false"} <!-- Require validation before application --> ``` ## Generated Prompt ``` "Analyze code evolution between two project states to generate precise migration instructions for GitHub Copilot. These instructions will guide Copilot to automatically apply the same transformation patterns during future modifications. Follow this methodology: #
- Configuration Variables
- Generated Prompt
- Typical Use Cases
- Framework Version Migration
- Technology Stack Evolution
- Architecture Refactoring
- Design Pattern Modernization
- Unique Benefits
- 🧠 Artificial Intelligence Enhancement
- 🔄 Knowledge Capitalization
- 🎯 Context-Aware Precision
- ⚡ Automated Consistency
What does the generate-custom-instructions-from-codebase skill do?
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.
How do I install it?
Run `npx skills add github/awesome-copilot --skill generate-custom-instructions-from-codebase --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.