troubleshoot
Skill1 starsChanged 43 days agoMITView on GitHub
快速定位软件报错、改动未生效、暗坑排障与架构真源寻径
29 other projects use a version of this.
Adopted by
Most recently taken up by
- pantheon-org/tekhnetheir own version, first seen Nov 15, 2026
- Trixx4191/asrartheir own version, first seen Nov 15, 2026
- mystilleef/spae-frameworktheir own version, first seen Nov 13, 2026
- naman10parikh/pennytheir own version, first seen Nov 8, 2026
- synchronicity-labs/skillstheir own version, first seen Nov 8, 2026
- naman10parikh/wikimemtheir own version, first seen Nov 8, 2026
Used with
Projects with it also use ecosystem-reference, fractal-delegation and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
naman10parikhSkillecosystem-reference
Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.
Also in 5 projects that use this
naman10parikhSkillfractal-delegation
Also in 5 projects that use this
roronoazoroshao369Skillmemory-compression
Also in 5 projects that use this
MicrosoftSkillact-on-feedback
Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.
Also in 4 projects that use this
MicrosoftSkillgenerate-run-commands
Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.
Also in 4 projects that use this
KirchliveSkillskill-routing
Decides which of the installed skills a task needs and loads them before the work starts. This skill should be used at the beginning of any multi-step task — build, fix, refactor, migrate, review, plan, release, research, write, design, video — and again at every phase change, after context compaction, and when work moves into a different part of the codebase. Use it for requests like "let's build X", "fix this bug", "refactor Y", "plan the migration", "review this", and also when the user asks which skill applies, why a skill did not fire, or asks to check what is available.
Also in 5 projects that use this
- +5 more from naman10parikh
Other versions29 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 29
- microsoft/vscode★ 195ksame name
- DeL-TaiseiOzaki/claude-code-orchestra★ 199same name
- serithemage/serverless-openclaw★ 196same name
- Azure-Samples/art-voice-agent-accelerator★ 74same name
- cafferychen777/ChatSpatial★ 45same name
- microsoft/Employee-Self-Service-Agent-Developer-Kit★ 31same name
- laaielichter/Reverseport★ 23same name
- google/ml-workload-debugging-wiki★ 20same name
- jamie8johnson/cqs★ 18same name
- pantheon-org/tekhne★ 10same name
19 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- add-toolSkill
- design/comfyui-fluxSkill
- designSkill
- dev/refactor-safeSkill
- devSkill
- ensoul-mapSkill
- find-recipeSkill
- fix-buildSkill
- make-componentSkill
- make-pluginSkill
- pixal3d-comfyuiSkill
- prompt-protocolSkill
The file
Files
快速定位与故障排查指南 (Troubleshoot & Doctor)
解决"干活很快但找问题找半天资料"的核心原则:优先使用诊断工具自动化定位,禁止盲目全盘搜索或漫无边际翻阅文档。
一、排障三板斧
| 步骤 | 调用工具 | 适用场景与解决问题 |
| 1. 根因定位 | doctor_diagnose({ query }) | 输入报错文本、堆栈或异常现象(如"edit失败"、"改了没反应"),秒级匹配已知暗坑并输出修复建议 |
| 2. 环境体检 | doctor_healthcheck() | 怀疑系统状态异常时调用:自动检测 dist 产物时效、CRLF行尾隐患、插件语法、持久化坏文件与日志报错 |
| 3. 精准检索 | doctor_search_docs({ keyword }) | 需要查询某项规范细节(如 floatBare、promptCache、panelId隔离)时,切片提取权威文档段落 |
二、高频暗坑排查速查
- 改了源码无任何反应(无报错)
- 检查:运行
doctor_healthcheck,查看是否提示"源码比编译产物新"。 - 原因:Electron 跑的是
dist/,改了src/main必须build_project+restart_project。 - 纯界面改动(renderer/shared/插件panel)会由 ui-refresh 在轮次结束后编译上屏。
- 检查:运行
- edit 工具报"没找到这段原文"
- 原因:Windows 下
src/main/index.ts、plugins.ts等核心文件是 CRLF (\r\n),多行匹配因 \n 失败。 - 对策:改用单行唯一锚点;或者编写 node 临时脚本读取实际行尾进行局部替换。
- 注意:写入工具用错大小写的路径(
chatdock.tsx而不是ChatDock.tsx)会在 NTFS 上留下 幽灵目录项,报错形态完全不同 —— 见下面第 6 条。
- 原因:Windows 下
- TS1261 "differs ... only in casing"(Windows 幽灵文件)
- 现象:tsc 说
PanelSurface.tsx和panelsurface.tsx都被纳入了,但源码里明明只有一个。 - 原因:NTFS 不区分大小写;写入工具用了与仓库不同的大小写,目录里就有了两个只差大小写的
目录项。Node 的
readdirSync/fs.existsSync看不见幽灵项,只有 cmd 看得见。 - 查:
cmd /c "dir /a /b <目录>"(别信list_dir和readdir)。 - 致命坑:
del 小写名删掉的是真身。 先git status确认(出现D就是被删了),git checkout -- <路径>恢复;搬回正确名字要用unlink(幽灵)+writeFile(正确名), 不能del再ren。
- 现象:tsc 说
- 类型报错 Property does not exist / BUILTIN_KINDS 冲突
- 原因:改动跨进程契约漏掉了三件套同步。
- 必改三处:
src/shared/types.ts、src/renderer/core/api.ts、src/preload/index.ts。
- 挂件/悬浮面板看得见摸不着(点击穿透)
- 原因:声明了
floatBare: true,但未在对应panel.css中为按钮/卡片补充pointer-events: auto。
- 原因:声明了
- 两个同类面板数据互相覆盖(串味)
- 原因:插件状态保存在全局单例中,未按
panelId分槽隔离。 - 对策:
state和回调均按ctx.panelId隔离。
- 原因:插件状态保存在全局单例中,未按
三、唯一真源落点检索表
- 系统提示词指令:
src/main/chat-core.ts(buildSystemPrompt) - 运行时面板快照:
src/main/chat-core.ts(buildPanelSnapshot) - 模型工具分发:
src/main/agent.ts(toolsFor,runTool) - 内置面板类型:
src/shared/types.ts(BUILTIN_KINDS) +src/renderer/panel/registry.tsx - 插件扩展入口:
plugins/<名>/index.js(脑)+plugins/<名>/panel.tsx(脸) - 插件状态持久化:
.ensoul/state/<名>.json与.ensoul/state/<名>.cmd.json - 面板私有隔离产物:
.ensoul/panels/<面板id>/
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

