Refactoring Agent Skills

Refactoring

205 skills
android
camera1-to-camerax
Migrate legacy Android camera implementations (Camera1 or raw Camera2 APIs) to CameraX, a lifecycle-aware Jetpack library that resolves rotation issues and handles device dependencies.
6.1k
android
styles
Migrate Android Jetpack Compose UI components to use the experimental Styles API for centralized theming and state-based styling.
6.1k · bundle
android
play-billing-library-version-upgrade
Upgrades or migrates an Android project from any legacy Google Play Billing Library version to the latest stable version, with automated discovery, planning, and verification.
6.1k · bundle
android
migrate-xml-views-to-jetpack-compose
Migrates an Android XML View to Jetpack Compose using a structured 10-step process, from candidate selection and analysis to theming, layout conversion, validation, and cleanup.
6.1k · bundle
dotnet
dotnet-aot-compat
Resolve IL trim and AOT analyzer warnings in .NET projects to make them compatible with Native AOT and trimming.
4k · bundle
dotnet
msbuild-antipatterns
Detects and fixes common MSBuild anti-patterns in .csproj, .vbproj, .fsproj, .props, .targets, and .proj files, covering Exec misuse, unquoted conditions, hardcoded paths, and more.
4k · bundle
dotnet
msbuild-modernization
Migrate legacy MSBuild project files to SDK-style format, reducing .csproj complexity and enabling modern .NET features.
4k
dotnet
migrate-static-to-wrapper
Mechanically replace static dependency call sites with wrapper or built-in abstraction calls across a bounded scope, such as migrating DateTime.UtcNow to TimeProvider.GetUtcNow() or File.ReadAllText to IFileSystem.
4k
dotnet
thread-abort-migration
Migrates .NET Framework code using Thread.Abort to cooperative cancellation with CancellationToken in modern .NET 6+.
4k
dotnet
migrate-dotnet8-to-dotnet9
Upgrade .NET 8 projects to .NET 9 by updating target frameworks, resolving breaking changes, and fixing build errors.
4k · bundle
dotnet
migrate-dotnet9-to-dotnet10
Migrate .NET 9 projects to .NET 10 by updating target frameworks, resolving breaking changes, and fixing build errors.
4k · bundle
dotnet
migrate-nullable-references
Enable nullable reference types in a C# project and systematically resolve all warnings, file-by-file or project-wide.
4k · bundle
dotnet
migrate-dotnet10-to-dotnet11
Upgrade .NET 10 projects to .NET 11 by updating target frameworks, fixing breaking changes, and updating infrastructure.
4k · bundle
dotnet
migrate-mstest-v1v2-to-v3
Migrate test projects from MSTest v1 (assembly references) or v2 (NuGet 1.x-2.x) to MSTest v3, handling breaking changes like assertion overloads, DataRow constructors, .testsettings replacement, and target framework updates.
4k
dotnet
convert-blazor-server-to-webapp
Converts a pre-.NET 8 Blazor Server app into a .NET 8+ Blazor Web App by updating project files, migrating entry points, and adopting new render modes.
4k
adobe
migration
Migrates legacy AEM (6.x, AMS, on-prem) to AEM as a Cloud Service using BPA CSV or CAM/MCP target discovery, with one-pattern-per-session workflow for scheduler, replication, event listener, HTL lint, dialog, and custom widget migration.
142 · bundle
adobe
code-assessment
Detect and fix code-quality and correctness issues in AEM as a Cloud Service projects locally, without external services or network calls.
142 · bundle
adobe
event-migration
Migrates OSGi EventAdmin handlers and JCR EventListeners to AEM Cloud Service-compliant patterns, including EventHandler+JobConsumer split, routing rules, and leader-only execution.
142
adobe
inject-in-sling-model
Migrate javax.inject.@Inject fields in Sling Model classes to injector-specific annotations like @ValueMapValue, @OSGiService, or @SlingObject based on the field's declared type.
142 · bundle
adobe
resource-change-listener
Migrate AEM Cloud Service resource listeners to the lightweight ResourceChangeListener + JobConsumer pattern, covering migration from legacy APIs, OSGi configuration, troubleshooting, and review checklists.
142
getsentry
code-simplifier
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality.
845
github
refactor
Improve code structure and readability without changing external behavior through surgical refactoring techniques.
36.2k
github
quasi-coder
Interprets shorthand, quasi-code, and natural language descriptions to produce production-quality code, bridging gaps between varying technical expertise levels.
36.2k
github
refactor-plan
Creates a concrete, multi-phase plan before starting a multi-file refactor, including affected files, dependencies, verification steps, and rollback procedures.
36.2k
github
dotnet-upgrade
Provides structured prompts for analyzing, planning, and executing .NET framework upgrades, covering project assessment, dependency management, code modernization, CI/CD updates, testing, and documentation.
36.2k
github
react18-string-refs
Migrate React string refs (ref="name" + this.refs.name) to React.createRef() in class components for React 18.3.1 and 19 compatibility.
36.2k · bundle
github
review-and-refactor
Review and refactor code according to project-specific coding guidelines and instructions.
36.2k
github
dotnet-best-practices
Ensure .NET/C# code meets project-specific best practices for structure, design patterns, dependency injection, async/await, testing, configuration, and security.
36.2k
github
winui3-migration-guide
Maps legacy UWP APIs to correct Windows App SDK equivalents with before/after code snippets for migrating to WinUI 3.
36.2k
github
microsoft-agent-framework
Create, update, refactor, explain, or review Microsoft Agent Framework solutions using shared guidance plus language-specific references for .NET and Python.
36.2k · bundle
github
react-audit-grep-patterns
Provides grep scan commands for auditing React codebases before upgrading to React 18.3.1 or React 19.
36.2k · bundle
github
create-implementation-plan
Generate structured, machine-readable implementation plans for features, refactoring, upgrades, or infrastructure changes.
36.2k
github
oo-component-documentation
Create or update standardized object-oriented component documentation by analyzing source code and following a shared template with mode-specific guidance.
36.2k · bundle
github
update-implementation-plan
Update an existing implementation plan file with new or updated requirements for features, refactoring, package upgrades, design, architecture, or infrastructure.
36.2k
github
java-refactoring-extract-method
Refactors Java methods by extracting code blocks into separate, well-named methods to improve readability and maintainability.
36.2k
github
java-refactoring-remove-parameter
Refactors Java methods by removing unused or redundant parameters to improve readability and maintainability.
36.2k