Do we have to know how to write rspec code?

Do we have to learn how to write rspec scripts before starting the actual curriculum while completing the Alpha Course? Or do we only have to know how to use prewritten rspec scripts to test our own scripts?

Nope. You’ll learn a bit more about writing/reading RSpec in the actual course. It’d be good to try and read them a bit on your own so you can get an idea of what your code is supposed to do in case you’re unsure.