Phone [Q] SD Card Class 10 8GB Advices?

1-TWRP 2.7 can partition it?
2-How much space should i use for ext and swap partition?
3-And which scripts should i use?

Thanks in advance