技能潮 SkillTide 提交收录
官方说明开源项目8 天前
subhajitlucky/codebase-doctor

subhajitlucky/codebase-doctor

Models build
在 GitHub 查看 ↗直链 · 无中转页
官方说明Models build. Codebase Doctor verifies. Evidence-backed verification for agent-written code: secrets, deps, RLS, infra, and blast radius.
★ 数取值
0 ★ · subhajitlucky/codebase-doctor · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 12 次 · 被 1 个来源列出
评分构成
综合分 103 · 1 个来源 · repo
安装
claude mcp add codebase-doctor --scope user -- npx -y codebase-doctor@0.4.13 mcp
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 claude mcp add codebase-doctor --scope user -- npx -y codebase-doctor@0.4.13 mcp。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 subhajitlucky/codebase-doctor;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

Codebase Doctor

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

**Models build. Codebase Doctor verifies.**
> It finds the thing, and it never guesses.
Most repository scanners fail in one of two ways: they flood you with false positives, or they silently skip the hard case and report "clean." Codebase Doctor does neither. Every finding carries evidence, every audit reports what it *couldn't* analyze, and a clean run means the scope was actually checked.
That last line is the point. Most tools print findings and stop. This one tells you what it *didn't* check, every single run.
---
Why this exists
Coding agents ship code faster than review can keep up. The failure isn't that agents can't write code — it's that nothing **verifies** what they wrote before it merges.
Codebase Doctor is that verification step. It builds a source graph, scans for committed secrets, dependency drift, unsafe Dockerfiles, workflow injection, RLS mistakes, and accessibility regressions — then tells you exactly what it could not verify.
**Benchmarked, not vibes**: 17 seeded single-defect fixtures score **100% rule recall and zero medium+ false positives** (results, reproducible with npm run benchmark).
**Red-teamed**: an adversarial mutation corpus tries to hide each defect in a different shape — **11/11 mutants caught, 7/7 controls clean**, gated in CI (corpus, reproducible with npm run red-team).
**Cross-checked**: two independently written offline analyzers (this repo's sql-rls and rls-doctor) run over the same SQL corpus — **10 findings matched, 0 severity mismatches, 1 documented coverage difference**, safe schema clean under both (scoreboard, npm run differential).
**Field study**: of 100 agent-configured public repositories, **23% ship at least one high-severity finding** — 10% have broken imports, 4% committed key material, 11% risky agent configuration (report, anonymized and reproducible).
Install
Quick start
demo needs no configuration and no repository: it builds a disposable git
fixture with a tracked secret and a broken import, audits the simulated agent
edit with the real pipeline, prints the blast radius, and exits 1 to show the
CI gate. Nothing outside a temp directory is touched.
Options
Code review
review is the pull-request command. It always audits changed scope, narrows
findings to added diff lines, and prints a verdict — APPROVE, COMMENT, or
REQUEST_CHANGES — so unrelated old issues never fail a PR:
- --format markdown renders a PR-comment-ready body with the verdict,
findings, source impact, and coverage limitations.
- --format github emits ::error / ::warning / ::notice workflow
commands that annotate pull-request diffs inline from Actions logs, with no
network access.
- A finding on an unchanged line is out of scope for the verdict and counted
as omitted; the full audit still reports it. --all-findings disables
narrowing, and --output writes the report to a file as well as
stdout.
- With --baseline, only *new* findings in the diff gate the verdict.
- Exit 1 means the review requests changes; exit 2 is an operational
failure, never a clean result. Inspect coverage before calling the reviewed
diff verified or clean.
GitHub Action
Findings appear in the Security tab. See docs/github-action.md.
---
What it checks
Secrets — working tree and history
Precision-first and not exhaustive: it detects private-key material, provider-token shapes, paired AWS credentials, credential-bearing URLs, and high-confidence sensitive assignments. A Git-ignored .env is normal storage and is **not** a finding; a tracked one containing a real credential is.
security/secrets-history catches the case that matters most: a secret committed and later deleted from the working tree, so a rotated-looking repo doesn't hide an exposure. It inspects the most recent 200 commits across all branches without ever checking out, rewriting, or executing repository content. Changed audits scope the history log to changed paths, so deleting a leaked file cannot review clean.
来源
github · https://github.com/subhajitlucky/codebase-doctor
按领域浏览
开源项目
收录于
昨天

更多开源项目

查看开源项目全部 731 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引