ctx-doctor

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Context Mode Doctor

Context Mode 诊断工具

Run diagnostics and display results directly in the conversation.
运行诊断并直接在对话中显示结果。

Instructions

操作步骤

  1. Derive the plugin root from this skill's base directory (go up 2 levels — remove
    /skills/ctx-doctor
    ).
  2. Run with Bash:
    CLI="<PLUGIN_ROOT>/cli.bundle.mjs"; [ ! -f "$CLI" ] && CLI="<PLUGIN_ROOT>/build/cli.js"; node "$CLI" doctor
  3. IMPORTANT: After the Bash tool completes, re-display the key results as markdown text directly in the conversation so the user sees them without expanding the tool output. Format as a checklist:
    ## context-mode doctor
    - [x] Runtimes: 6/10 (javascript, typescript, python, shell, ruby, perl)
    - [x] Performance: FAST (Bun)
    - [x] Server test: PASS
    - [x] Hooks: PASS
    - [x] FTS5: PASS
    - [x] npm: v0.7.1
    - [x] Marketplace: v0.7.1
    Use
    [x]
    for PASS,
    [ ]
    for FAIL,
    [-]
    for WARN.
  1. 从本Skill的基础目录推导插件根目录(向上返回2级目录 — 移除
    /skills/ctx-doctor
    )。
  2. 使用Bash运行:
    CLI="<PLUGIN_ROOT>/cli.bundle.mjs"; [ ! -f "$CLI" ] && CLI="<PLUGIN_ROOT>/build/cli.js"; node "$CLI" doctor
  3. 重要提示:Bash工具执行完成后,将关键结果以Markdown文本形式直接重新显示在对话中,这样用户无需展开工具输出即可查看。格式化为复选列表:
    ## context-mode doctor
    - [x] 运行时:6/10(javascript, typescript, python, shell, ruby, perl)
    - [x] 性能:FAST (Bun)
    - [x] 服务器测试:PASS
    - [x] 钩子:PASS
    - [x] FTS5:PASS
    - [x] npm:v0.7.1
    - [x] 市场:v0.7.1
    [x]
    表示通过,
    [ ]
    表示失败,
    [-]
    表示警告。