This is how to skip a build phase in a plan.sh in habitat.

do_install() {
    # I have no need for to install this app ;)
    return 0
}

Note the return 0, not and not do exit 0. If you do the exit, you’ll end the plan completely.