$ show ThePrimeagen/99
A Neovim plugin that integrates with AI CLI tools (opencode, claude, cursor-agent, gemini) to provide agentic coding workflows. It allows users to perform semantic searches, replace visual selections, run 'vibe' sessions for code generation, and get tutorials. The plugin manages state, request tracking, logging, and window management. It supports multiple providers, custom rules via SKILL.md files, and file completions. The architecture is modular with clear separation of concerns: providers, operations, extensions, and UI layers.
The LLM identified 3 files worth highlighting for reuse:
Provides Point and Range classes with robust geometric operations (comparison, containment, conversion between 1-based, 0-based, treesitter, LSP). Uses projection method for efficient comparison. Well-tested with edge cases. Can be extracted as a standalone Neovim geometry library.
Parses AI output lines in the format '/path/to/file:lnum:cnum,range,notes' into Neovim quickfix list entries. Handles commas in notes, colons, and malformed lines gracefully. A simple, isolated utility with no dependencies on internal modules.
Discovers project files using git ls-files (with --deduplicate) or filesystem fallback. Supports fuzzy matching, exclude patterns, and caching. Provides a completion provider for @file references. Demonstrates clean integration with Neovim's libuv API and git. Could be reused as a standalone file finder for Neovim plugins.