bug-predictor
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseBug Predictor
Bug预测工具
This skill uses historical data to prevent bugs from being created in the first place.
该Skill利用历史数据从源头上预防bug的产生。
Capabilities
功能特性
1. Hotspot Identification
1. 高发区域识别
- Analyzes "Churn" (frequently changed files) and "Complexity" to identify files most likely to contain bugs.
- Correlates new changes with past outage patterns.
- 分析“Churn(频繁变更的文件)”和“代码复杂度”,识别最可能存在bug的文件。
- 将新代码变更与历史故障模式进行关联分析。
2. Preventive Warning
2. 预防性预警
- Issues a "High Risk" warning during or
local-reviewerexecution if a change matches a known defect-prone pattern.pr-architect
- 当代码变更匹配已知的易缺陷模式时,会在或
local-reviewer执行过程中发出“高风险”预警。pr-architect
Usage
使用场景
- "Analyze our recent commits and identify the top 5 bug hotspots."
- "Does this new PR touch any code that has historically caused production outages?"
- “分析我们最近的提交记录,找出前5个bug高发区域。”
- “这个新PR是否涉及任何曾导致生产环境故障的代码?”
Knowledge Protocol
知识协议
- This skill adheres to the . It automatically integrates Public, Confidential (Company/Client), and Personal knowledge tiers, prioritizing the most specific secrets while ensuring no leaks to public outputs.
knowledge/orchestration/knowledge-protocol.md
- 该Skill遵循协议,自动整合公开、保密(公司/客户)和个人三个知识层级,优先处理特定保密信息,同时确保不会泄露到公开输出中。
knowledge/orchestration/knowledge-protocol.md