proompt-cat
v1.0.2
Published
CLI tool for more effective AI interactions
Downloads
11
Readme
Proompt Cat
Turbocharge your software development workflows by leveraging the power of AI.
When seeking coding help from AI models like GPT-4, you want to:
- Give the model as much relevant context as possible without exceeding the token limit.
- Name your files and use delimiters to help the AI understand the content.
- Explicitly instruct the model with clear and unambiguous prompts.
However, copying your project files, naming them, and delimiting them manually, is time consuming.
Also, you won't know you're going to exceed the token limit until you do:
⚡ The Solution ⚡
Proompt Cat solves these issues for you.
Run the script from your folder and select the files you want to include. The token count is dynamically updated:
Next, choose to add on a pre-proompt:
The contents of your project files are individually named, delimited, and concatenated together, then copied to your clipboard.
You get the optimum context from your project with only a few key presses. 🚀🚀
Remember to paste in your requirements or error messages into the LLM chat window if you chose 5. or 6:
💡 Pro tip: iterate! It pays to have the AI check its answers. You can also combine prompts - first review your code for bugs, then again for vulnerabilities, and so on.
Getting started
- Start by running this command to install the tool globally using npm.
npm install -g proompt-cat
- Now you should be able to run the script from any project folder.
proompt-cat
Contributing and Reporting Bugs
We welcome contributions to Proompt Cat and appreciate your help in making this tool even more money 💲💲!
Here's how you can contribute or report bugs:
Reporting Bugs
If you encounter a bug or unexpected behavior:
- First, check the existing issues to see if the bug has already been reported.
- If not, open a new issue.
- Provide a clear and descriptive title.
- In the description, include:
- Steps to reproduce the bug
- Expected behavior
- Actual behavior
- Your operating system and Node.js version
- Any relevant error messages or screenshots
Contributing Code
If you'd like to contribute code:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes, ensuring you follow the project's coding style.
- Add or update tests as necessary.
- Ensure all tests pass by running
npm test
. - Commit your changes with a clear and descriptive commit message.
- Push your branch to your fork.
- Open a pull request against the main repository's
main
branch.
Suggesting Enhancements
Have an idea to improve Proompt Cat?
- Open a new issue.
- Label it as an enhancement.
- Clearly describe your suggestion, including:
- The problem it solves
- How it should work
- Any potential drawbacks
We appreciate your contributions!