refactor: migrate agent configurations and skills to the .agent directory and add project documentation

This commit is contained in:
2026-05-03 16:17:43 +02:00
parent afdfc31d1a
commit eac0e9057e
12 changed files with 37 additions and 33 deletions
@@ -0,0 +1,9 @@
---
name: blazor-state-performance
description: Performance & State Persistence in Blazor .NET 10
---
# Performance Rules
- **State Management:** Use `PersistentComponentState` to sync data between prerendering and client-side.
- **Optimization:** Use `@key` directive for list iterations to minimize DOM diffing.
- **Memory:** Always implement `IAsyncDisposable` in components using JS Interop to prevent memory leaks.