Prompt file imported from SaintberLab/Saintber.CopilotLibrary (
.github/prompts/migration.migrate-mvc-feature-by-plan.prompt.md). Copyright stays with the author.
Migrate the selected MVC feature using the required plan-first workflow.
Required process:
- Review or update
/Tasks/architecture-migration-template.md,/Tasks/backend-migration-template.md, and/Tasks/frontend-migration-template.mdas needed - Create scope-specific execution plans for architecture, backend, and frontend aspects of the selected feature
- Locate the target Controller and related Actions
- Identify required dependent files and components
- Move or copy required files into the new project structure when needed
- Update namespaces to match the new structure
- Perform backend migration tasks
- Perform frontend migration tasks
- Validate build/compile and fix blocking issues
Migration policy:
- preserve legacy behavior whenever possible
- avoid unnecessary rewrites
- only replace unsupported patterns with the closest compatible equivalent
- all generated execution plans must comply with the policies defined under
/docs/policy/. Review relevant policy documents before finalizing each plan.