I wrote an Emacs Package
Fabric1 is a collection of crowd-sourced prompts, exposed via a CLI tool. I used it for a while some time ago but never fully exploited it because I prefer Emacs.
Eshell buffers are an option, but I am principled in my tool usage and prefer to delegate longer-running CLI tasks to a combination of Alacritty and Tmux.
Maintaining my Emacs shell usage to ephemeral popups feels natural.
Gptel2 is a versatile LLM client that integrates smoothly into my workflow (buffer/text manipulation and management) without disrupting my thought flow.
I wanted Fabric’s crowd-sourced prompts and patterns to be accessible via Gptel, so I wrote my first Emacs package: https://github.com/rajp152k/fabric-gpt.el.
I often write Elisp for configuration upkeep but needed to explore more to develop a package. I will refine it as new opportunities arise through usage experience.
Hitting spc i g f f
launches an M-x style fuzzy complete for the pattern I want to work with, and an LLM request is dispatched with the context preceding the cursor in the current buffer.
It has made my life a little simpler.
Check out my .dotfiles for further insights into my Emacs configuration.