{"repo":"ferrislucas/promptr","free":true,"listed":false,"github":"https://github.com/ferrislucas/promptr","clone":"git clone https://github.com/ferrislucas/promptr.git","description":"Promptr is a CLI tool that applies plain language instructions to the filesystem. Instructions can utilize a liquidjs based templating system. Use cases include refactoring, code generation, and experimentation.","language":"JavaScript","stars":950,"topics":["ai","cli","command-line","chatgpt","gpt-4","gpt4","prompt-engineering","prompt-toolkit","prompt-tuning","coding-assistant"],"license":"MIT","category":"cli-tools","readme_excerpt":"Promptr Promptr is a CLI tool that lets you use plain English to instruct OpenAI LLM models to make changes to your codebase. Changes are applied directly to the files that you reference from your prompt. Usage promptr [options] -p \"your instructions\" ... I've found this to be a good workflow: - Commit any changes, so you have a clean working area. - Author your prompt in a file. The prompt should be specific clear instructions. - Make sure your prompt contains the relative paths of any files that are relevant to your instructions. - Use Promptr to execute your prompt. Provide the path to your prompt file using the -p option: promptr -p my prompt.txt Promptr will apply the model's code directly to your files. Use your favorite git UI to inspect the results. Examples The PR's below are good examples of what can be accomplished using Promptr. You can find links to the individual commits and the prompts that created them in the PR descriptions. - https://github.com/ferrislucas/promptr/pull/38 - https://github.com/ferrislucas/promptr/pull/41 Templating Promptr supports templating using liquidjs, which allows users to incorporate templating commands within their prompt files. This feature enhances the flexibility and reusability of prompts, especially when working on larger projects with repetitive patterns or standards. Using Includes Projects can have one or more \"includes\"—reusable snippets of code or instructions—that can be included from a prompt file. These includes may cont","default_branch":null,"files":null,"tree":[],"storefront":"/r/ferrislucas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ferrislucas/promptr/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}