Skip to main content

AI coding assistant skill for Claude Code and Codex - graph-main boundary graphs, multi-repo call chains, business-map concepts, and business search

Project description

ckgraphify

本目录用于 Claude Code plugin。仓库源码统一放在 ${CLAUDE_PLUGIN_ROOT}/repos/,图谱和业务地图统一放在 ${CLAUDE_PLUGIN_ROOT}/graphify-out/

安装依赖

# codex
python3 -m pip install -e ./ckgraphify && graphify install --platform codex
# claude code plugin
python3 -m pip install -e ./ckgraphify && CLAUDE_PLUGIN_ROOT=/Users/alsc/code/shop-ai/genius-kg/claude-plugin graphify install

生成并合并仓库图谱

下面命令会分别进入 ${CLAUDE_PLUGIN_ROOT}/repos/kl-health${CLAUDE_PLUGIN_ROOT}/repos/ele-newretail-health-audit 生成 graphify-out/graph-main.json,然后合并到 ${CLAUDE_PLUGIN_ROOT}/graphify-out/graph-hc.json

scripts/graph-main-repos.sh --repos-root "${CLAUDE_PLUGIN_ROOT}/repos" --out "${CLAUDE_PLUGIN_ROOT}/graphify-out/graph-hc.json" kl-health ele-newretail-health-audit

也可以传入更多 ${CLAUDE_PLUGIN_ROOT}/repos/ 下的仓库名:

# 健康卡 init all repos
scripts/graph-main-repos.sh --repos-root "${CLAUDE_PLUGIN_ROOT}/repos" --out "${CLAUDE_PLUGIN_ROOT}/graphify-out/graph-hc.json" ele-newretail-drug ele-newretail-health-task ele-newretail-drug-grow ele-newretail-health-audit ele-newretail-health-client ele-newretail-drug-trade kl-health health-vip-card medicine-unicore p ele-newretail-venus ele-newretail-summaryx china-alsc-sales-eleme-newretail-app
# 健康卡 增量更新 p、medicine-unicore repos
scripts/graph-main-repos.sh \
    --incremental \
    --repos-root "${CLAUDE_PLUGIN_ROOT}/repos" \
    --out "${CLAUDE_PLUGIN_ROOT}/graphify-out/graph-hc.json" \
    p medicine-unicore

main-trace 追踪

只输出追踪结果

关于ehealth-member实体的全部链路

graphify main-trace \
    --graph "${CLAUDE_PLUGIN_ROOT}/graphify-out/graph-hc.json" \
    --from ehealth-member \
    --max-depth 8

选择ehealth-member实体的/shopping/healthCard/createHealthCard 支线链路

graphify main-trace \
    --graph "${CLAUDE_PLUGIN_ROOT}/graphify-out/graph-hc.json" \
    --from ehealth-member \
    --api /shopping/healthCard/createHealthCard \
    --max-depth 8

输出追踪结果和来源文件

graphify main-trace \
    --graph "${CLAUDE_PLUGIN_ROOT}/graphify-out/graph-hc.json" \
    --from ehealth-member \
    --max-depth 8 --sources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ckgraphify-0.1.3.tar.gz (259.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ckgraphify-0.1.3-py3-none-any.whl (277.6 kB view details)

Uploaded Python 3

File details

Details for the file ckgraphify-0.1.3.tar.gz.

File metadata

  • Download URL: ckgraphify-0.1.3.tar.gz
  • Upload date:
  • Size: 259.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for ckgraphify-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f39659c059bc6ea93fada800c5f82d185ed52310e0898a0542155ff3cd1b2984
MD5 746bdeeb93351edcc79535ba6c82f102
BLAKE2b-256 ea0d771dd653c1b64ce2d151ff69b813e7c4222ac30eb42e61c5c33de364c5b7

See more details on using hashes here.

File details

Details for the file ckgraphify-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ckgraphify-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 277.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for ckgraphify-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c935a04fa6655034b4c1413bf451c034aa402ce5811162ab97447b41caeebd4c
MD5 e956b5a71d068c78c4ed6d89240bdff7
BLAKE2b-256 7448f4f29811bac0e2290e0839f8dc39de2cdad85026033e6145510cfda48955

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page