Blender python UI template

Hello devs,
I was struggling with UI and IMHO Blender should put a UI template like this in the templates. The current templates for UI are very basic only covers the operator. Let me know please if I am wrong. May be I have missed it:

Just right-click on the UI element that you want to edit and click “Edit Source”

Btw you need to enable developer extras in the preferences.

Yes, I know that. Thanks for the tip though.
Is there any template available for PropertyGroup?
https://docs.blender.org/api/current/bpy.types.PropertyGroup.html
This was a very confusing endeavor for me.