Prompt Tower.Nvim banner
kylesnowschwartz kylesnowschwartz

Prompt Tower.Nvim

AI community

Description

⚡ Turn your codebase into AI-ready context in seconds – the Neovim plugin that bridges the gap between your code and AI assistants. Select files, generate structured prompts, and feed your entire project to Claude/ChatGPT/Cursor with zero friction.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

prompt-tower.nvim

A Neovim plugin for creating AI-ready context from your codebase.

Features

  • 📁 File Selection: Choose files for context generation with UI interface or commands
  • 🎨 Multiple Template Formats: XML, Markdown, and Minimal output formats with hot-swapping
  • 🌳 Project Tree Generation: Configurable project structure visualization
  • 📋 Clipboard Integration: Automatically copy generated context to clipboard
  • 🚫 Smart Ignore Patterns: Respects .gitignore and .towerignore files
  • ⚙️ Highly Configurable: Extensive configuration options for all aspects
  • 🎯 Workspace Detection: Automatic project root detection
  • ⌨️ Keyboard-Driven UI: Intuitive keymaps for efficient file selection
  • 🧪 Well Tested: Comprehensive test suite using plenary.nvim

UI Interface

![Prompt Tower UI](./assets/prompt-tower-ui.png)

The interactive UI provides a comprehensive file selection interface with:

  • File Tree (left): Navigate and select files with visual indicators
  • Selected Files (right): View and manage your current selection
  • Context Areas (bottom): Add custom context before and after your files
  • Keyboard Navigation: Full keyboard-driven workflow for efficiency

Installation

Using [lazy.nvim](https://github.com/folke/lazy.nvim)

{
  'kylesnowschwartz/prompt-tower.nvim',
  config = function()
    require('prompt-tower').setup({
      -- Configuration options (see below)
    })
  end,
}

Using [packer.nvim](https://github.com/wbthomason/packer.nvim)

use {
  'kylesnowschwartz/prompt-tower.nvim',
  config = function()
    require('prompt-tower').setup()
  end
}

Quick Start

  1. **Select files for context**:

    :PromptTowerSelect  " Add current file to selection
  2. **Generate and copy context**:

    :PromptTowerGenerate  " Generate context and copy to clipboard
  3. **Clear selection**:

    :PromptTowerClear  " Remove all files fr