prompt-tower  by backnotprop

Codebase to AI context generator

Created 1 year ago
297 stars

Top 89.4% on SourcePulse

GitHubView on GitHub
Project Summary

Prompt Tower addresses the challenge of providing comprehensive and structured context to Large Language Models (LLMs) for software development tasks. It targets developers using AI assistants within IDEs like VS Code, Cursor, and others, enabling them to efficiently package entire codebases, selected files, and GitHub issues into AI-ready prompts, thereby improving the quality and relevance of AI-generated solutions.

How It Works

The tool offers a visual file selection interface within the IDE, allowing users to pick files and directories via checkboxes with live token counts. It then intelligently packages the selected content, including the project's directory structure and file contents, into a structured format (defaulting to AI-XML). This approach simplifies context management, prevents token limit surprises, and ensures AI models have a holistic understanding of the codebase.

Quick Start & Requirements

  • Install "Prompt Tower" from the VS Code Extensions Marketplace.
  • Works within VS Code, Cursor, Windsurf, and Google IDX.
  • Configuration via a .towerignore file in the project root.

Highlighted Details

  • Visual file selection with live token counting.
  • Smart context packaging including directory structure.
  • GitHub Issues integration for richer context.
  • Customizable output templates and ignore patterns.

Maintenance & Community

  • Developed by @backnotprop.
  • Contributions welcome via issues and pull requests.
  • Development details are available in DEVELOPMENT.md.

Licensing & Compatibility

  • Licensed under AGPL-3.0.
  • AGPL-3.0 is a strong copyleft license, requiring derivative works to also be open-sourced under the same license. This may have implications for commercial or closed-source use.

Limitations & Caveats

The AGPL-3.0 license may impose significant restrictions on integrating this tool into proprietary software or workflows without open-sourcing those components.

Health Check
Last Commit

2 months ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
1
Star History
33 stars in the last 30 days

Explore Similar Projects

Starred by John Resig John Resig(Author of jQuery; Chief Software Architect at Khan Academy) and Didier Lopes Didier Lopes(Founder of OpenBB).

CCPlugins by brennercruvinel

4.6%
2k
Claude Code CLI enhancement framework
Created 1 month ago
Updated 3 weeks ago
Starred by Alex Yu Alex Yu(Research Scientist at OpenAI; Former Cofounder of Luma AI), Will Brown Will Brown(Research Lead at Prime Intellect), and
7 more.

avante.nvim by yetone

0.5%
16k
Neovim plugin emulating Cursor AI IDE for AI-driven code assistance
Created 1 year ago
Updated 1 day ago
Feedback? Help us improve.