SC

simplyliz/ckb

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

114 stars 12 forks 质量 81 趋势 20NOASSERTION

simplyliz/ckb 是一个从 https://github.com/simplyliz/ckb. 导入的 MCP 服务器候选。

概览

simplyliz/ckb 是一个从 https://github.com/simplyliz/ckb. 导入的 MCP 服务器候选。

概述(AI 翻译)

了解你的代码。安全更改。自信地发货。

CKB将你的代码库转化为可查询的知识库。提问、理解影响、查找所有者、检测死代码——所有这些都通过CLI、API或AI助手实现。

可以把它想象成一位资深工程师,熟悉每行代码、每一个决策和每一位业主——全天候24小时待命,随时为您解答问题。


难题即时答案

问题 没有CKB的 有CKB的
“如果我改变这个,什么会坏?” Grep 和 Hope 精准爆炸半径与风险评分
“谁应该审核这次公关?” 从git猜测 blame 数据驱动审核建议
“这个代码还在使用吗?” 删除看看哪里出了问题 信心评分的死码检测
“我应该运行哪些测试?” 全部运行(30分钟) 仅运行受影响测试(2分钟)
“这个系统是如何工作的?” 阅读代码数小时 即时查询架构
“谁拥有此代码?” 手动搜索CODEOWNERS 带漂移检测的所有权
“是否存在暴露的秘密?” 手动扫描模式 自动扫描26个模式

你能做什么

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

CKB — Code Knowledge Backend

Know your code. Change it safely. Ship with confidence.

CKB transforms your codebase into a queryable knowledge base. Ask questions, understand impact, find owners, detect dead code—all through CLI, API, or AI assistants.

Think of it as a senior engineer who knows every line of code, every decision, and every owner—available 24/7 to answer your questions.


Instant Answers to Hard Questions

Question Without CKB With CKB
“What breaks if I change this?” Grep and hope Precise blast radius with risk score
“Who should review this PR?” Guess from git blame Data-driven reviewer suggestions
“Is this code still used?” Delete and see what breaks Confidence-scored dead code detection
“What tests should I run?” Run everything (30 min) Run affected tests only (2 min)
“How does this system work?” Read code for hours Query architecture instantly
“Who owns this code?” Search CODEOWNERS manually Ownership with drift detection
“Are there exposed secrets?” Manual grep for patterns Automated scanning with 26 patterns

What You Can Do

🔍 Understand — Semantic search, call graphs, usage tracing, architecture maps

⚡ Analyze — Impact analysis, risk scoring, hotspot detection, coupling analysis

🛡️ Protect — Affected test detection, breaking change warnings, PR risk assessment

🔐 Secure — Secret detection, credential scanning, security-sensitive code identification

👥 Collaborate — Ownership lookup, reviewer suggestions, architectural decisions (ADRs)

📊 Improve — Dead code detection, tech debt tracking, documentation coverage

🚀 Compound Operations — Single-call tools (explore, understand, prepareChange) reduce AI tool calls by 60-70%

🔗 Integrate — CLI, HTTP API, MCP for AI tools, CI/CD pipelines, custom scripts


Try It Now

# See what's risky in your codebase
ckb hotspots --format=human

# Check what changed and what might break
ckb diff-summary --format=human

# Scan for exposed secrets
ckb audit --format=human

# Check architecture at a glance
ckb arch --format=human

# Check system status
ckb status

Works Everywhere

AI Assistants CI/CD Your Tools
在 GitHub 查看完整 README

安装

npx @tastehub/ckb mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "ckb": { "command": "npx", "args": ["@tastehub/ckb", "mcp"] } } }