If you liked Writing magic by Gail Carson Levine,
here are some books like this: