PromptCraft is a Visual Studio Code extension designed for developers, writers, and prompt engineers to effortlessly create structured, context-rich prompts. With an intuitive interface and seamless integration, PromptCraft simplifies the process of building, organizing, and copying your prompts in an optimized format.
Features
Code Block Management: Add code files directly from open editors or all currently open files to the prompt builder. Reorder them via drag-and-drop to define the sequence in your prompt.
Custom Instructions: Include a single custom instruction to guide the usage of your prompt.
Copy-Ready Prompts: Generate a prompt with predefined sections like <code_context>, <project_structure>, and <user_instructions>. Optimized in accordance with Anthropic's prompting guidelines.
Project Tree Generation: Automatically builds a project folder structure, excluding unnecessary directories (e.g., node_modules, .git, dist).
Interactive UI: Features collapsible cards for code blocks, visual separation of sections, and responsive drag-and-drop functionality.
Accessible and Minimalist Design: Built for simplicity and ease of use while adhering to VS Code’s design principles.
Screenshots
Feature
Screenshot
Drag-and-Drop Code Blocks
Custom Instruction Input
Requirements
PromptCraft works out of the box in Visual Studio Code without requiring any additional dependencies. Ensure you have:
Visual Studio Code version 1.75.0 or later.
A workspace with files to add as code blocks.
Extension Settings
This extension currently does not include configurable settings but is designed for a streamlined experience. Future updates may add customizable options based on user feedback.
Known Issues
Files with drastically large content might cause slower UI updates when added to the prompt builder.
Custom instructions are limited to a single card by design, but some users may expect multiple instructions.