搜索

PythonReactSEOPDF
GitHub Skill

repomix

Pack codebases into context-optimized formats for analysis and understanding.

5dlabs☆ 1 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Repomix (Codebase Packaging)

Use Repomix to pack entire codebases into a single, context-optimized format for analysis.

Tools

Tool Purpose
repomix_pack_codebase Pack local codebase
repomix_pack_remote_repository Pack a GitHub repository
repomix_grep_repomix_output Search within packed output
repomix_read_repomix_output Read sections of packed output

Packing a Remote Repository

repomix_pack_remote_repository({
  remote: "https://github.com/5dlabs/my-project",
  branch: "develop"
})

Returns a packed representation of the entire codebase.

Searching Packed Output

# After packing, search for specific patterns
repomix_grep_repomix_output({
  pattern: "authentication",
  output_id: "abc123"
})

Reading Specific Sections

repomix_read_repomix_output({
  output_id: "abc123",
  start_line: 100,
  end_line: 200
})

Use Cases

Task Approach
PRD Analysis Pack repo to understand existing architecture
Code Review Pack to see full context of changes
Task Planning Pack to understand dependencies
Integration Pack multiple repos for merge planning

Best Practices

  1. Pack before planning - Understand the codebase first
  2. Use grep for navigation - Don't read everything
  3. Focus on relevant sections - Use start/end lines
  4. Cache outputs - Reuse packed output for multiple queries

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-03-04
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!