Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Language Models (LLMs) or other AI tools like Claude, ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok, and more.
git clone https://github.com/yamadashy/repomix.githttps://repomix.com
["1. Use Repomix to package your entire codebase into a single file. This typically involves running a command like 'repomix package --repo-path /path/to/your/repo --output repomix_file.txt'.","2. Open your preferred AI tool (e.g., Claude, ChatGPT, etc.) and upload the Repomix file when prompted.","3. Use the provided prompt template to ask specific questions about your codebase. Be as detailed as possible about what you want to analyze or improve.","4. Review the AI's output carefully. For complex issues, you may want to ask follow-up questions to get more specific recommendations.","5. Implement the suggested changes in your codebase. Consider creating a separate branch for major refactoring work to maintain stability in your main branch."]
Quickly package your entire codebase for AI analysis and suggestions.
Generate an AI-friendly file to assist in code refactoring tasks.
Use token counting to ensure your code fits within LLM context limits.
Easily exclude sensitive files from AI processing using .gitignore.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/yamadashy/repomixCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Please analyze the [REPO_NAME] codebase contained in this file. Identify the top 3 technical debt items that should be addressed first based on [CRITERIA]. For each item, provide a detailed explanation of the issue, its potential impact, and suggest specific refactoring steps.
After analyzing the 'E-Commerce Platform' codebase, here are the top 3 technical debt items identified: 1. **Legacy Payment Processing Module**: This module uses outdated encryption standards (AES-128) which is no longer considered secure. The impact is significant as it handles sensitive customer payment data. Recommended refactoring steps include: - Migrate to AES-256 encryption - Implement PCI-DSS compliant tokenization - Add HSTS headers for all payment-related endpoints - Schedule regular security audits 2. **Monolithic Database Schema**: The current schema has grown organically over 5 years and now contains over 300 tables with complex interdependencies. This makes maintenance and scaling increasingly difficult. Recommended refactoring steps include: - Implement database partitioning for high-traffic tables - Create a data access layer to abstract schema complexity - Begin planning for microservices architecture migration - Document all table relationships and dependencies 3. **Inconsistent Error Handling**: The application exhibits inconsistent error handling patterns across different modules, leading to poor user experience and potential security vulnerabilities. Recommended refactoring steps include: - Implement a centralized error handling framework - Standardize error codes and messages - Add comprehensive error logging with correlation IDs - Create user-friendly error pages for client-side errors
AI-powered text generation for professionals and creatives
Automate your customer service.
Advanced foundation models via API and ChatGPT
AI-powered search engine with cited answers
Unlock data insights with interactive dashboards and collaborative analytics capabilities.
AI assistant built for thoughtful, nuanced conversation
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan