DD

drafthq/draft

开发工具

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

40 stars 质量 67 趋势 8MIT

Claude Code、Cursor、GitHub Copilot、Gemini 的上下文驱动开发插件

概览

停止发布AI生成的漏洞。一个命令会对你的分支进行三阶段审查——验证、规范合规、代码质量——并编写缺失的测试。免费。开源。麻省理工学院。 由DeusData的代码库-内存-MCP驱动——一个支持159种语言、100%本地知识图谱引擎的代码。 网站 ·文档 ·方法论 ·观看(8分钟)·所有视频 你的AI助手刚写了200行。有些是bug。有些和你的模式不符。有些跳过测试。 1. — 运行测试、绒毛、类型检查并显示真实故障 2.— 将差异与约定规格(而非振动)进行对照 3.— 使用仓库的树置知识图谱标记热点、爆炸半径及缺失的测试覆盖 第一次运行不需要设置:在未索引的仓库里,它会审查差异并命名跳过的结构检查,这样你在花钱前就能看到结果。 免费。没有API密钥。没有付费方案。没有供应商锁定。能在审核员发现之前发现的3个bug。

概述(AI 翻译)

选秀

停止发布AI生成的bug。 一个命令会对你的分支进行三阶段审查——验证、规范合规、代码质量——并编写缺失的测试。免费。开源。麻省理工学院。

由DeusData的代码库-内存-MCP驱动——一个支持159种语言、100%本地知识图谱引擎的代码。

网站 · 文档 · 方法论· 观看(8分钟)· 所有视频


60秒球

你的AI助手刚写了200行。有些是bug。有些和你的模式不符。有些跳过测试。

三个阶段,一个命令:

  1. 验证 — 运行你的测试、lints、类型检查,并揭示真实的失败
  2. 规格合规——将差别与约定规格对照,而非震动
  3. 代码质量 — 通过仓库的树置知识图谱标记热点、爆炸半径和缺失测试覆盖率

第一次运行不需要设置:在未索引的仓库里,它会审查差异并命名跳过的结构检查,这样你在花钱前就能看到结果。

免费。没有API密钥。没有付费方案。没有供应商锁定。能在审核员发现之前发现的3个bug。

演示即将上线——目前请观看8分钟的攻略。


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

README

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

Draft

Stop shipping AI-generated bugs. One command runs a three-stage review on your branch — validation, spec compliance, code quality — and writes the missing tests. Free. Open-source. MIT.

Powered by codebase-memory-mcp by DeusData — a 159-language, 100% local knowledge-graph engine.

Website · Docs · Methodology · Watch (8 min) · All Videos


The 60-second pitch

Your AI assistant just wrote 200 lines. Some of them are bugs. Some don’t match your patterns. Some skip tests.

/draft:review

Three stages, one command:

  1. Validation — runs your tests, lints, type-checks, and surfaces real failures
  2. Spec compliance — checks the diff against the agreed spec, not vibes
  3. Code quality — flags hotspots, blast radius, and missing test coverage using a tree-sitter knowledge graph of your repo

No setup required for the first run: on an un-indexed repo it reviews the diff and names the structural checks it skipped, so you see findings before you spend anything.

Free. No API keys. No paid tier. No vendor lock-in. Catches the 3 bugs you missed before they hit your reviewer.

Demo coming soon — for now, watch the 8-minute walkthrough.


Install (30 seconds)

One command installs Draft into your agent. No clone, no config.

npx @drafthq/draft install       # claude-code | cursor | codex | opencode

…or install the CLI once and reuse it:

npm install -g @drafthq/draft
draft install 
draft list                             # show every host + where it installs
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add drafthq/draft
新手?先看 mcpskill.org 教程 →