repomix
Repomixを使用して、コード全体をAIフレンドリーな単一ファイルにパッケージ化できます。カスタマイズ可能なインクルード/エクスクルードパターンでコードベースをパック、XML・Markdown・プレーンテキストなど複数の出力形式に対応、ファイル構造とコンテキストを保持、トークンカウント機能によりAI処理を最適化、ファイルタイプやディレクトリでフィルタリング、カスタムヘッダーと要約を追加できます。AI分析用のコードベースパッケージ化、LLMコンテキスト用のリポジトリスナップショット作成、サードパーティライブラリの分析、セキュリティ監査準備、ドキュメンテーション用コンテキスト生成、未知のコードベース評価時に利用してください。
description の原文を見る
Package entire code repositories into single AI-friendly files using Repomix. Capabilities include pack codebases with customizable include/exclude patterns, generate multiple output formats (XML, Markdown, plain text), preserve file structure and context, optimize for AI consumption with token counting, filter by file types and directories, add custom headers and summaries. Use when packaging codebases for AI analysis, creating repository snapshots for LLM context, analyzing third-party libraries, preparing for security audits, generating documentation context, or evaluating unfamiliar codebases.
SKILL.md 本文
Repomix スキル
Repomixは、リポジトリ全体を単一のAI対応ファイルにパッケージ化します。Claude、ChatGPT、Geminiなどのコードベースをフィードするのに最適です。
使用するタイミング
以下の場合に使用します:
- AIアナライシスのためのコードベースのパッケージ化
- LLMコンテキストのためのリポジトリスナップショット作成
- サードパーティライブラリの分析
- セキュリティ監査の準備
- ドキュメンテーション コンテキストの生成
- 大規模なコードベース全体のバグ調査
- AI対応のコード表現の作成
クイックスタート
インストール確認
repomix --version
インストール
# npm
npm install -g repomix
# Homebrew (macOS/Linux)
brew install repomix
基本的な使用方法
# 現在のディレクトリをパッケージ化(repomix-output.xmlを生成)
repomix
# 出力形式を指定
repomix --style markdown
repomix --style json
# リモートリポジトリをパッケージ化
npx repomix --rem
...
詳細情報
- 作者
- nordeim
- ライセンス
- 不明
- 最終更新
- 2026/4/14
Source: https://github.com/nordeim/Prompt-Engineering / ライセンス: 未指定