pc-troubleshoot
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "pc-troubleshoot" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-116208a9c76edbf1b373166e59b882ad3c4e83d29a7a9788e6cef6df9bb635eb. Verify the upstream source and version against https://skillhub.cn/skills/user_f88d4da5/24382208001 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Windows PC troubleshooting and repair guide: diagnostic and repair procedures for blue screen crashes, disk/storage failures, network connection issues, slow boot, system sluggishness, application crashes, driver problems, and emergency recovery. Intended for PC diagnostic tasks, with priority given to using built-in system commands and tools.
Introduction source: third_party · user_f88d4da5 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- 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.
- Testing
- Not tested
Browse files
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
-
Read event logs to identify the bugcheck code:
Get-WinEvent -FilterHashtable @{LogName='System'; Level=1,2} -MaxEvents 20 | Format-List TimeCreated, Message -
Locate dump files:
Get-ChildItem C:\Windows\Minidump -ErrorAction SilentlyContinue | Sort-Object LastWriteTime -Descending -
Cross-reference the bugcheck code against the BSOD error table in
references/troubleshoot_reference.md. -
Run system file repair (mandatory after any BSOD):
sfc /scannow DISM /Online /Cleanup-Image /RestoreHealth sfc /scannow -
Test RAM if memory-related codes appear:
mdsched -
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
-
Check SMART health:
Get-PhysicalDisk | Select-Object FriendlyName, MediaType, OperationalStatus, HealthStatus, Size -
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 -
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)}} -
Clean up (interactive):
cleanmgr -
Benchmark disk speed:
winsat disk -drive c
Category C: Network Connectivity
-
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 -
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 -
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 -
Check firewall if ping works but browsing fails:
Get-NetFirewallProfile | Select-Object Name, Enabled -
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
-
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 -
Check startup programs:
Get-CimInstance Win32_StartupCommand | Select-Object Name, Command, Location | Format-Table -AutoSize -
Read application crash logs:
Get-EventLog -LogName Application -EntryType Error -Newest 20 | Format-List TimeGenerated, Source, Message -
Open Reliability Monitor for crash history:
perfmon /rel -
Find problematic drivers:
Get-WmiObject Win32_PnPEntity | Where-Object {$_.ConfigManagerErrorCode -ne 0} | Select-Object Name, ConfigManagerErrorCode | Format-Table -AutoSize -
Clean temporary files:
del /q /f /s %TEMP%\* del /q /f /s C:\Windows\Temp\* -
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.
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 覆盖 Windows PC 常见故障类型(蓝屏、磁盘、网络、性能、驱动、紧急恢复)
- 使用系统内置命令和工具,无需额外依赖
- 面向明确的技术支持场景,具有广泛实用价值
Highlights
- 触发词覆盖 BSOD、磁盘、网络、性能、驱动、系统修复等多种变体
- 边界清晰,不易与其他 Skill 重叠
Areas to improve
-
缺少端到端完整示例 Reported severity: Minor
Skill 提供了分类命令和流程,但缺少一个从用户问题描述到完整解决的端到端对话示例。
Recommendation: 补充一个完整的用户交互示例,展示从问题识别到修复的完整流程。
-
文档过长 Reported severity: Minor
Skill 文档约600行,超出建议的500行限制,可能影响可读性。
Recommendation: 考虑将部分参考内容移至外部文档或简化重复说明。
Highlights
- 结构清晰,分步骤和分类处理
- 包含 When to Activate 和 Workflow 阶段划分
- frontmatter 完整
Areas to improve
-
部分边缘异常未覆盖 Reported severity: Minor
未覆盖权限不足、磁盘写保护、网络适配器禁用等边缘场景的异常处理。
Recommendation: 在关键命令后添加异常处理说明,如 '若提示权限不足,请以管理员身份运行'。
Highlights
- 所有命令均为 Windows 内置工具,来源明确
- 参数正确,覆盖主要异常(如 -ErrorAction SilentlyContinue)
- 不可逆操作有明确说明需重启或谨慎操作
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Administrator or elevated privileges
Elevate only when necessary. Keep protection and certificate validation enabled and avoid broad system access.
Mentioned in main document · lines 8
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.