Skip to content

brandonwatson/promptperfect

Repository files navigation

🎭 Prompt Perfect: Your LLM's New Best Friend

How to use

There are two command prompts.

  • Open Editors: This will give you a back tick delimited block of text of all open text based files in your editor windows
  • Open Editors and ASCII Tree: Same as open editors, but at the top is an ascii representation of your source tree, and it ignores anything from .gitignore.

There are also some settings in the Activity Bar pane. You can set folder depth, max token length (so you don't include too many files), and an "Additional Instructions" text area, which I have found useful. You can detele the contents, or edit as you like.

🗒️Developer's Note

I wrote this entire readme.md with the help of this very extension. I pasted it into Anthropic and asked it to write a fun and engaging readme for my project.

If you want to help contribute to this little project, I'm all for it. Reach out to me. This extension solved a very specific problem I had in my LLM-assisted coding workflow. I wanted to reclaim time where possible by automating a time consuming task.

🚀 Efficiently Using LLM As A Paired Programmer

Are you tired of copy-pasting code snippets one by one into your favorite LLM chat? Say goodbye to that tedious task with Prompt Perfect! This magical VS Code extension is here to make your life easier and your prompts... well, perfect!

🎭 What's the Drama?

Prompt Perfect is like having a personal assistant for your AI conversations. It gathers all your open editor contents and project structure, wraps them up in a neat little package, and serves them on a silver platter, ready for your LLM to devour!

🎬 Features That Steal the Show

  • 📜 "Open Editors" Command: Captures the essence of your current work by bundling all open files into one glorious prompt.
  • 🌳 "Open Editors and ASCII Tree" Command: Same as above, but with a beautiful ASCII art representation of your project structure. It's like a bonsai tree for your code!
  • 🎨 Stylish Activity Bar Icon: Because looks matter, even in coding.
  • ⚙️ Customizable Settings: Tweak it to your heart's content!
  • 📋 Auto-Copy to Clipboard: Because every second counts when you're in the zone.

🎭 How to Join the Party

  1. Install Prompt Perfect from the VS Code Marketplace.
  2. Click on our fancy icon in the Activity Bar.
  3. Customize your settings (or don't, we're not judging).
  4. Use the command palette to run "Prompt Perfect: Open Editors" or "Prompt Perfect: Open Editors and ASCII Tree".
  5. Watch in awe as your prompt magically appears in your OUTPUT window! We also auto-copy to your clipboard?
  6. Paste into your favorite LLM chat and let the AI magic begin!

🎉 Why You'll Love It

  • Time-Saver: No more manual copy-pasting!
  • Context is King: Give your LLM the required picture of your project and focus on your problem area.
  • Lightweight: Doesn't hog your system resources (unlike some other extensions we won't name).
  • Customizable: Like your coffee, have it your way.

🎭 The Grand Finale

Prompt Perfect is here to make your coding life a little bit easier and a lot more fun. It's like having a tiny, code-savvy elf living in your VS Code, always ready to help.

Install Prompt Perfect today and make your prompts so perfect, even Shakespeare would be jealous!


Remember: With great prompts comes great responsibility. Use wisely, and may the code be with you! 🧙‍♂️✨

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published