
Generate Custom Instructions From Codebase
github/awesome-copilotOfficial
When you're migrating a codebase between framework versions or doing major refactors, this generates GitHub Copilot instructions by analyzing the diff between two git references. It creates a `.github/copilot-migration-instructions.md` file with transformation rules, API mappings, and before/after code examples so Copilot can automatically apply the same patterns to future changes. Works well for Angular upgrades, React class-to-hooks migrations, or architecture refactoring where you want Copilot to learn your specific transformation decisions. The real value is turning your one-time migration work into reusable automation rules.
- skills.sh installs
- 8.9K
- GitHub stars
- 41K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add github/awesome-copilot --skill generate-custom-instructions-from-codebase --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
More from github/awesome-copilot
All 318- Java Refactoring Remove Parameter8.9K
- Suggest Awesome Github Copilot Skills8.9K
- Create Github Issue Feature From Specification8.9K
- Legacy Circuit Mockups8.9K
- Power Bi Performance Troubleshooting8.9K
- Containerize Aspnetcore8.9K
- Php Mcp Server Generator8.9K
- Terraform Azurerm Set Diff Analyzer8.9K
- Vscode Ext Localization8.9K
- Make Skill Template8.9K
- Csharp Mstest8.9K
- Comment Code Generate A Tutorial8.9K
- Azure Resource Visualizer8.9K
- Csharp Tunit8.9K
- Code Exemplars Blueprint Generator8.8K
- Update Llms8.8K
- Structured Autonomy Plan8.8K
- Workiq Copilot8.8K
- Create Tldr Page8.8K
- Mcp Deploy Manage Agents8.8K
- Bigquery Pipeline Audit8.8K
- Java Mcp Server Generator8.8K
- Mkdocs Translations8.8K
- Tldr Prompt8.8K
Recommended
More Git & Pull Requests1
mcp-security-auditgithub/awesome-copilotAudit MCP (Model Context Protocol) server configurations for security issues. Use this skill when: - Reviewing .mcp.json files for security risks - Checking MCP1.1Kskills.sh installs
2
pester-migrationgithub/awesome-copilotPester migration skill for upgrading PowerShell Pester test suites across major versions — v3→v4, v4→v5, and v5→v6. Covers the Discovery/Run two-phase model, mo0skills.sh installs
3
submit-skill-fix-prmicrosoft/github-copilot-for-azureSubmit a pull request with skill fixes. Validates skill structure, bumps versions, and creates a PR with a proper description. TRIGGERS: submit skill fix, creat0skills.sh installs
5
cavecrewjuliusbrussee/cavemanDecision guide for delegating to caveman-style subagents. Tells the main thread WHEN to spawn `cavecrew-investigator` (locate code), `cavecrew-builder` (1-2 fil374.2Kskills.sh installs
6
improve-animationsemilkowalski/skillsSurvey a codebase's animation and motion code as a senior motion advisor, then produce a prioritized audit and self-contained implementation plans for other age260.9Kskills.sh installs