GPT3 'make things up as you go'-driven development

  • TL;DR: just pretend some code repo exists, interact with it, and GPT will happily fill in the blanks.

    Example:

        # Start with the "act as a terminal" preface (https://github.com/f/awesome-chatgpt-prompts#act-as-a-linux-terminal)
    
        git clone https://github.com/shesek/veterinarian-app
        cd veterinarian-app
    
        node src/webserver.js --port 5051
    
        curl -X POST localhost:5051/api/customers/create -d name='Bob Marlin' -d phone=050-1112223 -d email=bobml@gmail.com
    
        curl localhost:5051/api/customers?fields=id,uri,name,phone,email,created_at,updated_at,num_animals,next_visit
    
        # src/webserver.js will now exists with an implementation of the API endpoints.
    
        ./util/db-dump-json.sh --include customers,animals --out-file dump.json
    
        # db-dump-json.sh will now exists, including argument parsing/validation and usage help text.
    
    The twitter thread lists some more examples. It's pretty mind blowing to me that this is possible!