how to repair the Apple Macbook power supply without making scratches to the device.
The cause of a broken power adapter is often a cable defect. Unfortunately Apple designs their power adapters to be disposable. The device is friction-sealed and glued. However it is no problem to open it.
Of course repair should only be done by people with sufficient technical skills.