Fix rules-to-skills migration (#58278)

Closes https://github.com/zed-industries/zed/issues/57992
Closes AI-349


## Summary
- Run rules-to-skills migration during agent UI init instead of waiting
for feature flags in production.
- Add a command palette action to rerun the migration manually.
- Make AGENTS.md migration appends idempotent to avoid duplicated
default-rule prompts.


Release Notes:

- Added a manual way to trigger the Rules to Skills migration
e4ddcc8bb4MartinYe1234 committed on 6/1/2026, 11:17:00 PM· committed by GitHubparent5b71570
2 files changedLine totals unavailable