-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Add promptext #5925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add promptext #5925
Conversation
Promptext is a Go CLI application for extracting and formatting codebase context for AI assistants. Built with Go using modern CLI best practices: Technical Details: - Uses pflag for POSIX-compliant argument parsing - Built with Go modules for easy installation - Cross-platform support (Linux, macOS, Windows) - Integrates tiktoken-go for accurate token counting - Uses go-pretty for formatted table output Features: - Smart file filtering with .gitignore support - Multi-factor relevance scoring and prioritization - Token budget management for LLM context optimization - Multiple output formats (PTX v2.0, JSONL, TOON, Markdown, XML) - Auto-config generation for 15+ project frameworks Perfect fit for the Standard CLI section as a production-ready Go CLI tool that helps developers work with AI assistants.
WalkthroughA new CLI tool entry called "promptext" was added to the Standard CLI category in README.md. The tool is described as extracting and formatting code context for AI assistants with token counting functionality. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (3)README.md📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.md📄 CodeRabbit inference engine (AGENTS.md)
Files:
{README.md,COVERAGE.md}📄 CodeRabbit inference engine (AGENTS.md)
Files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Automated Quality Checks (from CONTRIBUTING minimum standards)
These checks are a best-effort automation and do not replace human review. |
We want to ensure high quality of the packages. Make sure that you've checked the boxes below before sending a pull request.
Not every repository (project) will require every option, but most projects should. Check the Contribution Guidelines for details.
Please provide some links to your package to ease the review
Pull Request content
Category quality
Note that new categories can be added only when there are 3 packages or more.
Packages added a long time ago might not meet the current guidelines anymore. It would be very helpful if you could check 3-5 packages above and below your submission to ensure that they also still meet the Quality Standards.
Please delete one of the following lines:
Thanks for your PR, you're awesome! 😎
Summary by CodeRabbit