Confidence Check by superclaude-org/superclaude_framework
npx skills add https://github.com/superclaude-org/superclaude_framework --skill 'Confidence Check'通过在开始实施之前评估置信度,防止错误方向的执行。
要求:置信度 ≥90% 方可继续实施。
测试结果 (2025-10-21):
在任何任务实施之前使用此技能,以确保:
基于 5 项检查计算置信度分数 (0.0 - 1.0):
检查:在代码库中搜索现有功能
# Use Grep to search for similar functions
# Use Glob to find related modules
✅ 通过:如果未找到重复项 ❌ 失败:如果存在类似实现
检查:验证技术栈一致性
CLAUDE.md, PLANNING.md广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
✅ 通过:如果使用现有技术栈 (例如,Supabase, UV, pytest) ❌ 失败:如果非必要地引入了新的依赖项
检查:在实施前审阅官方文档
✅ 通过:如果官方文档已审阅 ❌ 失败:如果依赖假设
检查:寻找经过验证的实现
✅ 通过:如果找到开源参考 ❌ 失败:如果没有可用的示例
检查:理解实际问题
✅ 通过:如果根本原因清晰 ❌ 失败:如果症状不明确
Total = Check1 (25%) + Check2 (25%) + Check3 (20%) + Check4 (15%) + Check5 (15%)
If Total >= 0.90: ✅ Proceed with implementation
If Total >= 0.70: ⚠️ Present alternatives, ask questions
If Total < 0.70: ❌ STOP - Request more context
📋 Confidence Checks:
✅ No duplicate implementations found
✅ Uses existing tech stack
✅ Official documentation verified
✅ Working OSS implementation found
✅ Root cause identified
📊 Confidence: 1.00 (100%)
✅ High confidence - Proceeding to implementation
TypeScript 实现可在 confidence.ts 中参考,包含:
confidenceCheck(context) - 主要评估函数令牌节省:花费 100-200 个令牌进行置信度检查,可以节省 5,000-50,000 个令牌的错误方向工作。
成功率:在生产测试中达到 100% 的精确率和召回率。
每周安装量
–
代码仓库
GitHub 星标数
21.9K
首次出现
–
安全审计
Prevents wrong-direction execution by assessing confidence BEFORE starting implementation.
Requirement : ≥90% confidence to proceed with implementation.
Test Results (2025-10-21):
Use this skill BEFORE implementing any task to ensure:
Calculate confidence score (0.0 - 1.0) based on 5 checks:
Check : Search codebase for existing functionality
# Use Grep to search for similar functions
# Use Glob to find related modules
✅ Pass if no duplicates found ❌ Fail if similar implementation exists
Check : Verify tech stack alignment
CLAUDE.md, PLANNING.md✅ Pass if uses existing tech stack (e.g., Supabase, UV, pytest) ❌ Fail if introduces new dependencies unnecessarily
Check : Review official docs before implementation
✅ Pass if official docs reviewed ❌ Fail if relying on assumptions
Check : Find proven implementations
✅ Pass if OSS reference found ❌ Fail if no working examples
Check : Understand the actual problem
✅ Pass if root cause clear ❌ Fail if symptoms unclear
Total = Check1 (25%) + Check2 (25%) + Check3 (20%) + Check4 (15%) + Check5 (15%)
If Total >= 0.90: ✅ Proceed with implementation
If Total >= 0.70: ⚠️ Present alternatives, ask questions
If Total < 0.70: ❌ STOP - Request more context
📋 Confidence Checks:
✅ No duplicate implementations found
✅ Uses existing tech stack
✅ Official documentation verified
✅ Working OSS implementation found
✅ Root cause identified
📊 Confidence: 1.00 (100%)
✅ High confidence - Proceeding to implementation
The TypeScript implementation is available in confidence.ts for reference, containing:
confidenceCheck(context) - Main assessment functionToken Savings : Spend 100-200 tokens on confidence check to save 5,000-50,000 tokens on wrong-direction work.
Success Rate : 100% precision and recall in production testing.
Weekly Installs
–
Repository
GitHub Stars
21.9K
First Seen
–
Security Audits
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
111,800 周安装