[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-3b01c656-5c7c-483d-a712-36b7d489ed40":3,"$fIZSfySNxm5uCPsThai9uK-0ZogRKrwUGflym7sXYv0I":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"3b01c656-5c7c-483d-a712-36b7d489ed40","linux-troubleshooting","Linux系统故障排除工作流程，用于诊断和解决系统问题、性能问题和服务故障。","cat_design_ui","mod_design","sickn33,design","---\nname: linux-troubleshooting\ndescription: \"Linux system troubleshooting workflow for diagnosing and resolving system issues, performance problems, and service failures.\"\ncategory: granular-workflow-bundle\nrisk: safe\nsource: personal\ndate_added: \"2026-02-27\"\n---\n\n# Linux Troubleshooting Workflow\n\n## Overview\n\nSpecialized workflow for diagnosing and resolving Linux system issues including performance problems, service failures, network issues, and resource constraints.\n\n## When to Use This Workflow\n\nUse this workflow when:\n- Diagnosing system performance issues\n- Troubleshooting service failures\n- Investigating network problems\n- Resolving disk space issues\n- Debugging application errors\n\n## Workflow Phases\n\n### Phase 1: Initial Assessment\n\n#### Skills to Invoke\n- `bash-linux` - Linux commands\n- `devops-troubleshooter` - Troubleshooting\n\n#### Actions\n1. Check system uptime\n2. Review recent changes\n3. Identify symptoms\n4. Gather error messages\n5. Document findings\n\n#### Commands\n```bash\nuptime\nhostnamectl\ncat \u002Fetc\u002Fos-release\ndmesg | tail -50\n```\n\n#### Copy-Paste Prompts\n```\nUse @bash-linux to gather system information\n```\n\n### Phase 2: Resource Analysis\n\n#### Skills to Invoke\n- `bash-linux` - Resource commands\n- `performance-engineer` - Performance analysis\n\n#### Actions\n1. Check CPU usage\n2. Analyze memory\n3. Review disk space\n4. Monitor I\u002FO\n5. Check network\n\n#### Commands\n```bash\ntop -bn1 | head -20\nfree -h\ndf -h\niostat -x 1 5\n```\n\n#### Copy-Paste Prompts\n```\nUse @performance-engineer to analyze system resources\n```\n\n### Phase 3: Process Investigation\n\n#### Skills to Invoke\n- `bash-linux` - Process commands\n- `server-management` - Process management\n\n#### Actions\n1. List running processes\n2. Identify resource hogs\n3. Check process status\n4. Review process trees\n5. Analyze strace output\n\n#### Commands\n```bash\nps aux --sort=-%cpu | head -10\npstree -p\nlsof -p PID\nstrace -p PID\n```\n\n#### Copy-Paste Prompts\n```\nUse @server-management to investigate processes\n```\n\n### Phase 4: Log Analysis\n\n#### Skills to Invoke\n- `bash-linux` - Log commands\n- `error-detective` - Error detection\n\n#### Actions\n1. Check system logs\n2. Review application logs\n3. Search for errors\n4. Analyze log patterns\n5. Correlate events\n\n#### Commands\n```bash\njournalctl -xe\ntail -f \u002Fvar\u002Flog\u002Fsyslog\ngrep -i error \u002Fvar\u002Flog\u002F*\n```\n\n#### Copy-Paste Prompts\n```\nUse @error-detective to analyze log files\n```\n\n### Phase 5: Network Diagnostics\n\n#### Skills to Invoke\n- `bash-linux` - Network commands\n- `network-engineer` - Network troubleshooting\n\n#### Actions\n1. Check network interfaces\n2. Test connectivity\n3. Analyze connections\n4. Review firewall rules\n5. Check DNS resolution\n\n#### Commands\n```bash\nip addr show\nss -tulpn\ncurl -v http:\u002F\u002Ftarget\ndig domain\n```\n\n#### Copy-Paste Prompts\n```\nUse @network-engineer to diagnose network issues\n```\n\n### Phase 6: Service Troubleshooting\n\n#### Skills to Invoke\n- `server-management` - Service management\n- `systematic-debugging` - Debugging\n\n#### Actions\n1. Check service status\n2. Review service logs\n3. Test service restart\n4. Verify dependencies\n5. Check configuration\n\n#### Commands\n```bash\nsystemctl status service\njournalctl -u service -f\nsystemctl restart service\n```\n\n#### Copy-Paste Prompts\n```\nUse @systematic-debugging to troubleshoot service issues\n```\n\n### Phase 7: Resolution\n\n#### Skills to Invoke\n- `incident-responder` - Incident response\n- `bash-pro` - Fix implementation\n\n#### Actions\n1. Implement fix\n2. Verify resolution\n3. Monitor stability\n4. Document solution\n5. Create prevention plan\n\n#### Copy-Paste Prompts\n```\nUse @incident-responder to implement resolution\n```\n\n## Troubleshooting Checklist\n\n- [ ] System information gathered\n- [ ] Resources analyzed\n- [ ] Logs reviewed\n- [ ] Network tested\n- [ ] Services verified\n- [ ] Issue resolved\n- [ ] Documentation created\n\n## Quality Gates\n\n- [ ] Root cause identified\n- [ ] Fix verified\n- [ ] Monitoring in place\n- [ ] Documentation complete\n\n## Related Workflow Bundles\n\n- `os-scripting` - OS scripting\n- `bash-scripting` - Bash scripting\n- `cloud-devops` - DevOps\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,118,1332,"2026-05-16 13:26:46",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"设计创意","design","mdi-palette-outline","UI 设计、生成艺术、品牌视觉等创意 Skill",3,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"UI 设计","ui-design","mdi-monitor-cellphone","界面设计、交互规范、设计系统",1,36,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"e2320271-2fa5-455f-a5d4-5f3f2d39457b","1.0.0","linux-troubleshooting.zip",1750,"uploads\u002Fskills\u002F3b01c656-5c7c-483d-a712-36b7d489ed40\u002Flinux-troubleshooting.zip","45cce2a1147717664afaee3656f7a5eecc8c8f4acc29e3723e3ec4bc32936249","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":4402}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]