技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
preflight-dev/preflight

preflight-dev/preflight

📇 🏠 🍎 🪟 🐧 - Catch vague Claude Code prompts before they waste tokens: prompt scorecards, session history…
在 GitHub 查看 ↗直链 · 无中转页
官方说明📇 🏠 🍎 🪟 🐧 - Catch vague Claude Code prompts before they waste tokens: prompt scorecards, session history search, cross-service contract awareness and cost estimation.
配置模板(请按你的客户端调整)
claude mcp add preflight -- npx -y preflight
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
13 ★ · preflight-dev/preflight · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 13 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 preflight-dev/preflight;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

✈️ preflight

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

**Stop burning tokens on vague prompts.**
A 24-tool MCP server for Claude Code that catches ambiguous instructions before they cost you 2-3x in wrong→fix cycles — plus semantic search across your entire session history, cross-service contract awareness, and 12-category scorecards.
Quick Start · How It Works · Tool Reference · Configuration · Scoring
---
What's New in v3.2.0
- **Unified preflight_check entry point** — one tool that triages every prompt and chains the right checks automatically
- **Smart triage classification** — routes prompts through a decision tree (trivial → ambiguous → multi-step → cross-service)
- **Correction pattern learning** — remembers past mistakes and warns you before repeating them
- **Cross-service contracts** — extracts types, interfaces, routes, and schemas across related projects
- **.preflight/ config directory** — team-shareable YAML config for triage rules and thresholds
- **Trend & comparative scorecards** — weekly/monthly trend lines, cross-project comparisons, radar charts, PDF export
- **Cost estimator** — estimates token spend and waste from corrections
---
The Problem
We built this after analyzing **9 months of real Claude Code usage** — 512 sessions, 32,000+ events, 3,200+ prompts, 1,642 commits, and 258 sub-agent spawns across a production Next.js/Prisma/Supabase app. The findings were brutal:
- **41% of prompts were under 50 characters** — things like fix the tests, commit this, remove them
- Each vague prompt triggers a **wrong→fix cycle costing 2-3x tokens**
- **~33K characters/day** duplicated from repeated context pastes
- **124 corrections logged** — places where Claude went the wrong direction and had to be steered back
- **94 context compactions** from unbounded session scope blowing past the context window
- Estimated **30-40% of tokens wasted** on avoidable back-and-forth
The pattern is always the same: vague prompt → Claude guesses → wrong output → you correct → repeat. That's your money evaporating.
The Solution
24 tools in 5 categories that run as an MCP server inside Claude Code:
| Category | Tools | What it does |
|----------|-------|-------------|
| ✈️ **Preflight Core** | 1 | Unified entry point — triages every prompt, chains the right checks automatically |
| 🎯 **Prompt Discipline** | 12 | Catches vague prompts, enforces structure, prevents waste |
| 🔍 **Timeline Intelligence** | 4 | LanceDB vector search across months of session history |
| 📊 **Analysis & Reporting** | 4 | Scorecards, cost estimation, session stats, pattern detection |
| ✅ **Verification & Hygiene** | 3 | Type-check, test, audit, and contract search |
Before / After
---
Quick Start
Option A: npx (fastest — no install)
With environment variables:
Option B: Clone & configure manually
Add to your project's .mcp.json:
Restart Claude Code. The tools activate automatically.
Option C: npm (global)
> **Note:** preflight-dev runs the interactive setup wizard. preflight-dev-serve starts the MCP server — that's what you want in your Claude Code config.
---
How It Works
The Triage Decision Tree
Every prompt flows through a classification engine before any work begins. This is the actual decision tree from src/lib/triage.ts:
Each level triggers different tool chains:
| Level | What fires | Example prompt |
|-------|-----------|----------------|
| **Trivial** | Nothing — pass through | commit |
| **Clear** | File verification only | fix null check in src/auth/jwt.ts line 42 |
| **Ambiguous** | Clarify intent + git state + workspace priorities | fix the auth bug |
| **Cross-service** | Clarify + search related projects + contracts | add tiered rewards |
| **Multi-step** | Clarify + scope + sequence + checkpoints | refactor auth to OAuth2 and update all consumers |
Additionally, **correction pattern matching** can boost any triage level. If your prompt matches 2+ keywords from a previously logged correction, it's bumped to at least ambiguous — even if it would otherwise pass through.
Data Flow
Session Data Structure
Claude Code stores session data as JSONL files:
Each JSONL line is an event. The session parser extracts **8 event types**:
| Event Type | Source | What it captures |
来源
awesome · https://github.com/preflight-dev/preflight
按领域浏览
MCP 服务
Traction
13 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

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

浏览全部领域 →

← 返回索引