Question: Prove $p → q \vdash ¬q → ¬p$ is valid.
The answer is:
$1. p → q~~~~\textsf{premise}$
$2. ¬q~~~~~\textsf{assumption}$
$3. ¬p~~~~~\textsf{MT }1,2$
$4. ¬q → ¬p~~~~~→\textsf{intro} 2,3$
Why isn't the assumption of $q$ included since $q$ or $¬q$ are both assumptions?
I'm not sure whether I get your question correctly but why should we add another assumption? We want to prove the above statement as is without extra assumptions. On top, you might prove the other direction, then you assume q.
If you want to know how to prove it, the typical way is to write down all possibilities with a truth table and see the equivalence.