That’s not a little late. Harstem has a nice quote about that (Personal offence is not my goal, you player really nicely for the situation you faced! I am sorry if the comparision is bad, I am pretty tired right now and probably not thinking properly.)
https://youtu.be/xVIaqscuX3c?t=493
That was a nice reaction with probe pull.
I could tell you about scout and other things, but there is something else.
You have good decision making and won the match. There exist risk, if you improve, you may face more frustration connected with climbing the ladder/facing stronger opponents.
If you have fun from games, you could consider staying in the league you are in.
Otherwise
Scout (after pylon or gate, depends on person, I send after gate) ----> No barracks ----> Check gas and SCVs ----> No gas, little SCVs ----> Proxy barrack all in, add 2nd gate, cancel expansion (shouldn’t build at first place), batteries are great, chrono boost zealot, pull a few (3-5) probes to defend initial waves of marines before you get ranged units/batteries. I can’t tell you if adepts or stalkers are better.
Add quickly 2nd pylon next to gate to provide it with emergency power and prevent early supply block (because of building zealot) and 3rd on the highground, to provide you with building space for more gates/tech.
He went all in, has nothing at home. After you defend you have better technology and are in nice position. Adept pressure can deal some dmg, DTs can be deadly either (try to split DTs, to force scan on 1 DT, and no energy for 2nd scan).
----> If he has gas and more SCVs, then it could be proxy reaper or proxy marauder.
Reaper could be 1 barrack and instant unit production with rafinery at home.
A few reapers are not that scary (and require more gas than marauders) and are more a pressure tool than game ending. Try not to lose probes. Idk how to protect yourself before 1st adept/stalker, reaper will spawn very close and have a lot of time. You probably can go for 2nd base.
If it’s marauder, then don’t get 2nd base, perhaps make a sentry, a few stalkers, battery. Stargate Oracle opening can be very strong in the situation (he has no anti air! at home!). Scouting with phoenix halucination to assess amount of marauders/if he’s going to attack or not can be great. However, you should have some energy for ramp force field, if you can split them into half it would be great.
Regardless of situation, use 1-2 probes to find his proxy location and assess amount of barracks/stay around to check if he adds tech lab for marauders.
Good luck and have fun.