fault-localizer SKILL.md skillA
fault-localizer from chainlesschain/chainlesschain is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add chainlesschain/chainlesschain/fault-localizer@v1.0.0Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- chainlesschain/chainlesschain
- Path
desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/fault-localizer/SKILL.md- Versions recorded
- 4
- Latest version
- v1.0.0, committed Aug 28, 2026
- First version recorded
- Jun 3, 2026
- Size
- 6,332 bytes
- Repository stars
- 11
- License
- a license file GitHub does not identify
自动故障定位 - 给定错误堆栈或失败测试,通过频谱分析和AST导航定位根因代码.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Fault Localizer - 自动故障定位
## 描述
给定错误堆栈或失败测试输出,自动解析并定位根因代码。通过频谱分析(suspiciousness scoring)和源代码导航,快速缩小故障范围。
## 使用方法
```
/fault-localizer [--trace|--test|--error] "错误信息或堆栈"
```
## 运行模式
| 模式 | 说明 | 输入类型 |
| ------- | ------------------------------ | ----------------------- |
| --trace | 解析完整的错误堆栈跟踪 | Node.js/Python/Java堆栈 |
| --test | 分析失败的测试输出 | Jest/Vitest/Pytest输出 |
| --error | 解析简单的错误消息并推断上下文 | 错误消息字符串 |
## 分析流程
1. **堆栈解析**: 从堆栈跟踪中提取文件路径、行号、函数名
2. **源代码读取**: 读取每个栈帧对应的源文件,提取上下文代码
3. **函数分析**: 分析函数复杂度、是否有错误处理、参数验证
4. **Git历史**: 检查文件最近修改时间,近期修改的代码更可能是根因
5. **可疑度排名**: 综合评分,按可能性从高到低排序
## 可疑度评分因素
| 因素 | 权重 | 说明 |
| ------------ | ---- | ------------------------------- |
| 抛出点距离 | 0.35 | 越接近error throw点,可疑度越高 |
| 函数复杂度 | 0.20 | 复杂函数更容易出bug |
| 错误处理缺失 | 0.20 | 缺少try/catch的函数更可疑 |
| 近期修改 | 0.15 | 最近修改过的文件更可能引入bug |
| 参数验证 | 0.10 | 缺少输入验证的函数更可疑 |
## 输出格式
```json
{
"errorType": "TypeError",
"errorMessage": "Cannot read properties of undefined (reading 'id')",
"frames": [
{
"file": "src/main/user.js",
"line": 42,
…Read the whole file at its exact version.
How to install
mdr add chainlesschain/chainlesschain/fault-localizer@sha256:b0bdf325c01bd47aThe line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_yqrjglfhkacydpmv)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Jun 3, 2026 and Aug 28, 2026, about one every 29 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.0 latest | 2026-08-28 | 44248c7 | 6,332 B | A | view · diff |
| v1.0.0 | 2026-08-28 | 177ec1b | 6,315 B | A | view · diff |
| v1.0.0 | 2026-08-28 | c29953e | 6,301 B | A | view · diff |
| v1.0.0 | 2026-06-03 | 3b0b2dc | 6,178 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6332 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
chainlesschain/chainlesschain · 11 stars · license a license file GitHub does not identify · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_yqrjglfhkacydpmv GET https://markdownregistry.com/api/v1/resolve?ref=chainlesschain/chainlesschain/fault-localizer GET https://markdownregistry.com/api/v1/blob/b0bdf325c01bd47aa1c98daa03d8b4f26e83628b7bcda154038bd792aa4cac39
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.