Location of Kate custom scripts directory

I want to create a few scripts to help me with my daily driver, Kate. Be aware, not a snippet, a proper script to help me with my daily development.
However, I struggle to understand on which directories (local & global) I should place this script.
I know that in KDE 4/5 that was katepart4/5, but this directory is not found in my system and there is no katepart6 ktextpart or anything similar.

I use several scripts under Tools > External Tools, and I see a config file is automatically stored for each script under ~/.config/kate/externaltools, named *.ini, while there’s an external script file under ~/.local/share/kate/scripts for some if the script can’t be entered diretly via Tools > External Tools > Configure..., but a script file path needs to be entered as executable instead.