Fabric icon indicating copy to clipboard operation
Fabric copied to clipboard

[Question]: Managing Prompt Library Inside '.config/fabric/patterns'

Open DarwinJS opened this issue 8 months ago • 1 comments

What is your question?

So I've made this configuration folder into a git repo that I sync to a personal repository.

This allows it to be portable across machines and for me to manage my own prompts, leverage fabrics and curate others into this structure.

My question is - is there a better way or compatible utilities that already do something similar that I could just use?

DarwinJS avatar May 08 '25 15:05 DarwinJS

I do the same thing and I sync it across all my machines using some homegrown automation. I have a custom fabric (public repo) too:

https://github.com/ksylvan/custom-fabric

By enabling the automated creation of shell aliases as mentioned in the Fabric README file, the scripts in that repository improve the prompting experience for Windows, macOS, and Linux.

ksylvan avatar May 08 '25 19:05 ksylvan

Simon Willison's superb tool llm, specifically its templates feature, can be used to create LLM workflows based on a portable prompt library. It also has plugins to easily load templates from fabric (https://github.com/simonw/llm-templates-fabric) or any GitHub repo (https://github.com/simonw/llm-templates-github).

asifm avatar May 20 '25 17:05 asifm