RRepoGEO

REPOGEO 报告 · LITE

mufeedvh/code2prompt

默认分支 main · commit b1cb9b8e · 扫描时间 2026/5/29 07:47:10

星标 7,373 · Fork 425

AI 可见性总分
33 /100
亟需修复
品类召回
0 / 2
在所有问题中均未被推荐
规则结果
通过 2 · 警告 0 · 失败 0
客观元数据检查
AI 认识你的名字
2 / 3
直接询问时,AI 是否点名你的仓库
如何阅读这份报告

行动计划告诉你下一步要做什么——按影响力排序、可直接复制粘贴的修改。品类可见性是真正的 GEO 测试:当用户向 AI 提一个不带品牌、本应让 mufeedvh/code2prompt 浮出水面的问题时,AI 是真的推荐了你,还是推荐了你的竞品?客观检查验证 AI 引擎最先权衡的那些元数据信号。自指检查判断 AI 是否还认识你的名字。

行动计划 — 可复制粘贴的修复

3 条由 gemini-2.5-flash 生成、按优先级排序的修改。修完后请把对应条目标记为完成。

整体方向
  • highreadme#1
    Reposition README opening to clarify unique value proposition

    原因:

    当前
    **Code2Prompt** is a powerful context engineering tool designed to ingest codebases and format them for Large Language Models. Whether you are manually copying context for ChatGPT, building AI agents via Python, or running a MCP server, Code2Prompt streamlines the context preparation process.
    复制粘贴的修复
    **Code2Prompt** is a powerful **CLI tool** that transforms your entire codebase into a **structured, LLM-ready prompt**, complete with **source tree context, token counting, and customizable templates**. Unlike simple file concatenation, it intelligently formats code with metadata (filename, language) to ensure optimal context for Large Language Models, whether for ChatGPT, AI agents, or local LLMs.
  • mediumreadme#2
    Add a 'Comparison to Alternatives' section in the README

    原因:

    复制粘贴的修复
    ## 💡 Why Code2Prompt? (vs. `grep`, `find`, or simple concatenation)
    
    While basic tools like `grep` or `find` can locate files, and simple scripts can concatenate them, **Code2Prompt** offers a specialized, intelligent approach for LLM context engineering:
    
    - **Structured Output:** Automatically formats code with file paths, language identifiers, and other metadata, ensuring LLMs understand the context.
    - **Token Awareness:** Provides accurate token counts and allows for intelligent truncation or splitting to fit context windows.
    - **Prompt Templating:** Use flexible templates to define how your codebase context is presented to the LLM.
    - **Source Tree Visualization:** Includes a representation of your project's structure for better contextual understanding.
    - **Cross-Platform CLI:** A robust, fast command-line interface for seamless integration into your workflow.
  • lowtopics#3
    Add `context-engineering` to the repository topics

    原因:

    当前
    ai, chatgpt, claude, cli, command-line, command-line-tool, gpt, llm, prompt, prompt-engineering, prompt-generator, prompt-toolkit, rust
    复制粘贴的修复
    ai, chatgpt, claude, cli, command-line, command-line-tool, context-engineering, gpt, llm, prompt, prompt-engineering, prompt-generator, prompt-toolkit, rust

本次扫描解析到的品类 GEO 通道:google/gemini-2.5-flash, deepseek/deepseek-v4-flash

品类可见性 — 真正的 GEO 测试

向 google/gemini-2.5-flash 提出的不带品牌问题。AI 推荐了你,还是推荐了别人?

各模型使用同一组问题 — 切换标签对比回答与排名。

召回
0 / 2
0% 的问题里出现了 mufeedvh/code2prompt
平均排名
越小越好。#1 表示首位推荐。
声量占比
0%
在所有被点名的工具中,你占了多少?
头号对手
grep
在 2 个问题中被推荐 2 次
竞品排行
  1. grep · 被推荐 2 次
  2. find · 被推荐 2 次
  3. Tree-sitter · 被推荐 1 次
  4. ast module · 被推荐 1 次
  5. go/ast · 被推荐 1 次
  • 品类问题
    How can I prepare my entire project's code for an LLM context window?
    你:未被推荐
    AI 推荐顺序:
    1. Tree-sitter
    2. ast module
    3. go/ast
    4. ts-morph
    5. Linguist
    6. cloc
    7. git log
    8. git blame
    9. DocFX
    10. Sphinx
    11. Javadoc
    12. Doxygen
    13. ripgrep
    14. grep
    15. find
    16. ack
    17. Bash
    18. Zsh
    19. PowerShell

    AI 推荐了 19 个替代方案,却始终没点名 mufeedvh/code2prompt。这就是要补上的差距。

    查看 AI 完整回答
  • 品类问题
    What command-line tool helps summarize a codebase into a single prompt for AI?
    你:未被推荐
    AI 推荐顺序:
    1. tree
    2. find
    3. xargs
    4. cat
    5. grep
    6. git ls-files
    7. cloc (AlDanial/cloc)
    8. ripgrep (BurntSushi/ripgrep)
    9. Python
    10. Node.js
    11. ast
    12. babel (babel/babel)

    AI 推荐了 12 个替代方案,却始终没点名 mufeedvh/code2prompt。这就是要补上的差距。

    查看 AI 完整回答

客观检查

针对 AI 引擎最看重的元数据信号的规则审计。

  • Metadata completeness
    pass

  • README presence
    pass

自指检查

当被直接问到你时,AI 是否还知道你的仓库存在?

  • Compared to common alternatives in this category, what is the core differentiator of mufeedvh/code2prompt?
    pass
    AI 未点名 mufeedvh/code2prompt —— 很可能在说另一个项目

    AI 的回答可能信誓旦旦却是错的。请按事实核对:技术栈、目标人群、差异化点是不是和你实际的对得上?

  • If a team adopts mufeedvh/code2prompt in production, what risks or prerequisites should they evaluate first?
    pass
    AI 明确点名了 mufeedvh/code2prompt

    AI 的回答可能信誓旦旦却是错的。请按事实核对:技术栈、目标人群、差异化点是不是和你实际的对得上?

  • In one sentence, what problem does the repo mufeedvh/code2prompt solve, and who is the primary audience?
    pass
    AI 明确点名了 mufeedvh/code2prompt

    AI 的回答可能信誓旦旦却是错的。请按事实核对:技术栈、目标人群、差异化点是不是和你实际的对得上?

嵌入你的 GEO 徽章

把这个徽章贴进 mufeedvh/code2prompt 的 README。每次重新扫描都会自动更新,并跳到最新报告——是「我在乎 AI 可发现性」最简单的公开证明。

RepoGEO badge preview实时预览
MARKDOWN(README)
[![RepoGEO](https://repogeo.com/badge/mufeedvh/code2prompt.svg)](https://repogeo.com/zh/r/mufeedvh/code2prompt)
HTML
<a href="https://repogeo.com/zh/r/mufeedvh/code2prompt"><img src="https://repogeo.com/badge/mufeedvh/code2prompt.svg" alt="RepoGEO" /></a>
Pro

订阅 Pro,解锁深度诊断

mufeedvh/code2prompt — 轻量扫描仍免费;本卡列出 Pro 相对轻量的深度额度。

  • 深度报告每月 10 次
  • 无品牌品类查询5,轻量 2
  • 优先行动项8,轻量 3