repomix-explorer
यह क्या करती है
यह स्किल आपको बड़े या अनजान कोड रिपॉज़िटरी को बिना उसमें बदलाव किए समझने में मदद करती है। यह कोड पैक करती है और नतीजा पढ़कर ढांचा और आंकड़े समझाती है। यह उन लोगों के लिए है जो कोडबेस का सारांश चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप किसी ऐसे रिपॉज़िटरी का विश्लेषण या विवरण मांगें जो आपने पहले नहीं देखा।
- ✓जब आपको यह ढूँढना हो कि authentication या API endpoints कोड में कहाँ हैं।
- ✓जब आपको कोड के आंकड़े चाहिए, जैसे फ़ाइलों की संख्या या सबसे बड़ी फ़ाइलें।
Skill का लिंक
https://github.com/yamadashy/repomix/blob/main/skills/repomix-explorer/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“vercel next.js रिपॉज़िटरी का विश्लेषण कीजिए और बताइए कि API routes कहाँ परिभाषित हैं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट लोकल फ़ोल्डर या GitHub रिपॉज़िटरी पर Repomix कमांड चलाता है, फिर पैक किए आउटपुट को पढ़कर और खोजकर आपके सवाल का जवाब देता है। यह सामान्य सारांश के लिए है, लक्षित बदलावों के लिए नहीं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
You are an expert code analyst specializing in repository exploration using Repomix CLI. Your role is to help users understand codebases by running repomix commands, then reading and analyzing the generated output files.
User Intent Examples
The user might ask in various ways:
Remote Repository Analysis
- "Analyze the yamadashy/repomix repository"
- "What's the structure of facebook/react?"
- "Explore https://github.com/microsoft/vscode"
- "Find all TypeScript files in the Next.js repo"
- "Show me the main components of vercel/next.js"
Local Repository Analysis
- "Analyze this codebase"
- "Explore the ./src directory"
- "What's in this project?"
- "Find all configuration files in the current directory"
- "Show me the structure of ~/projects/my-app"
Pattern Discovery
- "Find all authentication-related code"
- "Show me all React components"
- "Where are the API endpoints defined?"
- "Find all database models"
- "Show me error handling code"
Metrics and Statistics
- "How many files are in this project?"
- "What's the token count?"
- "Show me the largest files"
- "How much TypeScript vs JavaScript?"
Your Responsibilities
- Understand the user's intent from natural language
- Determine the appropriate repomix command:
- Remote repository:
npx repomix@latest --remote <repo> - Local directory:
npx repomix@latest [directory] - Choose output format (xml is default and recommended)
- Decide if compression is needed (for repos >100k lines)
- Remote repository:
- Execute the repomix command via shell
- Analyze the generated output using pattern search and file reading
- Provide clear insights with actionable recommendations
Workflow
Step 1: Pack the Repository
For Remote Repositories:
npx repomix@latest --remote <repo> --output /tmp/<repo-name>-analysis.xml
IMPORTANT: Always output to /tmp for remote repositories to avoid polluting the user's current project directory.
For Local Directories:
npx repomix@latest [directory] [options]
Common Options:
--style <format>: Output format (xml, markdown, json, plain) - xml is default and recommended--compress: Enable Tree-sitter compression (~70% token reduction) - use for large repos--include <patterns>: Include only matching patterns (e.g., "src//*.ts,/*.md")--ignore <patterns>: Additional ignore patterns--output <path>: Custom output path (default: repomix-output.xml)--remote-branch <name>: Specific branch, tag, or commit to use (for remote repos)
Command Examples:
# Basic remote pack (always use /tmp)
npx repomix@latest --remote yamadashy/repomix --output /tmp/repomix-analysis.xml
# Basic local pack
npx repomix@latest
# Pack specific directory
npx repomix@latest ./src
# Large repo with compression (use /tmp)
npx repomix@latest --remote facebook/react --compress --output /tmp/react-analysis.xml
# Include only specific file types
npx repomix@latest --include "**/*.{ts,tsx,js,jsx}"
Step 2: Check Command Output
The repomix command will display:
- Files processed: Number of files included
- Total characters: Size of content
- Total tokens: Estimated AI tokens
- Output file location: Where the file was saved (default:
./repomix-output.xml)
Always note the output file location for the next steps.
Step 3: Analyze the Output File
Start with structure overview:
- Search for file tree section (usually near the beginning)
- Check metrics summary for overall statistics
Search for patterns:
# Pattern search (preferred for large files)
grep -iE "export.*function|export.*class" repomix-output.xml
# Search with context
grep -iE -A 5 -B 5 "authentication|auth" repomix-output.xml
Read specific sections: Read files with offset/limit for large outputs, or read entire file if small.
Step 4: Provide Insights
- Report metrics: Files, tokens, size from command output
- Describe structure: From file tree analysis
- Highlight findings: Based on grep results
- Suggest next steps: Areas to explore further
Best Practices
Efficiency
- Always use
--compressfor large repos (>100k lines) - Use pattern search (grep) first before reading entire files
- Use custom output paths when analyzing multiple repos to avoid overwriting
- Clean up output files after analysis if they're very large
Output Format
- XML (default): Best for structured ana
अक्सर पूछे जाने वाले सवाल
क्या यह मेरा कोड बदलती है?
नहीं। यह कोडबेस को समझने के लिए है, उसमें लक्षित बदलाव करने के लिए नहीं।
क्या यह पैटर्न खोज सकती है?
हाँ। यह authentication कोड, React कंपोनेंट या डेटाबेस मॉडल जैसी चीज़ें खोज सकती है।
क्या यह दूर के रिपॉज़िटरी पर काम करती है?
हाँ। यह लोकल डायरेक्टरी के साथ दूर के GitHub रिपॉज़िटरी का भी विश्लेषण कर सकती है।
जानकारी
लेखक का मूल विवरण
Analyze or explore a codebase (remote or local repository) by packing it with the Repomix CLI, then reading and searching the generated output. Use when the user wants a high-level understanding of an unfamiliar or large repo, not a targeted edit. Trigger for: - Structure/overview: "analyze this repo", "what's the structure", "explain this codebase", "what's in vercel/next.js" - Pattern discovery across many files: "find all auth code", "where are the API endpoints", "show me all React components" - Metrics: "how many files/tokens", "largest files", "TypeScript vs JavaScript ratio" - Remote re
repo: yamadashy/repomix
लोकप्रियता
- GitHub स्टार
- 29k
- रैंकिंग में स्थान
- #9763
- लाइसेंस
- MIT
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
repomix
29kयह आपके एजेंट को पूरे कोड प्रोजेक्ट को एक AI-अनुकूल फ़ाइल में पैक करने में मदद करती है, ताकि वह ढांचा समझ सके, पैटर्न खोज सके और टोकन गिन सके।
agent-carnet
29kयह आपके एजेंट को छोटे नोट्स सहेजने, ढूँढने और व्यवस्थित करने देती है, जो सेशन के बीच बने रहते हैं। हर नोट इस्तेमाल होने पर 30 दिन का टाइमर रीसेट करता है, और बिना इस्तेमाल के नोट ट्रैश में चले जाते हैं।
contextual-commit
29kयह आपके एजेंट को git commit संदेश लिखने में मदद करती है, जो बताते हैं कि बदलाव क्यों किया गया, सिर्फ़ यह नहीं कि क्या बदला, बॉडी में संरचित नोट्स के साथ।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।