As noted in 14 CFR 91.7(b), the pilot in command is responsible for ensuring the aircraft is in safe condition for flight. The following video provides a general overview of preflight inspections.
Although a good preflight is required before any flight, the scrutiny should be even higher right after maintenance. The following FAA video provides some insight.