diff --git a/.claude/skills/repomix-explorer/SKILL.md b/.claude/skills/repomix-explorer/SKILL.md index 4675350d5..9306998ea 100644 --- a/.claude/skills/repomix-explorer/SKILL.md +++ b/.claude/skills/repomix-explorer/SKILL.md @@ -44,32 +44,10 @@ The user might ask in various ways: - Local directory: `npx repomix@latest [directory]` - Choose output format (xml is default and recommended) - Decide if compression is needed (for repos >100k lines) -3. **Execute the repomix command** via Bash tool -4. **Analyze the generated output** using Grep and Read tools +3. **Execute the repomix command** via shell +4. **Analyze the generated output** using pattern search and file reading 5. **Provide clear insights** with actionable recommendations -## Available Tools - -### Bash Tool -Run repomix commands and shell utilities: -```bash -npx repomix@latest --remote yamadashy/repomix -npx repomix@latest ./src -grep -i "pattern" repomix-output.xml -``` - -### Grep Tool -Search patterns in output files (preferred over bash grep): -- Use for finding code patterns, functions, imports -- Supports context lines (-A, -B, -C equivalents) -- More efficient than bash grep for large files - -### Read Tool -Read specific sections of output files: -- Use offset/limit for large files -- Read file tree section first for structure overview -- Read specific file contents as needed - ## Workflow ### Step 1: Pack the Repository @@ -125,20 +103,20 @@ Always note the output file location for the next steps. ### Step 3: Analyze the Output File **Start with structure overview:** -1. Use Grep or Read tool to view file tree (usually near the beginning) +1. Search for file tree section (usually near the beginning) 2. Check metrics summary for overall statistics **Search for patterns:** ```bash -# Using Grep tool (preferred) +# Pattern search (preferred for large files) grep -iE "export.*function|export.*class" repomix-output.xml -# Using bash grep with context +# Search with context grep -iE -A 5 -B 5 "authentication|auth" repomix-output.xml ``` **Read specific sections:** -Use Read tool with offset/limit for large files, or read entire file if small. +Read files with offset/limit for large outputs, or read entire file if small. ### Step 4: Provide Insights @@ -151,7 +129,7 @@ Use Read tool with offset/limit for large files, or read entire file if small. ### Efficiency 1. **Always use `--compress` for large repos** (>100k lines) -2. **Use Grep tool first** before reading entire files +2. **Use pattern search (grep) first** before reading entire files 3. **Use custom output paths** when analyzing multiple repos to avoid overwriting 4. **Clean up output files** after analysis if they're very large @@ -226,7 +204,7 @@ Your workflow: 1. Run: npx repomix@latest (or --remote if specified) 2. Grep: grep -iE -A 5 -B 5 "auth|authentication|login|password" repomix-output.xml 3. Analyze matches and categorize by file -4. Use Read tool to get more context if needed +4. Read the file to get more context if needed 5. Report: "Authentication-related code found in the following files: - [file1]: [description] @@ -239,7 +217,7 @@ User: "Explain the structure of this project" Your workflow: 1. Run: npx repomix@latest ./ -2. Read file tree from output (use Read tool with limit if needed) +2. Read file tree from output (use limit if file is large) 3. Grep for main entry points: grep -iE "index|main|app" repomix-output.xml 4. Grep for exports: grep "export" repomix-output.xml | head -20 5. Provide structural overview with ASCII diagram if helpful @@ -301,11 +279,10 @@ If you need more information: ## Important Notes -1. **Don't use MCP tools**: This agent uses repomix CLI commands directly via Bash tool -2. **Output file management**: Track where files are created, clean up if needed -3. **Token efficiency**: Use `--compress` for large repos to reduce token usage -4. **Incremental analysis**: Don't read entire files at once; use grep first -5. **Security**: Repomix automatically excludes sensitive files; trust its security checks +1. **Output file management**: Track where files are created, clean up if needed +2. **Token efficiency**: Use `--compress` for large repos to reduce token usage +3. **Incremental analysis**: Don't read entire files at once; use grep first +4. **Security**: Repomix automatically excludes sensitive files; trust its security checks ## Self-Verification Checklist @@ -313,7 +290,7 @@ Before completing your analysis: - Did you run the repomix command successfully? - Did you note the metrics from command output? -- Did you use Grep tool efficiently before reading large sections? +- Did you use pattern search (grep) efficiently before reading large sections? - Are your insights based on actual data from the output? - Have you provided file paths and line numbers for references? - Did you suggest logical next steps for deeper exploration? diff --git a/README.md b/README.md index 06bc5f65e..324f2ed1f 100644 --- a/README.md +++ b/README.md @@ -1193,6 +1193,38 @@ repomix --skill-generate --compress repomix --remote yamadashy/repomix --skill-generate ``` +### Repomix Explorer Skill (Agent Skills) + +Repomix provides a ready-to-use **Repomix Explorer** skill that enables AI coding assistants to analyze and explore codebases using Repomix CLI. This skill is designed to work with various AI tools including Claude Code, Cursor, Codex, GitHub Copilot, and more. + +#### Quick Install + +```bash +npx add-skill yamadashy/repomix --skill repomix-explorer +``` + +This command installs the skill to your AI assistant's skills directory (e.g., `.claude/skills/`), making it immediately available. + +#### What It Does + +Once installed, you can analyze codebases with natural language instructions. + +Analyze remote repositories: + +```text +"What's the structure of this repo? +https://github.com/facebook/react" +``` + +Explore local codebases: + +```text +"What's in this project? +~/projects/my-app" +``` + +This is useful not only for understanding codebases, but also when you want to implement features by referencing your other repositories. + ## ⚙️ Configuration Repomix supports multiple configuration file formats for flexibility and ease of use. diff --git a/website/client/.vitepress/config/configDe.ts b/website/client/.vitepress/config/configDe.ts index cf2562e31..2bf9693f6 100644 --- a/website/client/.vitepress/config/configDe.ts +++ b/website/client/.vitepress/config/configDe.ts @@ -43,6 +43,7 @@ export const configDe = defineConfig({ { text: 'MCP-Server', link: '/de/guide/mcp-server' }, { text: 'Claude Code Plugins', link: '/de/guide/claude-code-plugins' }, { text: 'Agent Skills Generierung', link: '/de/guide/agent-skills-generation' }, + { text: 'Repomix Explorer Skill', link: '/de/guide/repomix-explorer-skill' }, { text: 'GitHub Actions', link: '/de/guide/github-actions' }, { text: 'Repomix als Bibliothek verwenden', link: '/de/guide/development/using-repomix-as-a-library' }, { text: 'KI-unterstützte Entwicklungstipps', link: '/de/guide/tips/best-practices' }, diff --git a/website/client/.vitepress/config/configEnUs.ts b/website/client/.vitepress/config/configEnUs.ts index 20624810d..1f6c0c3bf 100644 --- a/website/client/.vitepress/config/configEnUs.ts +++ b/website/client/.vitepress/config/configEnUs.ts @@ -43,6 +43,7 @@ export const configEnUs = defineConfig({ { text: 'MCP Server', link: '/guide/mcp-server' }, { text: 'Claude Code Plugins', link: '/guide/claude-code-plugins' }, { text: 'Agent Skills Generation', link: '/guide/agent-skills-generation' }, + { text: 'Repomix Explorer Skill', link: '/guide/repomix-explorer-skill' }, { text: 'GitHub Actions', link: '/guide/github-actions' }, { text: 'Using Repomix as a Library', link: '/guide/development/using-repomix-as-a-library' }, { text: 'AI-Assisted Development Tips', link: '/guide/tips/best-practices' }, diff --git a/website/client/.vitepress/config/configEs.ts b/website/client/.vitepress/config/configEs.ts index d2e6fa0dc..143db9bfa 100644 --- a/website/client/.vitepress/config/configEs.ts +++ b/website/client/.vitepress/config/configEs.ts @@ -43,6 +43,7 @@ export const configEs = defineConfig({ { text: 'Servidor MCP', link: '/es/guide/mcp-server' }, { text: 'Plugins de Claude Code', link: '/es/guide/claude-code-plugins' }, { text: 'Generación de Agent Skills', link: '/es/guide/agent-skills-generation' }, + { text: 'Repomix Explorer Skill', link: '/es/guide/repomix-explorer-skill' }, { text: 'GitHub Actions', link: '/es/guide/github-actions' }, { text: 'Usar Repomix como Biblioteca', link: '/es/guide/development/using-repomix-as-a-library' }, { text: 'Consejos para Desarrollo Asistido por IA', link: '/es/guide/tips/best-practices' }, diff --git a/website/client/.vitepress/config/configFr.ts b/website/client/.vitepress/config/configFr.ts index c892afe68..d339b7afe 100644 --- a/website/client/.vitepress/config/configFr.ts +++ b/website/client/.vitepress/config/configFr.ts @@ -43,6 +43,7 @@ export const configFr = defineConfig({ { text: 'Serveur MCP', link: '/fr/guide/mcp-server' }, { text: 'Plugins Claude Code', link: '/fr/guide/claude-code-plugins' }, { text: "Génération d'Agent Skills", link: '/fr/guide/agent-skills-generation' }, + { text: 'Repomix Explorer Skill', link: '/fr/guide/repomix-explorer-skill' }, { text: 'GitHub Actions', link: '/fr/guide/github-actions' }, { text: 'Utiliser Repomix comme bibliothèque', diff --git a/website/client/.vitepress/config/configHi.ts b/website/client/.vitepress/config/configHi.ts index 07bdcc5b0..3c4e48aea 100644 --- a/website/client/.vitepress/config/configHi.ts +++ b/website/client/.vitepress/config/configHi.ts @@ -43,6 +43,7 @@ export const configHi = defineConfig({ { text: 'MCP सर्वर', link: '/hi/guide/mcp-server' }, { text: 'Claude Code प्लगइन्स', link: '/hi/guide/claude-code-plugins' }, { text: 'Agent Skills जनरेशन', link: '/hi/guide/agent-skills-generation' }, + { text: 'Repomix Explorer Skill', link: '/hi/guide/repomix-explorer-skill' }, { text: 'GitHub Actions', link: '/hi/guide/github-actions' }, { text: 'Repomix को लाइब्रेरी के रूप में उपयोग', link: '/hi/guide/development/using-repomix-as-a-library' }, { text: 'AI-सहायक विकास टिप्स', link: '/hi/guide/tips/best-practices' }, diff --git a/website/client/.vitepress/config/configId.ts b/website/client/.vitepress/config/configId.ts index 384ff9573..d7beb9818 100644 --- a/website/client/.vitepress/config/configId.ts +++ b/website/client/.vitepress/config/configId.ts @@ -43,6 +43,7 @@ export const configId = defineConfig({ { text: 'Server MCP', link: '/id/guide/mcp-server' }, { text: 'Plugin Claude Code', link: '/id/guide/claude-code-plugins' }, { text: 'Pembuatan Agent Skills', link: '/id/guide/agent-skills-generation' }, + { text: 'Repomix Explorer Skill', link: '/id/guide/repomix-explorer-skill' }, { text: 'GitHub Actions', link: '/id/guide/github-actions' }, { text: 'Menggunakan Repomix sebagai Library', diff --git a/website/client/.vitepress/config/configIt.ts b/website/client/.vitepress/config/configIt.ts index 78eccdf05..1a612ec2b 100644 --- a/website/client/.vitepress/config/configIt.ts +++ b/website/client/.vitepress/config/configIt.ts @@ -43,6 +43,7 @@ export const configIt = defineConfig({ { text: 'Server MCP', link: '/it/guide/mcp-server' }, { text: 'Plugin Claude Code', link: '/it/guide/claude-code-plugins' }, { text: 'Generazione Agent Skills', link: '/it/guide/agent-skills-generation' }, + { text: 'Repomix Explorer Skill', link: '/it/guide/repomix-explorer-skill' }, { text: 'GitHub Actions', link: '/it/guide/github-actions' }, { text: 'Utilizzare Repomix come Libreria', diff --git a/website/client/.vitepress/config/configJa.ts b/website/client/.vitepress/config/configJa.ts index dc5519443..d45b55f32 100644 --- a/website/client/.vitepress/config/configJa.ts +++ b/website/client/.vitepress/config/configJa.ts @@ -41,6 +41,7 @@ export const configJa = defineConfig({ { text: 'MCPサーバー', link: '/ja/guide/mcp-server' }, { text: 'Claude Codeプラグイン', link: '/ja/guide/claude-code-plugins' }, { text: 'Agent Skills生成', link: '/ja/guide/agent-skills-generation' }, + { text: 'Repomix Explorer Skill', link: '/ja/guide/repomix-explorer-skill' }, { text: 'GitHub Actions', link: '/ja/guide/github-actions' }, { text: 'ライブラリとしての使用', link: '/ja/guide/development/using-repomix-as-a-library' }, { text: 'AI支援開発のヒント', link: '/ja/guide/tips/best-practices' }, diff --git a/website/client/.vitepress/config/configKo.ts b/website/client/.vitepress/config/configKo.ts index f3d00837e..29e3a96f6 100644 --- a/website/client/.vitepress/config/configKo.ts +++ b/website/client/.vitepress/config/configKo.ts @@ -43,6 +43,7 @@ export const configKo = defineConfig({ { text: 'MCP 서버', link: '/ko/guide/mcp-server' }, { text: 'Claude Code 플러그인', link: '/ko/guide/claude-code-plugins' }, { text: 'Agent Skills 생성', link: '/ko/guide/agent-skills-generation' }, + { text: 'Repomix Explorer Skill', link: '/ko/guide/repomix-explorer-skill' }, { text: 'GitHub Actions', link: '/ko/guide/github-actions' }, { text: 'Repomix를 라이브러리로 사용하기', link: '/ko/guide/development/using-repomix-as-a-library' }, { text: 'AI 지원 개발 팁', link: '/ko/guide/tips/best-practices' }, diff --git a/website/client/.vitepress/config/configPtBr.ts b/website/client/.vitepress/config/configPtBr.ts index ff9045cfb..7d018a8db 100644 --- a/website/client/.vitepress/config/configPtBr.ts +++ b/website/client/.vitepress/config/configPtBr.ts @@ -43,6 +43,7 @@ export const configPtBr = defineConfig({ { text: 'Servidor MCP', link: '/pt-br/guide/mcp-server' }, { text: 'Plugins do Claude Code', link: '/pt-br/guide/claude-code-plugins' }, { text: 'Geração de Agent Skills', link: '/pt-br/guide/agent-skills-generation' }, + { text: 'Repomix Explorer Skill', link: '/pt-br/guide/repomix-explorer-skill' }, { text: 'GitHub Actions', link: '/pt-br/guide/github-actions' }, { text: 'Usando Repomix como Biblioteca', link: '/pt-br/guide/development/using-repomix-as-a-library' }, { text: 'Dicas de Desenvolvimento Assistido por IA', link: '/pt-br/guide/tips/best-practices' }, diff --git a/website/client/.vitepress/config/configRu.ts b/website/client/.vitepress/config/configRu.ts index 275833467..dec73d31c 100644 --- a/website/client/.vitepress/config/configRu.ts +++ b/website/client/.vitepress/config/configRu.ts @@ -43,6 +43,7 @@ export const configRu = defineConfig({ { text: 'MCP-сервер', link: '/ru/guide/mcp-server' }, { text: 'Плагины Claude Code', link: '/ru/guide/claude-code-plugins' }, { text: 'Генерация Agent Skills', link: '/ru/guide/agent-skills-generation' }, + { text: 'Repomix Explorer Skill', link: '/ru/guide/repomix-explorer-skill' }, { text: 'GitHub Actions', link: '/ru/guide/github-actions' }, { text: 'Использование Repomix как библиотеки', link: '/ru/guide/development/using-repomix-as-a-library' }, { text: 'Лучшие практики разработки с ИИ', link: '/ru/guide/tips/best-practices' }, diff --git a/website/client/.vitepress/config/configVi.ts b/website/client/.vitepress/config/configVi.ts index 8d629468a..8e8e11040 100644 --- a/website/client/.vitepress/config/configVi.ts +++ b/website/client/.vitepress/config/configVi.ts @@ -43,6 +43,7 @@ export const configVi = defineConfig({ { text: 'Máy chủ MCP', link: '/vi/guide/mcp-server' }, { text: 'Plugin Claude Code', link: '/vi/guide/claude-code-plugins' }, { text: 'Tạo Agent Skills', link: '/vi/guide/agent-skills-generation' }, + { text: 'Repomix Explorer Skill', link: '/vi/guide/repomix-explorer-skill' }, { text: 'GitHub Actions', link: '/vi/guide/github-actions' }, { text: 'Sử dụng Repomix như một thư viện', diff --git a/website/client/.vitepress/config/configZhCn.ts b/website/client/.vitepress/config/configZhCn.ts index 8057534f9..5c8a398ad 100644 --- a/website/client/.vitepress/config/configZhCn.ts +++ b/website/client/.vitepress/config/configZhCn.ts @@ -40,6 +40,7 @@ export const configZhCn = defineConfig({ { text: 'MCP 服务器', link: '/zh-cn/guide/mcp-server' }, { text: 'Claude Code 插件', link: '/zh-cn/guide/claude-code-plugins' }, { text: 'Agent Skills 生成', link: '/zh-cn/guide/agent-skills-generation' }, + { text: 'Repomix Explorer Skill', link: '/zh-cn/guide/repomix-explorer-skill' }, { text: 'GitHub Actions', link: '/zh-cn/guide/github-actions' }, { text: '作为库使用 Repomix', link: '/zh-cn/guide/development/using-repomix-as-a-library' }, { text: 'AI辅助开发技巧', link: '/zh-cn/guide/tips/best-practices' }, diff --git a/website/client/.vitepress/config/configZhTw.ts b/website/client/.vitepress/config/configZhTw.ts index 027d4177f..6d87385c0 100644 --- a/website/client/.vitepress/config/configZhTw.ts +++ b/website/client/.vitepress/config/configZhTw.ts @@ -43,6 +43,7 @@ export const configZhTw = defineConfig({ { text: 'MCP 伺服器', link: '/zh-tw/guide/mcp-server' }, { text: 'Claude Code 外掛', link: '/zh-tw/guide/claude-code-plugins' }, { text: 'Agent Skills 生成', link: '/zh-tw/guide/agent-skills-generation' }, + { text: 'Repomix Explorer Skill', link: '/zh-tw/guide/repomix-explorer-skill' }, { text: 'GitHub Actions', link: '/zh-tw/guide/github-actions' }, { text: '作為庫使用 Repomix', link: '/zh-tw/guide/development/using-repomix-as-a-library' }, { text: 'AI輔助開發技巧', link: '/zh-tw/guide/tips/best-practices' }, diff --git a/website/client/src/de/guide/repomix-explorer-skill.md b/website/client/src/de/guide/repomix-explorer-skill.md new file mode 100644 index 000000000..fc8ce61cc --- /dev/null +++ b/website/client/src/de/guide/repomix-explorer-skill.md @@ -0,0 +1,84 @@ +# Repomix Explorer Skill (Agent Skills) + +Repomix bietet einen sofort einsatzbereiten **Repomix Explorer** Skill, der KI-Codierungsassistenten ermöglicht, Codebasen mit der Repomix CLI zu analysieren und zu erkunden. + +Dieser Skill ist für verschiedene KI-Tools konzipiert, darunter Claude Code, Cursor, Codex, GitHub Copilot und mehr. + +## Schnellinstallation + +```bash +npx add-skill yamadashy/repomix --skill repomix-explorer +``` + +Dieser Befehl installiert den Skill in das Skills-Verzeichnis Ihres KI-Assistenten (z.B. `.claude/skills/`) und macht ihn sofort verfügbar. + +## Was er kann + +Nach der Installation können Sie Codebasen mit natürlichen Sprachanweisungen analysieren. + +#### Remote-Repositories analysieren + +```text +"What's the structure of this repo? +https://github.com/facebook/react" +``` + +#### Lokale Codebasen erkunden + +```text +"What's in this project? +~/projects/my-app" +``` + +Dies ist nicht nur nützlich zum Verstehen von Codebasen, sondern auch wenn Sie Features implementieren möchten, indem Sie Ihre anderen Repositories als Referenz verwenden. + +## Funktionsweise + +Der Repomix Explorer Skill führt KI-Assistenten durch den kompletten Workflow: + +1. **Repomix-Befehle ausführen** - Repositories in KI-freundliches Format packen +2. **Ausgabedateien analysieren** - Mustersuche (grep) verwenden, um relevanten Code zu finden +3. **Erkenntnisse liefern** - Struktur, Metriken und umsetzbare Empfehlungen berichten + +## Anwendungsbeispiele + +### Eine neue Codebasis verstehen + +```text +"I want to understand the architecture of this project. +https://github.com/vercel/next.js" +``` + +Die KI führt repomix aus, analysiert die Ausgabe und liefert einen strukturierten Überblick über die Codebasis. + +### Bestimmte Muster finden + +```text +"Find all authentication-related code in this repository." +``` + +Die KI sucht nach Authentifizierungsmustern, kategorisiert Funde nach Datei und erklärt, wie die Authentifizierung implementiert ist. + +### Eigene Projekte referenzieren + +```text +"I want to implement a similar feature to what I did in my other project. +~/projects/my-other-app" +``` + +Die KI analysiert Ihr anderes Repository und hilft Ihnen, Ihre eigenen Implementierungen als Referenz zu nutzen. + +## Skill-Inhalt + +Der Skill enthält: + +- **Benutzerabsichtserkennung** - Versteht verschiedene Arten, wie Benutzer nach Codebasis-Analysen fragen +- **Repomix-Befehlsanleitung** - Weiß, welche Optionen zu verwenden sind (`--compress`, `--include`, etc.) +- **Analyse-Workflow** - Strukturierter Ansatz zur Erkundung gepackter Ausgaben +- **Best Practices** - Effizienztipps wie grep vor dem Lesen ganzer Dateien zu verwenden + +## Verwandte Ressourcen + +- [Agent Skills Generation](/de/guide/agent-skills-generation) - Eigene Skills aus Codebasen generieren +- [Claude Code Plugins](/de/guide/claude-code-plugins) - Repomix-Plugins für Claude Code +- [MCP Server](/de/guide/mcp-server) - Alternative Integrationsmethode diff --git a/website/client/src/en/guide/repomix-explorer-skill.md b/website/client/src/en/guide/repomix-explorer-skill.md new file mode 100644 index 000000000..12aba774e --- /dev/null +++ b/website/client/src/en/guide/repomix-explorer-skill.md @@ -0,0 +1,84 @@ +# Repomix Explorer Skill (Agent Skills) + +Repomix provides a ready-to-use **Repomix Explorer** skill that enables AI coding assistants to analyze and explore codebases using Repomix CLI. + +This skill is designed to work with various AI tools including Claude Code, Cursor, Codex, GitHub Copilot, and more. + +## Quick Install + +```bash +npx add-skill yamadashy/repomix --skill repomix-explorer +``` + +This command installs the skill to your AI assistant's skills directory (e.g., `.claude/skills/`), making it immediately available. + +## What It Does + +Once installed, you can analyze codebases with natural language instructions. + +#### Analyze remote repositories + +```text +"What's the structure of this repo? +https://github.com/facebook/react" +``` + +#### Explore local codebases + +```text +"What's in this project? +~/projects/my-app" +``` + +This is useful not only for understanding codebases, but also when you want to implement features by referencing your other repositories. + +## How It Works + +The Repomix Explorer skill guides AI assistants through the complete workflow: + +1. **Run repomix commands** - Pack repositories into AI-friendly format +2. **Analyze output files** - Use pattern search (grep) to find relevant code +3. **Provide insights** - Report structure, metrics, and actionable recommendations + +## Example Use Cases + +### Understanding a New Codebase + +```text +"I want to understand the architecture of this project. +https://github.com/vercel/next.js" +``` + +The AI will run repomix, analyze the output, and provide a structured overview of the codebase. + +### Finding Specific Patterns + +```text +"Find all authentication-related code in this repository." +``` + +The AI will search for auth patterns, categorize findings by file, and explain how authentication is implemented. + +### Referencing Your Own Projects + +```text +"I want to implement a similar feature to what I did in my other project. +~/projects/my-other-app" +``` + +The AI will analyze your other repository and help you reference your own implementations. + +## Skill Contents + +The skill includes: + +- **User intent recognition** - Understands various ways users ask for codebase analysis +- **Repomix command guidance** - Knows which options to use (`--compress`, `--include`, etc.) +- **Analysis workflow** - Structured approach to exploring packed output +- **Best practices** - Efficiency tips like using grep before reading entire files + +## Related Resources + +- [Agent Skills Generation](/guide/agent-skills-generation) - Generate your own skills from codebases +- [Claude Code Plugins](/guide/claude-code-plugins) - Repomix plugins for Claude Code +- [MCP Server](/guide/mcp-server) - Alternative integration method diff --git a/website/client/src/es/guide/repomix-explorer-skill.md b/website/client/src/es/guide/repomix-explorer-skill.md new file mode 100644 index 000000000..c6a4d6aa0 --- /dev/null +++ b/website/client/src/es/guide/repomix-explorer-skill.md @@ -0,0 +1,84 @@ +# Repomix Explorer Skill (Agent Skills) + +Repomix proporciona un skill **Repomix Explorer** listo para usar que permite a los asistentes de codificación de IA analizar y explorar bases de código usando Repomix CLI. + +Este skill está diseñado para funcionar con varias herramientas de IA, incluyendo Claude Code, Cursor, Codex, GitHub Copilot y más. + +## Instalación Rápida + +```bash +npx add-skill yamadashy/repomix --skill repomix-explorer +``` + +Este comando instala el skill en el directorio de skills de tu asistente de IA (ej. `.claude/skills/`), haciéndolo disponible inmediatamente. + +## Qué Hace + +Una vez instalado, puedes analizar bases de código con instrucciones en lenguaje natural. + +#### Analizar repositorios remotos + +```text +"What's the structure of this repo? +https://github.com/facebook/react" +``` + +#### Explorar bases de código locales + +```text +"What's in this project? +~/projects/my-app" +``` + +Esto es útil no solo para entender bases de código, sino también cuando quieres implementar características referenciando tus otros repositorios. + +## Cómo Funciona + +El skill Repomix Explorer guía a los asistentes de IA a través del flujo de trabajo completo: + +1. **Ejecutar comandos repomix** - Empaquetar repositorios en formato amigable para IA +2. **Analizar archivos de salida** - Usar búsqueda de patrones (grep) para encontrar código relevante +3. **Proporcionar insights** - Reportar estructura, métricas y recomendaciones accionables + +## Casos de Uso de Ejemplo + +### Entender una Nueva Base de Código + +```text +"I want to understand the architecture of this project. +https://github.com/vercel/next.js" +``` + +La IA ejecutará repomix, analizará la salida y proporcionará una visión estructurada de la base de código. + +### Encontrar Patrones Específicos + +```text +"Find all authentication-related code in this repository." +``` + +La IA buscará patrones de autenticación, categorizará hallazgos por archivo y explicará cómo está implementada la autenticación. + +### Referenciar Tus Propios Proyectos + +```text +"I want to implement a similar feature to what I did in my other project. +~/projects/my-other-app" +``` + +La IA analizará tu otro repositorio y te ayudará a referenciar tus propias implementaciones. + +## Contenido del Skill + +El skill incluye: + +- **Reconocimiento de intención del usuario** - Entiende varias formas en que los usuarios piden análisis de bases de código +- **Guía de comandos Repomix** - Sabe qué opciones usar (`--compress`, `--include`, etc.) +- **Flujo de trabajo de análisis** - Enfoque estructurado para explorar salidas empaquetadas +- **Mejores prácticas** - Consejos de eficiencia como usar grep antes de leer archivos completos + +## Recursos Relacionados + +- [Generación de Agent Skills](/es/guide/agent-skills-generation) - Genera tus propios skills desde bases de código +- [Claude Code Plugins](/es/guide/claude-code-plugins) - Plugins de Repomix para Claude Code +- [Servidor MCP](/es/guide/mcp-server) - Método de integración alternativo diff --git a/website/client/src/fr/guide/repomix-explorer-skill.md b/website/client/src/fr/guide/repomix-explorer-skill.md new file mode 100644 index 000000000..d635e6695 --- /dev/null +++ b/website/client/src/fr/guide/repomix-explorer-skill.md @@ -0,0 +1,84 @@ +# Repomix Explorer Skill (Agent Skills) + +Repomix fournit un skill **Repomix Explorer** prêt à l'emploi qui permet aux assistants de codage IA d'analyser et d'explorer des bases de code en utilisant Repomix CLI. + +Ce skill est conçu pour fonctionner avec divers outils IA, notamment Claude Code, Cursor, Codex, GitHub Copilot et plus encore. + +## Installation Rapide + +```bash +npx add-skill yamadashy/repomix --skill repomix-explorer +``` + +Cette commande installe le skill dans le répertoire des skills de votre assistant IA (ex. `.claude/skills/`), le rendant immédiatement disponible. + +## Ce Qu'il Fait + +Une fois installé, vous pouvez analyser des bases de code avec des instructions en langage naturel. + +#### Analyser des dépôts distants + +```text +"What's the structure of this repo? +https://github.com/facebook/react" +``` + +#### Explorer des bases de code locales + +```text +"What's in this project? +~/projects/my-app" +``` + +C'est utile non seulement pour comprendre des bases de code, mais aussi lorsque vous souhaitez implémenter des fonctionnalités en référençant vos autres dépôts. + +## Comment Ça Marche + +Le skill Repomix Explorer guide les assistants IA à travers le workflow complet: + +1. **Exécuter les commandes repomix** - Empaqueter les dépôts dans un format compatible IA +2. **Analyser les fichiers de sortie** - Utiliser la recherche de motifs (grep) pour trouver le code pertinent +3. **Fournir des insights** - Rapporter la structure, les métriques et les recommandations actionnables + +## Exemples de Cas d'Utilisation + +### Comprendre une Nouvelle Base de Code + +```text +"I want to understand the architecture of this project. +https://github.com/vercel/next.js" +``` + +L'IA exécutera repomix, analysera la sortie et fournira une vue d'ensemble structurée de la base de code. + +### Trouver des Motifs Spécifiques + +```text +"Find all authentication-related code in this repository." +``` + +L'IA recherchera les motifs d'authentification, catégorisera les résultats par fichier et expliquera comment l'authentification est implémentée. + +### Référencer Vos Propres Projets + +```text +"I want to implement a similar feature to what I did in my other project. +~/projects/my-other-app" +``` + +L'IA analysera votre autre dépôt et vous aidera à référencer vos propres implémentations. + +## Contenu du Skill + +Le skill inclut: + +- **Reconnaissance de l'intention utilisateur** - Comprend les différentes façons dont les utilisateurs demandent des analyses de base de code +- **Guide des commandes Repomix** - Sait quelles options utiliser (`--compress`, `--include`, etc.) +- **Workflow d'analyse** - Approche structurée pour explorer les sorties empaquetées +- **Meilleures pratiques** - Conseils d'efficacité comme utiliser grep avant de lire des fichiers entiers + +## Ressources Connexes + +- [Génération d'Agent Skills](/fr/guide/agent-skills-generation) - Générez vos propres skills à partir de bases de code +- [Plugins Claude Code](/fr/guide/claude-code-plugins) - Plugins Repomix pour Claude Code +- [Serveur MCP](/fr/guide/mcp-server) - Méthode d'intégration alternative diff --git a/website/client/src/hi/guide/repomix-explorer-skill.md b/website/client/src/hi/guide/repomix-explorer-skill.md new file mode 100644 index 000000000..7f3e36b6f --- /dev/null +++ b/website/client/src/hi/guide/repomix-explorer-skill.md @@ -0,0 +1,84 @@ +# Repomix Explorer Skill (Agent Skills) + +Repomix एक रेडी-टू-यूज **Repomix Explorer** स्किल प्रदान करता है जो AI कोडिंग असिस्टेंट को Repomix CLI का उपयोग करके कोडबेस का विश्लेषण और अन्वेषण करने में सक्षम बनाता है। + +यह स्किल Claude Code, Cursor, Codex, GitHub Copilot और अन्य सहित विभिन्न AI टूल्स के साथ काम करने के लिए डिज़ाइन किया गया है। + +## त्वरित इंस्टॉलेशन + +```bash +npx add-skill yamadashy/repomix --skill repomix-explorer +``` + +यह कमांड स्किल को आपके AI असिस्टेंट की स्किल्स डायरेक्टरी (जैसे `.claude/skills/`) में इंस्टॉल करती है, जिससे यह तुरंत उपलब्ध हो जाता है। + +## यह क्या करता है + +इंस्टॉल होने के बाद, आप प्राकृतिक भाषा निर्देशों के साथ कोडबेस का विश्लेषण कर सकते हैं। + +#### रिमोट रिपॉजिटरी का विश्लेषण करें + +```text +"What's the structure of this repo? +https://github.com/facebook/react" +``` + +#### लोकल कोडबेस का अन्वेषण करें + +```text +"What's in this project? +~/projects/my-app" +``` + +यह न केवल कोडबेस को समझने के लिए उपयोगी है, बल्कि तब भी जब आप अपने अन्य रिपॉजिटरी को संदर्भित करके फीचर्स लागू करना चाहते हैं। + +## यह कैसे काम करता है + +Repomix Explorer स्किल AI असिस्टेंट को पूर्ण वर्कफ़्लो के माध्यम से गाइड करता है: + +1. **repomix कमांड चलाएं** - रिपॉजिटरी को AI-फ्रेंडली फॉर्मेट में पैक करें +2. **आउटपुट फाइलों का विश्लेषण करें** - संबंधित कोड खोजने के लिए पैटर्न सर्च (grep) का उपयोग करें +3. **इनसाइट्स प्रदान करें** - स्ट्रक्चर, मेट्रिक्स और एक्शनेबल रेकमेंडेशन रिपोर्ट करें + +## उदाहरण उपयोग मामले + +### एक नए कोडबेस को समझना + +```text +"I want to understand the architecture of this project. +https://github.com/vercel/next.js" +``` + +AI repomix चलाएगा, आउटपुट का विश्लेषण करेगा और कोडबेस का एक संरचित अवलोकन प्रदान करेगा। + +### विशिष्ट पैटर्न खोजना + +```text +"Find all authentication-related code in this repository." +``` + +AI ऑथेंटिकेशन पैटर्न खोजेगा, फाइल के अनुसार निष्कर्षों को वर्गीकृत करेगा और बताएगा कि ऑथेंटिकेशन कैसे लागू किया गया है। + +### अपने प्रोजेक्ट्स का संदर्भ लेना + +```text +"I want to implement a similar feature to what I did in my other project. +~/projects/my-other-app" +``` + +AI आपके अन्य रिपॉजिटरी का विश्लेषण करेगा और आपको अपने स्वयं के इम्प्लीमेंटेशन का संदर्भ लेने में मदद करेगा। + +## स्किल कंटेंट + +स्किल में शामिल है: + +- **यूजर इंटेंट रिकग्निशन** - समझता है कि यूजर कोडबेस विश्लेषण के लिए विभिन्न तरीकों से कैसे पूछते हैं +- **Repomix कमांड गाइडेंस** - जानता है कि कौन से ऑप्शन उपयोग करने हैं (`--compress`, `--include`, आदि) +- **एनालिसिस वर्कफ़्लो** - पैक किए गए आउटपुट को एक्सप्लोर करने के लिए स्ट्रक्चर्ड अप्रोच +- **बेस्ट प्रैक्टिसेज** - एफिशिएंसी टिप्स जैसे पूरी फाइलें पढ़ने से पहले grep का उपयोग करना + +## संबंधित संसाधन + +- [Agent Skills जनरेशन](/hi/guide/agent-skills-generation) - कोडबेस से अपने खुद के स्किल्स जनरेट करें +- [Claude Code प्लगइन्स](/hi/guide/claude-code-plugins) - Claude Code के लिए Repomix प्लगइन्स +- [MCP सर्वर](/hi/guide/mcp-server) - वैकल्पिक इंटीग्रेशन मेथड diff --git a/website/client/src/id/guide/repomix-explorer-skill.md b/website/client/src/id/guide/repomix-explorer-skill.md new file mode 100644 index 000000000..975c3741a --- /dev/null +++ b/website/client/src/id/guide/repomix-explorer-skill.md @@ -0,0 +1,84 @@ +# Repomix Explorer Skill (Agent Skills) + +Repomix menyediakan skill **Repomix Explorer** yang siap pakai yang memungkinkan asisten coding AI untuk menganalisis dan menjelajahi codebase menggunakan Repomix CLI. + +Skill ini dirancang untuk bekerja dengan berbagai alat AI termasuk Claude Code, Cursor, Codex, GitHub Copilot, dan lainnya. + +## Instalasi Cepat + +```bash +npx add-skill yamadashy/repomix --skill repomix-explorer +``` + +Perintah ini menginstal skill ke direktori skills asisten AI Anda (misalnya `.claude/skills/`), membuatnya langsung tersedia. + +## Apa yang Dilakukan + +Setelah diinstal, Anda dapat menganalisis codebase dengan instruksi bahasa alami. + +#### Analisis repository jarak jauh + +```text +"What's the structure of this repo? +https://github.com/facebook/react" +``` + +#### Jelajahi codebase lokal + +```text +"What's in this project? +~/projects/my-app" +``` + +Ini berguna tidak hanya untuk memahami codebase, tetapi juga ketika Anda ingin mengimplementasikan fitur dengan mereferensikan repository Anda yang lain. + +## Cara Kerja + +Skill Repomix Explorer memandu asisten AI melalui alur kerja lengkap: + +1. **Jalankan perintah repomix** - Paket repository ke format yang ramah AI +2. **Analisis file output** - Gunakan pencarian pola (grep) untuk menemukan kode yang relevan +3. **Berikan wawasan** - Laporkan struktur, metrik, dan rekomendasi yang dapat ditindaklanjuti + +## Contoh Kasus Penggunaan + +### Memahami Codebase Baru + +```text +"I want to understand the architecture of this project. +https://github.com/vercel/next.js" +``` + +AI akan menjalankan repomix, menganalisis output, dan memberikan gambaran terstruktur dari codebase. + +### Menemukan Pola Tertentu + +```text +"Find all authentication-related code in this repository." +``` + +AI akan mencari pola autentikasi, mengkategorikan temuan berdasarkan file, dan menjelaskan bagaimana autentikasi diimplementasikan. + +### Mereferensikan Proyek Anda Sendiri + +```text +"I want to implement a similar feature to what I did in my other project. +~/projects/my-other-app" +``` + +AI akan menganalisis repository Anda yang lain dan membantu Anda mereferensikan implementasi Anda sendiri. + +## Konten Skill + +Skill ini mencakup: + +- **Pengenalan maksud pengguna** - Memahami berbagai cara pengguna meminta analisis codebase +- **Panduan perintah Repomix** - Mengetahui opsi mana yang digunakan (`--compress`, `--include`, dll.) +- **Alur kerja analisis** - Pendekatan terstruktur untuk menjelajahi output yang dipaket +- **Praktik terbaik** - Tips efisiensi seperti menggunakan grep sebelum membaca seluruh file + +## Sumber Daya Terkait + +- [Pembuatan Agent Skills](/id/guide/agent-skills-generation) - Buat skill Anda sendiri dari codebase +- [Plugin Claude Code](/id/guide/claude-code-plugins) - Plugin Repomix untuk Claude Code +- [Server MCP](/id/guide/mcp-server) - Metode integrasi alternatif diff --git a/website/client/src/it/guide/repomix-explorer-skill.md b/website/client/src/it/guide/repomix-explorer-skill.md new file mode 100644 index 000000000..4a20e6b41 --- /dev/null +++ b/website/client/src/it/guide/repomix-explorer-skill.md @@ -0,0 +1,84 @@ +# Repomix Explorer Skill (Agent Skills) + +Repomix fornisce uno skill **Repomix Explorer** pronto all'uso che consente agli assistenti di codifica IA di analizzare ed esplorare codebase utilizzando Repomix CLI. + +Questo skill è progettato per funzionare con vari strumenti IA, tra cui Claude Code, Cursor, Codex, GitHub Copilot e altri. + +## Installazione Rapida + +```bash +npx add-skill yamadashy/repomix --skill repomix-explorer +``` + +Questo comando installa lo skill nella directory degli skill del tuo assistente IA (es. `.claude/skills/`), rendendolo immediatamente disponibile. + +## Cosa Fa + +Una volta installato, puoi analizzare codebase con istruzioni in linguaggio naturale. + +#### Analizzare repository remoti + +```text +"What's the structure of this repo? +https://github.com/facebook/react" +``` + +#### Esplorare codebase locali + +```text +"What's in this project? +~/projects/my-app" +``` + +Questo è utile non solo per comprendere codebase, ma anche quando vuoi implementare funzionalità facendo riferimento ai tuoi altri repository. + +## Come Funziona + +Lo skill Repomix Explorer guida gli assistenti IA attraverso il workflow completo: + +1. **Eseguire comandi repomix** - Impacchettare repository in formato compatibile con IA +2. **Analizzare file di output** - Usare la ricerca di pattern (grep) per trovare codice rilevante +3. **Fornire insight** - Riportare struttura, metriche e raccomandazioni attuabili + +## Esempi di Casi d'Uso + +### Comprendere una Nuova Codebase + +```text +"I want to understand the architecture of this project. +https://github.com/vercel/next.js" +``` + +L'IA eseguirà repomix, analizzerà l'output e fornirà una panoramica strutturata della codebase. + +### Trovare Pattern Specifici + +```text +"Find all authentication-related code in this repository." +``` + +L'IA cercherà pattern di autenticazione, categorizzerà i risultati per file e spiegherà come l'autenticazione è implementata. + +### Riferirsi ai Propri Progetti + +```text +"I want to implement a similar feature to what I did in my other project. +~/projects/my-other-app" +``` + +L'IA analizzerà il tuo altro repository e ti aiuterà a fare riferimento alle tue implementazioni. + +## Contenuto dello Skill + +Lo skill include: + +- **Riconoscimento dell'intento utente** - Comprende i vari modi in cui gli utenti richiedono analisi di codebase +- **Guida ai comandi Repomix** - Sa quali opzioni usare (`--compress`, `--include`, ecc.) +- **Workflow di analisi** - Approccio strutturato per esplorare output impacchettati +- **Best practice** - Suggerimenti di efficienza come usare grep prima di leggere file interi + +## Risorse Correlate + +- [Generazione Agent Skills](/it/guide/agent-skills-generation) - Genera i tuoi skill da codebase +- [Plugin Claude Code](/it/guide/claude-code-plugins) - Plugin Repomix per Claude Code +- [Server MCP](/it/guide/mcp-server) - Metodo di integrazione alternativo diff --git a/website/client/src/ja/guide/repomix-explorer-skill.md b/website/client/src/ja/guide/repomix-explorer-skill.md new file mode 100644 index 000000000..540d556c8 --- /dev/null +++ b/website/client/src/ja/guide/repomix-explorer-skill.md @@ -0,0 +1,84 @@ +# Repomix Explorer Skill (Agent Skills) + +Repomixは、AIコーディングアシスタントがRepomix CLIを使ってコードベースを分析・探索できる、すぐに使える**Repomix Explorer**スキルを提供しています。 + +このスキルは、Claude Code、Cursor、Codex、GitHub Copilotなど、さまざまなAIツールで動作するように設計されています。 + +## クイックインストール + +```bash +npx add-skill yamadashy/repomix --skill repomix-explorer +``` + +このコマンドは、AIアシスタントのスキルディレクトリ(例:`.claude/skills/`)にスキルをインストールし、すぐに利用可能にします。 + +## できること + +インストール後、自然言語の指示でコードベースを分析できます。 + +#### リモートリポジトリを分析 + +```text +"What's the structure of this repo? +https://github.com/facebook/react" +``` + +#### ローカルコードベースを探索 + +```text +"What's in this project? +~/projects/my-app" +``` + +コードベースの理解だけでなく、自身の別のリポジトリを参考に機能を実装したい場合にも役立ちます。 + +## 仕組み + +Repomix Explorer スキルは、AIアシスタントに完全なワークフローをガイドします: + +1. **repomixコマンドを実行** - リポジトリをAIフレンドリーな形式にパック +2. **出力ファイルを分析** - パターン検索(grep)を使って関連コードを検索 +3. **インサイトを提供** - 構造、メトリクス、実用的な推奨事項を報告 + +## ユースケース例 + +### 新しいコードベースの理解 + +```text +"I want to understand the architecture of this project. +https://github.com/vercel/next.js" +``` + +AIはrepomixを実行し、出力を分析して、コードベースの構造化された概要を提供します。 + +### 特定パターンの検索 + +```text +"Find all authentication-related code in this repository." +``` + +AIは認証パターンを検索し、ファイルごとに分類して、認証がどのように実装されているかを説明します。 + +### 自分のプロジェクトを参照 + +```text +"I want to implement a similar feature to what I did in my other project. +~/projects/my-other-app" +``` + +AIは別のリポジトリを分析し、自身の実装を参考にするお手伝いをします。 + +## スキルの内容 + +このスキルには以下が含まれます: + +- **ユーザー意図の認識** - コードベース分析を求めるさまざまな表現を理解 +- **repomixコマンドのガイダンス** - 使用すべきオプション(`--compress`、`--include`など)を把握 +- **分析ワークフロー** - パックされた出力を探索するための構造化されたアプローチ +- **ベストプラクティス** - ファイル全体を読む前にgrepを使うなどの効率化のヒント + +## 関連リソース + +- [Agent Skills生成](/ja/guide/agent-skills-generation) - コードベースから独自のスキルを生成 +- [Claude Codeプラグイン](/ja/guide/claude-code-plugins) - Claude Code用のRepomixプラグイン +- [MCPサーバー](/ja/guide/mcp-server) - 代替の統合方法 diff --git a/website/client/src/ko/guide/repomix-explorer-skill.md b/website/client/src/ko/guide/repomix-explorer-skill.md new file mode 100644 index 000000000..5d1f8b557 --- /dev/null +++ b/website/client/src/ko/guide/repomix-explorer-skill.md @@ -0,0 +1,84 @@ +# Repomix Explorer Skill (Agent Skills) + +Repomix는 AI 코딩 어시스턴트가 Repomix CLI를 사용하여 코드베이스를 분석하고 탐색할 수 있게 해주는 바로 사용 가능한 **Repomix Explorer** 스킬을 제공합니다. + +이 스킬은 Claude Code, Cursor, Codex, GitHub Copilot 등 다양한 AI 도구에서 작동하도록 설계되었습니다. + +## 빠른 설치 + +```bash +npx add-skill yamadashy/repomix --skill repomix-explorer +``` + +이 명령은 AI 어시스턴트의 스킬 디렉토리(예: `.claude/skills/`)에 스킬을 설치하여 즉시 사용할 수 있게 합니다. + +## 기능 + +설치 후 자연어 지시로 코드베이스를 분석할 수 있습니다. + +#### 원격 저장소 분석 + +```text +"What's the structure of this repo? +https://github.com/facebook/react" +``` + +#### 로컬 코드베이스 탐색 + +```text +"What's in this project? +~/projects/my-app" +``` + +이것은 코드베이스를 이해하는 것뿐만 아니라 다른 저장소를 참조하여 기능을 구현하고 싶을 때도 유용합니다. + +## 작동 방식 + +Repomix Explorer 스킬은 AI 어시스턴트를 완전한 워크플로우로 안내합니다: + +1. **repomix 명령 실행** - 저장소를 AI 친화적인 형식으로 패킹 +2. **출력 파일 분석** - 패턴 검색(grep)을 사용하여 관련 코드 찾기 +3. **인사이트 제공** - 구조, 메트릭, 실행 가능한 권장 사항 보고 + +## 사용 사례 예시 + +### 새로운 코드베이스 이해하기 + +```text +"I want to understand the architecture of this project. +https://github.com/vercel/next.js" +``` + +AI가 repomix를 실행하고 출력을 분석하여 코드베이스의 구조화된 개요를 제공합니다. + +### 특정 패턴 찾기 + +```text +"Find all authentication-related code in this repository." +``` + +AI가 인증 패턴을 검색하고 파일별로 결과를 분류하며 인증이 어떻게 구현되었는지 설명합니다. + +### 자신의 프로젝트 참조하기 + +```text +"I want to implement a similar feature to what I did in my other project. +~/projects/my-other-app" +``` + +AI가 다른 저장소를 분석하고 자신의 구현을 참조하는 것을 도와줍니다. + +## 스킬 내용 + +이 스킬에는 다음이 포함됩니다: + +- **사용자 의도 인식** - 사용자가 코드베이스 분석을 요청하는 다양한 방식 이해 +- **Repomix 명령 가이드** - 사용할 옵션 파악 (`--compress`, `--include` 등) +- **분석 워크플로우** - 패킹된 출력을 탐색하기 위한 구조화된 접근 방식 +- **모범 사례** - 전체 파일을 읽기 전에 grep을 사용하는 것과 같은 효율성 팁 + +## 관련 리소스 + +- [Agent Skills 생성](/ko/guide/agent-skills-generation) - 코드베이스에서 자신만의 스킬 생성 +- [Claude Code 플러그인](/ko/guide/claude-code-plugins) - Claude Code용 Repomix 플러그인 +- [MCP 서버](/ko/guide/mcp-server) - 대체 통합 방법 diff --git a/website/client/src/pt-br/guide/repomix-explorer-skill.md b/website/client/src/pt-br/guide/repomix-explorer-skill.md new file mode 100644 index 000000000..a9f47aeec --- /dev/null +++ b/website/client/src/pt-br/guide/repomix-explorer-skill.md @@ -0,0 +1,84 @@ +# Repomix Explorer Skill (Agent Skills) + +Repomix fornece um skill **Repomix Explorer** pronto para uso que permite que assistentes de codificação de IA analisem e explorem bases de código usando Repomix CLI. + +Este skill foi projetado para funcionar com várias ferramentas de IA, incluindo Claude Code, Cursor, Codex, GitHub Copilot e mais. + +## Instalação Rápida + +```bash +npx add-skill yamadashy/repomix --skill repomix-explorer +``` + +Este comando instala o skill no diretório de skills do seu assistente de IA (ex. `.claude/skills/`), tornando-o imediatamente disponível. + +## O Que Faz + +Uma vez instalado, você pode analisar bases de código com instruções em linguagem natural. + +#### Analisar repositórios remotos + +```text +"What's the structure of this repo? +https://github.com/facebook/react" +``` + +#### Explorar bases de código locais + +```text +"What's in this project? +~/projects/my-app" +``` + +Isso é útil não apenas para entender bases de código, mas também quando você quer implementar recursos referenciando seus outros repositórios. + +## Como Funciona + +O skill Repomix Explorer guia os assistentes de IA através do fluxo de trabalho completo: + +1. **Executar comandos repomix** - Empacotar repositórios em formato amigável para IA +2. **Analisar arquivos de saída** - Usar busca de padrões (grep) para encontrar código relevante +3. **Fornecer insights** - Reportar estrutura, métricas e recomendações acionáveis + +## Exemplos de Casos de Uso + +### Entender uma Nova Base de Código + +```text +"I want to understand the architecture of this project. +https://github.com/vercel/next.js" +``` + +A IA executará repomix, analisará a saída e fornecerá uma visão geral estruturada da base de código. + +### Encontrar Padrões Específicos + +```text +"Find all authentication-related code in this repository." +``` + +A IA buscará padrões de autenticação, categorizará achados por arquivo e explicará como a autenticação está implementada. + +### Referenciar Seus Próprios Projetos + +```text +"I want to implement a similar feature to what I did in my other project. +~/projects/my-other-app" +``` + +A IA analisará seu outro repositório e ajudará você a referenciar suas próprias implementações. + +## Conteúdo do Skill + +O skill inclui: + +- **Reconhecimento de intenção do usuário** - Entende várias formas que os usuários pedem análise de bases de código +- **Guia de comandos Repomix** - Sabe quais opções usar (`--compress`, `--include`, etc.) +- **Fluxo de trabalho de análise** - Abordagem estruturada para explorar saídas empacotadas +- **Melhores práticas** - Dicas de eficiência como usar grep antes de ler arquivos inteiros + +## Recursos Relacionados + +- [Geração de Agent Skills](/pt-br/guide/agent-skills-generation) - Gere seus próprios skills a partir de bases de código +- [Plugins Claude Code](/pt-br/guide/claude-code-plugins) - Plugins Repomix para Claude Code +- [Servidor MCP](/pt-br/guide/mcp-server) - Método de integração alternativo diff --git a/website/client/src/ru/guide/repomix-explorer-skill.md b/website/client/src/ru/guide/repomix-explorer-skill.md new file mode 100644 index 000000000..4aa0cbe65 --- /dev/null +++ b/website/client/src/ru/guide/repomix-explorer-skill.md @@ -0,0 +1,84 @@ +# Repomix Explorer Skill (Agent Skills) + +Repomix предоставляет готовый к использованию навык **Repomix Explorer**, который позволяет AI-помощникам анализировать и исследовать кодовые базы с помощью Repomix CLI. + +Этот навык разработан для работы с различными AI-инструментами, включая Claude Code, Cursor, Codex, GitHub Copilot и другие. + +## Быстрая Установка + +```bash +npx add-skill yamadashy/repomix --skill repomix-explorer +``` + +Эта команда устанавливает навык в директорию навыков вашего AI-помощника (например, `.claude/skills/`), делая его сразу доступным. + +## Что Он Делает + +После установки вы можете анализировать кодовые базы с помощью инструкций на естественном языке. + +#### Анализ удалённых репозиториев + +```text +"What's the structure of this repo? +https://github.com/facebook/react" +``` + +#### Исследование локальных кодовых баз + +```text +"What's in this project? +~/projects/my-app" +``` + +Это полезно не только для понимания кодовых баз, но и когда вы хотите реализовать функции, ссылаясь на другие ваши репозитории. + +## Как Это Работает + +Навык Repomix Explorer проводит AI-помощников через полный рабочий процесс: + +1. **Выполнение команд repomix** - Упаковка репозиториев в AI-дружественный формат +2. **Анализ выходных файлов** - Использование поиска по шаблонам (grep) для нахождения релевантного кода +3. **Предоставление выводов** - Отчёт о структуре, метриках и практических рекомендациях + +## Примеры Использования + +### Понимание Новой Кодовой Базы + +```text +"I want to understand the architecture of this project. +https://github.com/vercel/next.js" +``` + +AI выполнит repomix, проанализирует вывод и предоставит структурированный обзор кодовой базы. + +### Поиск Конкретных Шаблонов + +```text +"Find all authentication-related code in this repository." +``` + +AI будет искать шаблоны аутентификации, категоризировать находки по файлам и объяснит, как реализована аутентификация. + +### Ссылка на Собственные Проекты + +```text +"I want to implement a similar feature to what I did in my other project. +~/projects/my-other-app" +``` + +AI проанализирует ваш другой репозиторий и поможет вам сослаться на ваши собственные реализации. + +## Содержимое Навыка + +Навык включает: + +- **Распознавание намерения пользователя** - Понимает различные способы, которыми пользователи запрашивают анализ кодовой базы +- **Руководство по командам Repomix** - Знает, какие опции использовать (`--compress`, `--include` и т.д.) +- **Рабочий процесс анализа** - Структурированный подход к исследованию упакованного вывода +- **Лучшие практики** - Советы по эффективности, например, использовать grep перед чтением целых файлов + +## Связанные Ресурсы + +- [Генерация Agent Skills](/ru/guide/agent-skills-generation) - Создавайте собственные навыки из кодовых баз +- [Плагины Claude Code](/ru/guide/claude-code-plugins) - Плагины Repomix для Claude Code +- [MCP Сервер](/ru/guide/mcp-server) - Альтернативный метод интеграции diff --git a/website/client/src/vi/guide/repomix-explorer-skill.md b/website/client/src/vi/guide/repomix-explorer-skill.md new file mode 100644 index 000000000..9c73b664f --- /dev/null +++ b/website/client/src/vi/guide/repomix-explorer-skill.md @@ -0,0 +1,84 @@ +# Repomix Explorer Skill (Agent Skills) + +Repomix cung cấp một skill **Repomix Explorer** sẵn sàng sử dụng cho phép các trợ lý lập trình AI phân tích và khám phá codebase bằng Repomix CLI. + +Skill này được thiết kế để hoạt động với nhiều công cụ AI khác nhau bao gồm Claude Code, Cursor, Codex, GitHub Copilot và nhiều hơn nữa. + +## Cài Đặt Nhanh + +```bash +npx add-skill yamadashy/repomix --skill repomix-explorer +``` + +Lệnh này cài đặt skill vào thư mục skills của trợ lý AI của bạn (ví dụ: `.claude/skills/`), làm cho nó có sẵn ngay lập tức. + +## Chức Năng + +Sau khi cài đặt, bạn có thể phân tích codebase bằng các hướng dẫn ngôn ngữ tự nhiên. + +#### Phân tích repository từ xa + +```text +"What's the structure of this repo? +https://github.com/facebook/react" +``` + +#### Khám phá codebase cục bộ + +```text +"What's in this project? +~/projects/my-app" +``` + +Điều này không chỉ hữu ích để hiểu codebase mà còn khi bạn muốn triển khai các tính năng bằng cách tham khảo các repository khác của bạn. + +## Cách Hoạt Động + +Skill Repomix Explorer hướng dẫn các trợ lý AI qua quy trình làm việc hoàn chỉnh: + +1. **Chạy các lệnh repomix** - Đóng gói repository thành định dạng thân thiện với AI +2. **Phân tích các file đầu ra** - Sử dụng tìm kiếm mẫu (grep) để tìm code liên quan +3. **Cung cấp thông tin chi tiết** - Báo cáo cấu trúc, số liệu và các đề xuất có thể thực hiện + +## Ví Dụ Trường Hợp Sử Dụng + +### Hiểu một Codebase Mới + +```text +"I want to understand the architecture of this project. +https://github.com/vercel/next.js" +``` + +AI sẽ chạy repomix, phân tích đầu ra và cung cấp tổng quan có cấu trúc về codebase. + +### Tìm Các Mẫu Cụ Thể + +```text +"Find all authentication-related code in this repository." +``` + +AI sẽ tìm kiếm các mẫu xác thực, phân loại các phát hiện theo file và giải thích cách xác thực được triển khai. + +### Tham Khảo Các Dự Án Của Bạn + +```text +"I want to implement a similar feature to what I did in my other project. +~/projects/my-other-app" +``` + +AI sẽ phân tích repository khác của bạn và giúp bạn tham khảo các triển khai của chính mình. + +## Nội Dung Skill + +Skill bao gồm: + +- **Nhận dạng ý định người dùng** - Hiểu các cách khác nhau mà người dùng yêu cầu phân tích codebase +- **Hướng dẫn lệnh Repomix** - Biết sử dụng các tùy chọn nào (`--compress`, `--include`, v.v.) +- **Quy trình phân tích** - Cách tiếp cận có cấu trúc để khám phá đầu ra đã đóng gói +- **Thực hành tốt nhất** - Mẹo hiệu quả như sử dụng grep trước khi đọc toàn bộ file + +## Tài Nguyên Liên Quan + +- [Tạo Agent Skills](/vi/guide/agent-skills-generation) - Tạo skills của riêng bạn từ codebase +- [Plugin Claude Code](/vi/guide/claude-code-plugins) - Plugin Repomix cho Claude Code +- [MCP Server](/vi/guide/mcp-server) - Phương pháp tích hợp thay thế diff --git a/website/client/src/zh-cn/guide/repomix-explorer-skill.md b/website/client/src/zh-cn/guide/repomix-explorer-skill.md new file mode 100644 index 000000000..352444838 --- /dev/null +++ b/website/client/src/zh-cn/guide/repomix-explorer-skill.md @@ -0,0 +1,84 @@ +# Repomix Explorer Skill (Agent Skills) + +Repomix 提供了一个即用型的 **Repomix Explorer** 技能,使 AI 编码助手能够使用 Repomix CLI 分析和探索代码库。 + +该技能设计用于各种 AI 工具,包括 Claude Code、Cursor、Codex、GitHub Copilot 等。 + +## 快速安装 + +```bash +npx add-skill yamadashy/repomix --skill repomix-explorer +``` + +此命令将技能安装到您的 AI 助手的技能目录(例如 `.claude/skills/`),使其立即可用。 + +## 功能介绍 + +安装后,您可以使用自然语言指令分析代码库。 + +#### 分析远程仓库 + +```text +"What's the structure of this repo? +https://github.com/facebook/react" +``` + +#### 探索本地代码库 + +```text +"What's in this project? +~/projects/my-app" +``` + +这不仅对理解代码库很有用,当您想通过参考其他仓库来实现功能时也很有帮助。 + +## 工作原理 + +Repomix Explorer 技能引导 AI 助手完成完整的工作流程: + +1. **运行 repomix 命令** - 将仓库打包成 AI 友好的格式 +2. **分析输出文件** - 使用模式搜索(grep)查找相关代码 +3. **提供见解** - 报告结构、指标和可操作的建议 + +## 使用案例示例 + +### 理解新代码库 + +```text +"I want to understand the architecture of this project. +https://github.com/vercel/next.js" +``` + +AI 将运行 repomix,分析输出,并提供代码库的结构化概述。 + +### 查找特定模式 + +```text +"Find all authentication-related code in this repository." +``` + +AI 将搜索认证模式,按文件分类结果,并解释认证是如何实现的。 + +### 参考自己的项目 + +```text +"I want to implement a similar feature to what I did in my other project. +~/projects/my-other-app" +``` + +AI 将分析您的其他仓库,帮助您参考自己的实现。 + +## 技能内容 + +该技能包括: + +- **用户意图识别** - 理解用户请求代码库分析的各种方式 +- **Repomix 命令指南** - 知道使用哪些选项(`--compress`、`--include` 等) +- **分析工作流** - 探索打包输出的结构化方法 +- **最佳实践** - 效率提示,如在读取整个文件之前先使用 grep + +## 相关资源 + +- [Agent Skills 生成](/zh-cn/guide/agent-skills-generation) - 从代码库生成您自己的技能 +- [Claude Code 插件](/zh-cn/guide/claude-code-plugins) - Repomix 的 Claude Code 插件 +- [MCP 服务器](/zh-cn/guide/mcp-server) - 替代集成方法 diff --git a/website/client/src/zh-tw/guide/repomix-explorer-skill.md b/website/client/src/zh-tw/guide/repomix-explorer-skill.md new file mode 100644 index 000000000..9dd034a96 --- /dev/null +++ b/website/client/src/zh-tw/guide/repomix-explorer-skill.md @@ -0,0 +1,84 @@ +# Repomix Explorer Skill (Agent Skills) + +Repomix 提供了一個即用型的 **Repomix Explorer** 技能,使 AI 編碼助手能夠使用 Repomix CLI 分析和探索程式碼庫。 + +該技能設計用於各種 AI 工具,包括 Claude Code、Cursor、Codex、GitHub Copilot 等。 + +## 快速安裝 + +```bash +npx add-skill yamadashy/repomix --skill repomix-explorer +``` + +此命令將技能安裝到您的 AI 助手的技能目錄(例如 `.claude/skills/`),使其立即可用。 + +## 功能介紹 + +安裝後,您可以使用自然語言指令分析程式碼庫。 + +#### 分析遠端倉庫 + +```text +"What's the structure of this repo? +https://github.com/facebook/react" +``` + +#### 探索本地程式碼庫 + +```text +"What's in this project? +~/projects/my-app" +``` + +這不僅對理解程式碼庫很有用,當您想通過參考其他倉庫來實現功能時也很有幫助。 + +## 工作原理 + +Repomix Explorer 技能引導 AI 助手完成完整的工作流程: + +1. **執行 repomix 命令** - 將倉庫打包成 AI 友好的格式 +2. **分析輸出檔案** - 使用模式搜尋(grep)查找相關程式碼 +3. **提供見解** - 報告結構、指標和可操作的建議 + +## 使用案例範例 + +### 理解新程式碼庫 + +```text +"I want to understand the architecture of this project. +https://github.com/vercel/next.js" +``` + +AI 將執行 repomix,分析輸出,並提供程式碼庫的結構化概述。 + +### 查找特定模式 + +```text +"Find all authentication-related code in this repository." +``` + +AI 將搜尋認證模式,按檔案分類結果,並解釋認證是如何實現的。 + +### 參考自己的專案 + +```text +"I want to implement a similar feature to what I did in my other project. +~/projects/my-other-app" +``` + +AI 將分析您的其他倉庫,幫助您參考自己的實現。 + +## 技能內容 + +該技能包括: + +- **使用者意圖識別** - 理解使用者請求程式碼庫分析的各種方式 +- **Repomix 命令指南** - 知道使用哪些選項(`--compress`、`--include` 等) +- **分析工作流** - 探索打包輸出的結構化方法 +- **最佳實踐** - 效率提示,如在讀取整個檔案之前先使用 grep + +## 相關資源 + +- [Agent Skills 生成](/zh-tw/guide/agent-skills-generation) - 從程式碼庫生成您自己的技能 +- [Claude Code 外掛](/zh-tw/guide/claude-code-plugins) - Repomix 的 Claude Code 外掛 +- [MCP 伺服器](/zh-tw/guide/mcp-server) - 替代整合方法