pc-troubleshoot

Windows PC 故障排查与维修指南:针对蓝屏崩溃、磁盘/存储故障、网络连接问题、启动缓慢、系统卡顿、应用程序崩溃、驱动程序问题及紧急恢复的诊断与修复流程。适用于 PC 故障诊断任务,优先建议使用系统内置命令与工具。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "pc-troubleshoot":https://skillpi.com/zh/skills/deepskill-116208a9c76edbf1b373166e59b882ad3c4e83d29a7a9788e6cef6df9bb635eb。安装前核对上游来源和版本:https://skillhub.cn/skills/user_f88d4da5/24382208001。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

Windows PC 故障排查与维修指南:针对蓝屏崩溃、磁盘/存储故障、网络连接问题、启动缓慢、系统卡顿、应用程序崩溃、驱动程序问题及紧急恢复的诊断与修复流程。适用于 PC 故障诊断任务,优先建议使用系统内置命令与工具。

0 下载

介绍来源: third_party · user_f88d4da5 · 1.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: pc-troubleshoot
description: "Windows PC troubleshooting and repair guide. Covers BSOD crashes, disk/storage failures, network connectivity issues, slow boot, hang, app crashes, driver problems, and emergency recovery. Triggers on PC fault diagnosis tasks. Prefer built-in system commands and tools."

PC Troubleshoot

Diagnose and repair common Windows PC issues using built-in system commands and tools. Run most commands from an elevated PowerShell or CMD (Run as Administrator).

When to Activate

Activate when the user reports any of these symptoms:

  • BSOD / crash: Blue screen, unexpected restart, dump files
  • Disk issues: Bad sectors, SMART warnings, chkdsk, disk space
  • Network failure: No internet, IP conflict, DNS errors, Wi-Fi problems
  • Performance: Slow boot, high CPU/RAM usage, application hang or crash
  • Driver problems: Yellow exclamation marks, device not recognized
  • System repair: sfc, DISM, system restore, registry issues

Workflow

Step 1: Identify the problem category

Match the user's symptom to one of the four categories below. If uncertain, run the health check script first to gather baseline information.

Step 2: Run baseline health check (optional, for initial diagnosis)

Execute these commands in parallel to gather a quick system snapshot:

System info & uptime:

systeminfo | Select-String "OS Name|OS Version|System Boot Time"

Disk health & space:

Get-PhysicalDisk | Select-Object FriendlyName, HealthStatus, OperationalStatus; Get-PSDrive -PSProvider FileSystem | Select-Object Name, Used, Free

Recent errors (last 24h):

Get-WinEvent -FilterHashtable @{LogName='System'; Level=1,2; StartTime=(Get-Date).AddHours(-24)} -MaxEvents 10 | Format-List TimeCreated, Message

Top CPU processes:

Get-Process | Sort-Object CPU -Descending | Select-Object -First 10 Name, CPU, Id | Format-Table -AutoSize

Network adapters:

Get-NetAdapter | Where-Object Status='Up' | Select-Object Name, InterfaceDescription, LinkSpeed, Status

This produces a 5-section report covering disk health, disk space, recent errors, top CPU processes, and network adapters. Useful as a first diagnostic sweep.

Step 3: Follow the category-specific procedure below

Step 4: Consult the reference guide for deeper analysis

For detailed error code tables, diagnostic flowcharts, and emergency recovery procedures, read:

references/troubleshoot_reference.md

Category A: BSOD / System Crash

  1. Read event logs to identify the bugcheck code:

    Get-WinEvent -FilterHashtable @{LogName='System'; Level=1,2} -MaxEvents 20 | Format-List TimeCreated, Message
  2. Locate dump files:

    Get-ChildItem C:\Windows\Minidump -ErrorAction SilentlyContinue | Sort-Object LastWriteTime -Descending
  3. Cross-reference the bugcheck code against the BSOD error table in references/troubleshoot_reference.md.

  4. Run system file repair (mandatory after any BSOD):

    sfc /scannow
    DISM /Online /Cleanup-Image /RestoreHealth
    sfc /scannow
  5. Test RAM if memory-related codes appear:

    mdsched
  6. Analyze dump with WinDbg if root cause remains unclear:

    winget install Microsoft.WinDbg
    windbg -z C:\Windows\Minidump\MMDDYY-XXXXX.dmp -c "!analyze -v; q"

Category B: Disk / Storage Failure

  1. Check SMART health:

    Get-PhysicalDisk | Select-Object FriendlyName, MediaType, OperationalStatus, HealthStatus, Size
  2. Scan and repair file system:

    chkdsk C: /f /r /x   :: System drive (requires reboot)
    chkdsk D: /f /r        :: Non-system drive (runs immediately)
    chkdsk C: /scan         :: Read-only scan, no repair
  3. Analyze disk space:

    Get-PSDrive -PSProvider FileSystem | Select-Object Name, @{N='Used(GB)';E={[math]::Round($_.Used/1GB,2)}}, @{N='Free(GB)';E={[math]::Round($_.Free/1GB,2)}}
  4. Clean up (interactive):

    cleanmgr
  5. Benchmark disk speed:

    winsat disk -drive c

Category C: Network Connectivity

  1. Follow the diagnostic flow in references/troubleshoot_reference.md (Section C):

    ping 127.0.0.1           :: TCP/IP stack
    ping 192.168.1.1         :: Gateway (replace with actual)
    ping 8.8.8.8             :: Internet
    ping www.baidu.com        :: DNS resolution
    tracert www.baidu.com     :: Path trace
  2. Reset network stack (fixes most issues, requires reboot):

    netsh winsock reset
    netsh int ip reset
    netsh interface ipv4 reset
    netsh interface ipv6 reset
    ipconfig /flushdns
    ipconfig /release
    ipconfig /renew
  3. Fix DNS by setting reliable servers:

    ipconfig /flushdns
    netsh interface ip set dns "以太网" static 119.29.29.29
    netsh interface ip add dns "以太网" 223.5.5.5 index=2
  4. Check firewall if ping works but browsing fails:

    Get-NetFirewallProfile | Select-Object Name, Enabled
  5. Wi-Fi diagnostics:

    netsh wlan show interfaces
    netsh wlan show networks mode=Bssid
    netsh wlan delete profile name="SSID"   :: Remove and reconnect

Category D: Performance / Hang / App Crash

  1. Identify resource hogs:

    Get-Process | Sort-Object CPU -Descending | Select-Object -First 10 Name, CPU, @{N='Mem(MB)';E={[math]::Round($_.WorkingSet/1MB,2)}}, Id | Format-Table -AutoSize
  2. Check startup programs:

    Get-CimInstance Win32_StartupCommand | Select-Object Name, Command, Location | Format-Table -AutoSize
  3. Read application crash logs:

    Get-EventLog -LogName Application -EntryType Error -Newest 20 | Format-List TimeGenerated, Source, Message
  4. Open Reliability Monitor for crash history:

    perfmon /rel
  5. Find problematic drivers:

    Get-WmiObject Win32_PnPEntity | Where-Object {$_.ConfigManagerErrorCode -ne 0} | Select-Object Name, ConfigManagerErrorCode | Format-Table -AutoSize
  6. Clean temporary files:

    del /q /f /s %TEMP%\*
    del /q /f /s C:\Windows\Temp\*
  7. System restore if problems started recently:

    rstrui

Emergency Recovery

For systems that cannot boot, see references/troubleshoot_reference.md Section F for WinRE commands, bootrec sequence, and safe mode entry.

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 覆盖 Windows PC 常见故障类型(蓝屏、磁盘、网络、性能、驱动、紧急恢复)
  • 使用系统内置命令和工具,无需额外依赖
  • 面向明确的技术支持场景,具有广泛实用价值
触发精准90/100

亮点

  • 触发词覆盖 BSOD、磁盘、网络、性能、驱动、系统修复等多种变体
  • 边界清晰,不易与其他 Skill 重叠
结构规范75/100

待提升项

  • 缺少端到端完整示例 原报告严重程度:轻微

    Skill 提供了分类命令和流程,但缺少一个从用户问题描述到完整解决的端到端对话示例。

    改进建议:补充一个完整的用户交互示例,展示从问题识别到修复的完整流程。

  • 文档过长 原报告严重程度:轻微

    Skill 文档约600行,超出建议的500行限制,可能影响可读性。

    改进建议:考虑将部分参考内容移至外部文档或简化重复说明。

亮点

  • 结构清晰,分步骤和分类处理
  • 包含 When to Activate 和 Workflow 阶段划分
  • frontmatter 完整
执行可靠80/100

待提升项

  • 部分边缘异常未覆盖 原报告严重程度:轻微

    未覆盖权限不足、磁盘写保护、网络适配器禁用等边缘场景的异常处理。

    改进建议:在关键命令后添加异常处理说明,如 '若提示权限不足,请以管理员身份运行'。

亮点

  • 所有命令均为 Windows 内置工具,来源明确
  • 参数正确,覆盖主要异常(如 -ErrorAction SilentlyContinue)
  • 不可逆操作有明确说明需重启或谨慎操作
证据可验 (前四项均值)83/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 管理员或提升权限

    确认确有必要再提升权限;不要关闭防护、绕过证书验证或扩大整个系统的访问权限。

    主文档提及 · 第 8 行

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。