跳转到主要内容

Repomix

技能 已验证 活跃

使用 Repomix 将代码库打包并分析成适合 AI 处理的单一文件。 当用户希望探索仓库、分析代码结构、查找模式、检查令牌计数或为 AI 分析准备代码库上下文时使用。 支持本地目录和远程 GitHub 仓库。

目的

通过将大型代码库合并为一个单一的、可管理且适合 AI 处理的文件,来简化向 AI 模型提供大型代码库的过程。

功能

  • 打包本地和远程代码仓库
  • 生成适合 AI 处理的输出格式(XML、Markdown、JSON、纯文本)
  • 压缩代码库以减少令牌计数(约 70%)
  • 使用 glob 模式和忽略规则过滤文件
  • 包含敏感数据的安全检查

使用场景

  • 使用 AI 模型分析整个代码库
  • 探索仓库结构和查找模式
  • 为代码审查或重构准备代码库上下文
  • 估算 AI 上下文限制的令牌计数

非目标

  • 执行打包的代码库中的代码
  • 修改原始仓库中的代码
  • 直接提供实时代码分析或重构建议

信任

  • info:关注点在过去的 90 天里,打开了 11 个问题,关闭了 3 个。这表明关闭率低于 50%,并且有中等数量的未解决问题,这表明维护者参与度有待提高。

安装

npx skills add yamadashy/repomix

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

质量评分

已验证
98 /100
1 day ago 分析

信任信号

最近提交3 days ago
星标24.7k
许可证MIT
状态
查看源代码

类似扩展

Session Logs

100

Search and analyze your own session logs (older/parent conversations) using jq.

技能
steipete

Analyze Codebase For Mcp

99

Analyze an arbitrary codebase to identify functions, APIs, and data sources suitable for exposure as MCP tools, producing a tool specification document. Use when planning an MCP server for an existing project, auditing a codebase before wrapping it as an AI-accessible tool surface, comparing what a codebase can do versus what is already exposed via MCP, or generating a tool spec to hand off to scaffold-mcp-server.

技能
pjt222

SWE Repo Introspection

99

Inspects an unfamiliar software repository and produces a concrete orientation report covering structure, tooling, entry points, boundaries, active surfaces, and safe places to start work. Use when a user says `help me understand this repo`, `map this codebase before I edit it`, `where should I start`, or asks for an engineering walkthrough before planning or delegation. Do NOT use when the user already knows the target change and wants implementation, or when they need a specific bug diagnosis rather than repo orientation.

技能
ckorhonen

Performance Analysis

100

Comprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms

技能
ruvnet

Oraclaw Decide

100

为 AI 代理提供决策智能。分析选项、使用 PageRank 映射决策依赖关系、检测信息源冲突,并找出最重要的选择。

技能
Whatsonyourmind

Presentation Structure

100

关于演示文稿幻灯片格式、权重系统、导航和章节结构的知识

技能
shanraisshan