I am really curious about this because scripting often involves keeping track of various small pieces of code that do one thing that can be composed to make something more interesting. I know that @JMichaelTX uses Quiver and quite likes it but not really sure about others.
I myself still use SnippetsLab and I wrote about how I use the app here. In short I just create snippets for everything I do and prefix the names of the snippets according to language/framework of the snippet. And then I can access any snippet from my library in literally seconds.
I am really curious what @ccstone workflow is though because all of his scripts come with so much metadata, it's crazy. Like this one:
------------------------------------------------------------------------------
# Auth: Christopher Stone
# dCre: 2017/11/19 07:25
# dMod: 2017/11/19 07:30
# Appl: AppleScript + Satimage.osax
# Task: Extract values from text and sum them
# Libs: None
# Osax: Satimage.osax (MUST BE INSTALLED OR THE SCRIPT WON'T WORK!)
# Tags: @Applescript, @Script, @SIO, @Satimage.osax, @Extract, @Values, @Text, @Sum, @Them, @ccstone
------------------------------------------------------------------------------
No doubt that the creation of most of these entries is automated but how do you then query it?
I am curious about all other workflows and ideas how you guys maintain your own library of snippets though. Because maintaining a library of personal macros/actions is super easy with: