From ndf
DeepWiki(Devin MCP)のドキュメント内容を対象リポジトリのディレクトリにMarkdownファイルとして転載する。セクション構成を維持し、GFM準拠・日本語変換まで自動処理する。 This skill provides DeepWiki content transfer capabilities: - DeepWikiコンテンツの一括取得(公開/プライベートリポジトリ対応) - セクション番号付きファイル分割 - GFM準拠の自動修正 - 日本語翻訳(オプション) Triggers: "deepwiki transfer", "deepwiki転載", "wiki転載", "リポジトリドキュメント取得", "DeepWikiからMarkdown", "transfer wiki contents"
npx claudepluginhub takemi-ohama/ai-plugins --plugin ndfThis skill is limited to using the following tools:
DeepWikiのドキュメントをリポジトリ内のディレクトリに1ページ1ファイルのMarkdownとして転載し、PRを作成する。
Query DeepWiki MCP server for public GitHub repos' wiki structure, contents, and AI-powered answers to documentation questions.
Queries DeepWiki MCP server for public GitHub repo wiki structure, contents, and AI-powered answers to questions. Useful for exploring repo documentation without cloning.
Share bugs, ideas, or general feedback.
DeepWikiのドキュメントをリポジトリ内のディレクトリに1ページ1ファイルのMarkdownとして転載し、PRを作成する。
owner/repo 形式(例: facebook/react)deepWiki/)main)本スキルのスクリプトは $CLAUDE_PLUGIN_ROOT/skills/deepwiki-transfer/scripts/ に配置されている。
# スクリプトディレクトリの確認
SCRIPT_DIR="$CLAUDE_PLUGIN_ROOT/skills/deepwiki-transfer/scripts"
ls "$SCRIPT_DIR"
scripts/fetch_wiki.py を使って MCP サーバーに直接HTTPリクエストを送信し、全コンテンツを一時ファイルに保存する。LLMコンテキストを経由しないため、130万文字超のレスポンスも完全に保存できる。
# 公開リポジトリ(認証不要)
python "$SCRIPT_DIR/fetch_wiki.py" \
--repo owner/repo \
--output /tmp/deepwiki_raw.md \
--public
# プライベートリポジトリ(Devin APIキー必要)
python "$SCRIPT_DIR/fetch_wiki.py" \
--repo owner/repo \
--output /tmp/deepwiki_raw.md
# Wiki構造も取得(セクション順序の決定に使用)
python "$SCRIPT_DIR/fetch_wiki.py" \
--repo owner/repo \
--output /tmp/deepwiki_structure.md \
--tool read_wiki_structure \
--public
プライベートリポジトリの場合、環境変数 DEVIN_API_KEY にDevin APIキーを設定しておくこと。
scripts/split_pages.py を使い、一時ファイルを # Page: マーカーで分割し、セクション番号prefix付きファイル名で出力する。
# まず dry-run で確認
python "$SCRIPT_DIR/split_pages.py" \
/tmp/deepwiki_raw.md ./deepWiki/ \
--structure /tmp/deepwiki_structure.md \
--dry-run
# 問題なければ実行
python "$SCRIPT_DIR/split_pages.py" \
/tmp/deepwiki_raw.md ./deepWiki/ \
--structure /tmp/deepwiki_structure.md
ファイル名の命名規則:
XX_Title.md(例: 01_Overview.md)XX_Y_Title.md(例: 01_1_System_Architecture.md)この時点では内容を一切変更しない。
scripts/validate_gfm.py で自動修正した後、各ファイルを1ページずつ確認・修正する。
# 自動修正
python "$SCRIPT_DIR/validate_gfm.py" ./deepWiki/ --verbose
# 検証のみ
python "$SCRIPT_DIR/validate_gfm.py" ./deepWiki/ --check-only
自動修正の範囲:
→mermaid, php, sql 等)自動修正後、各ファイルを1ページずつ開いて以下を確認:
内容の意味を変えず、GFM上の記法修正のみ行う。言語変換はこのフェーズでは行わない。
ユーザー指定の出力言語が原文の言語と異なる場合、各ファイルを1ページずつ処理する:
XX_ / XX_Y_ は変更しない)ls でファイル一覧を表示し、ファイル数とセクション番号の整合性を確認.github/pull_request_template.md がある場合はそのテンプレートに沿ってPR説明を作成requests ライブラリ(pip install requests)DEVIN_API_KEY にDevin APIキーを設定01_, 02_, ..., 10_)fetch_wiki.py は MCP サーバーに直接HTTPリクエストを送信するため、requests ライブラリが必要