https://github.com/raksharakyan/unity-asmd...
This tool scans your C# files, reads every using directive, and automatically maps them to the correct Unity package assembly definitions — then writes the .asmdef for you in one click.
1. Download the 3 .cs files from the Editor/ folder in this repo
2. Drop them into any Editor/ folder in your Unity project
3. Done — no Package Manager, no imports, no setup required