The todo comments can be prompted against, just tell it to always include complete runnable code as its output will executed in a sandbox without prior verification.
It may be that you're expecting it to do too much at once. Try giving smaller requests.