Building a house, door from house to garage
Doors cannot swing out over a stair without a landing. (See IBC Code, Paragraph R311.3.2.) Take it to your local Building Official and ask for, "an interpretation ". There's an exemption, but I don't think it applies to you.