Back when I played WoW, my favorite class was the ranger. I like traps and pets. We’ve got pets, now how about some traps… Let’s make a level 1 spell to help do that.
Casting Time: bonus action
Range: 50 feet
Components: V, S
Duration: 1 minute
You select a 10 foot by 10 foot area in range. That area is now filled with a small spike trap. It is hidden but can be seen with a Wisdom(perception) or Intelligence(investigate) check (DC equal to your spellcasting DC). The first creature to enter that area must make a Dexterity saving throw. On a failure it is restrained and take 2d6 piercing damage as its feet are impaled by the spikes in the area. On a success, the creature takes half damage and is not restrained.