Macros for node creation

Godot Version

4.7.2

Question

I am creating hit boxes for a model using the BoneAttatchment3D and then adding the child nodes for this such as the Area3D and CollisionShape3D. I was wondering if there is a way to create a macro to reduce the tedious work adding the child nodes by hand?

Other tips on how to deal with this is also welcome.

Plugins and editor scripts