This skill automates the modernization of .NET-based Microsoft 365 Agents by transitioning them from the ActivityHandler or TeamsActivityHandler compatibility layers to the native AgentApplication pattern. It handles complex refactoring tasks such as updating handler signatures, migrating Adaptive Card invoke logic, and removing redundant state management boilerplate. By streamlining the migration process, it ensures that your agents leverage the latest performance and architectural improvements of the Microsoft Agents SDK while maintaining your existing business logic.
주요 기능
01Converts ActivityHandler overrides to modern AgentApplication route registrations
02Refactors Adaptive Card invokes into clean, per-verb OnActionExecute handlers
03Streamlines DI configurations and Program.cs endpoint mapping for modern routing
04958 GitHub stars
05Removes deprecated state management boilerplate like manual LoadAsync and SaveChangesAsync calls
06Updates method signatures to the new (ITurnContext, ITurnState, CancellationToken) pattern
사용 사례
01Removing legacy Bot Framework compatibility code from modernized M365 agents
02Modernizing existing .NET bots to use the latest Microsoft Agents SDK routing patterns
03Refactoring Teams-specific bots to utilize streamlined event handlers and middleware