跳到正文
cccskills
免费在 GitHub 公开

codegraph

将 CodeGraph 作为默认内置 MCP-backed 代码图谱能力接入,用于 brownfield 符号搜索、 调用链、影响面和上下文查询。输出必须回落到 `/team-*` 主链和 artifacts。

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md2.9 KB
  • agents/openai.yaml420 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

CodeGraph

用途

  • 对已初始化的目标项目做本地代码图谱查询:符号搜索、callers/callees、impact、focused context。
  • 在设计、执行和评审前补结构证据,减少依赖纯文本搜索造成的遗漏。
  • 为 /team-plan、/team-execute、/team-review 提供可追溯的 MCP-backed 影响面证据。

触发信号

  • brownfield 项目需要快速回答“这个 symbol 在哪里”“谁调用它”“改它会影响谁”。
  • 目标 agent 已通过 TSP 安装流程配置 CodeGraph MCP,且目标项目存在 .codegraph/。
  • Graphify 的轻量结构证据不足,或者需要比 GitNexus 更贴近当前 agent MCP 工具面的本地查询。

默认工作流

  1. 先跑 npm run codegraph:doctor,确认 standalone CodeGraph binary、官方 installer 依赖和当前 target wrapper 可用。
  2. Claude 新项目会通过 SessionStart 自动初始化索引;非 Claude 或关闭自动初始化时,在消费方目标项目根目录手动初始化:
    codegraph init -i
    
  3. 通过 MCP 或 CLI 使用 search/context/callers/callees/impact/node/files/status 查询。
  4. 把关键发现回落到主链:
    • 规划阶段 -> /team-plan 的 Brownfield Context Snapshot 和 readiness 证据
    • 执行阶段 -> /team-execute 的 story slice 影响面说明
    • 评审阶段 -> /team-review 的风险、回归边界和放行建议

输出约定

  • CodeGraph 数据库由上游工具管理,通常写入目标项目 .codegraph/。
  • TSP 侧只沉淀结论,不沉淀上游数据库:
    • 分析目标
    • 查询入口(MCP tool 或 CLI 命令)
    • 核心发现
    • 对 /team-* 决策的影响
    • 后续验证或回退建议

边界与禁用项

  • TSP 安装时只运行 scripts/install-codegraph.js wrapper,不使用上游 --target=auto。
  • Claude SessionStart 可在新项目缺少 .codegraph/codegraph.db 时静默执行 codegraph init -i <projectRoot>;用 TSP_CODEGRAPH_AUTO_INIT=0 可关闭。
  • Codex / OpenCode 不做侵入式自动 hook,只依赖全局 MCP 配置、说明和 doctor 诊断。
  • 不提交 .codegraph/ 数据库或将其作为 TSP artifact。
  • CodeGraph 结论不能绕过 /team-plan、/team-review 或验证门禁。

推荐组合

  • 默认 brownfield 结构证据:/team-help -> /update-codemaps -> npm run codegraph:doctor -> Claude 自动初始化或 codegraph init -i -> /team-plan
  • 快速影响面确认:/team-execute -> CodeGraph impact/callers/callees -> /handoff -> /team-review
  • 深度多仓或许可证受限场景:按需选择 GitNexus 或 Graphify,并把结论统一回落到主链。

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use AtomLane to compile and execute safe atomic parallel plans on macOS and native Windows Preview for worthwhile independent argv tasks, dependency DAGs, supported platform entrypoints, or Apple-silicon operators. Use at task start or an execution boundary when structured local work may contain two or more worthwhile units; skip plain answers, one quick command, and work whose effects cannot be safely bounded.

中文简介正在准备中。当前显示原文说明。

hashgraph-online/awesome-codex-plugins13472026年10月19日 更新

add

免费

Register a deferred decision in the debt registry. Trigger by judgment, not a marker scan, whenever a future reader would ask "why this way?": an unmade decision, stub, loosened type, bypassed check, swallowed error, a default picked "for now", or a TODO/FIXME/HACK/XXX marker. Trigger immediately whenever you defer work, or when the user invokes $add. Over-register freely; the developer drops with "drop A", "drop A,C", or "drop all".

中文简介正在准备中。当前显示原文说明。

hashgraph-online/awesome-codex-plugins13472026年10月19日 更新

ADK 框架适配层。为 LangChain / EINO / AutoGen / AgentScope / CrewAI 提供框架特定的 代码模板、惯用模式、API 映射和项目结构,供 agent-dev-workshop Phase 5 代码生成使用。 每个框架 reference 文件标注 verified_date 用于版本锁定。

中文简介正在准备中。当前显示原文说明。

hashgraph-online/awesome-codex-plugins13472026年10月19日 更新

中文调试修复技能。用于报错、测试失败、页面异常、功能不符合预期、需要定位根因并做最小修复时。触发语包括"进入调试模式""帮我修问题""报错了""测试失败""页面坏了""找根因"。

中文简介正在准备中。当前显示原文说明。

hashgraph-online/awesome-codex-plugins13472026年10月19日 更新

交互式 AI Agent 开发工作坊:通过 6 阶段深度协作对话,引导用户完成 Agent 需求分析、架构设计、 工具定义、Prompt 与编排设计、代码生成、验证迭代,产出可直接运行的 Agent 项目。 框架无关设计优先,支持 LangChain / EINO / AutoGen / AgentScope / CrewAI 等 ADK 框架。

中文简介正在准备中。当前显示原文说明。

hashgraph-online/awesome-codex-plugins13472026年10月19日 更新

中文漂移审计技能。用于项目或学习过程变乱、上下文漂移、任务分叉、多个方案冲突、命名不一致、Codex 可能顺手改多了时。触发语包括"漂移检查""感觉跑偏了""项目变乱了""检查是否失控""分叉太多""上下文漂移"。

中文简介正在准备中。当前显示原文说明。

hashgraph-online/awesome-codex-plugins13472026年10月19日 更新

查看 hashgraph-online 的全部技能

报告此技能的问题