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

本目录用于在 repos/ 下的多个仓库生成 graph-main 图谱,并合并成一个总图谱后做链路追踪。

安装依赖

# codex
python3 -m pip install -e ./ckgraphify && graphify install --platform codex
# claude code 
python3 -m pip install -e ./ckgraphify && graphify install

生成并合并仓库图谱

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

scripts/graph-main-repos.sh --out graphify-out/graph-hc.json kl-health ele-newretail-health-audit

也可以传入更多 repos/ 下的仓库名:

# 健康卡 init all repos
scripts/graph-main-repos.sh --out 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 \
    --out graphify-out/graph-hc.json \
    p medicine-unicore

main-trace 追踪

只输出追踪结果

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

graphify main-trace \
    --graph ./graphify-out/graph-hc.json \
    --from ehealth-member \
    --max-depth 8

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

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

输出追踪结果和来源文件

graphify main-trace \
    --graph ./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.1.tar.gz (258.3 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.1-py3-none-any.whl (276.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ckgraphify-0.1.1.tar.gz
  • Upload date:
  • Size: 258.3 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.1.tar.gz
Algorithm Hash digest
SHA256 9be2ad4bb05d22886519b77686b68b17120a93d16e8b1975696ed8a93343000d
MD5 9f5e2a355f403d427bc4ef43d3e598f4
BLAKE2b-256 94d47e094edc06dcd304d1676ff68fcbcc7ef37d1d067dcefde7bf01aa076de8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ckgraphify-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 276.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b225fdcd165d5837f789491c142d3fc3db389525c4c6c3dd654c10d4a425b372
MD5 8939569be5abdfbd8313db3025461652
BLAKE2b-256 8b583a16cfa1c224d7da1a54506ed8283c73c03fa5395738280dad8b366e8f2c

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