Add skeleton spec for resources
Make that a class method, extract some code from prompt