一键导入
error-recovery
Patterns for diagnosing failures, reading error output, adapting approach, and recovering from errors without repeating the same mistake.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Patterns for diagnosing failures, reading error output, adapting approach, and recovering from errors without repeating the same mistake.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Authoritative user guide + reference map for Mux-Swarm itself (v0.12.1). Use when the user asks how Mux works, how to configure it, what a command/flag/config-key does, how modes/teams/sandbox/auth/ACP/delegation work, or how to troubleshoot Mux. Points to exact sections in the bundled DOCS.md instead of dumping it.
Structured diff and PR code review with a prioritized checklist. Use when reviewing staged changes, pull requests, or any code diff before merge.
Profile, clean, and analyze tabular data (CSV/JSON/Parquet) with pandas/polars. Use when exploring datasets, computing aggregations, joining tables, resampling time series, or producing analysis charts.
Find vulnerable and outdated dependencies across ecosystems (Python, Node, .NET, Rust, Go). Use when auditing a project for CVEs, preparing a release, or investigating a security report.
Design distinctive, polished UI that avoids generic 'AI slop'. Use when making visual design decisions: typography, color, spacing, hierarchy, motion, and component composition.
Run real SAST and secret-scanning tools locally (semgrep, bandit, gitleaks, trivy). Use when auditing a codebase for vulnerabilities, exposed secrets, or vulnerable dependencies before shipping or on demand.
| name | error-recovery |
| description | Patterns for diagnosing failures, reading error output, adapting approach, and recovering from errors without repeating the same mistake. |
Use this skill when a tool call fails, a script errors out, a command returns an unexpected result, or any step in your task doesn't produce the expected outcome.
uv pip install in the active venvWhen a Python or Node script fails:
ImportError, FileNotFoundError, SyntaxError, TypeError, etc.ModuleNotFoundError → package not installed in the active venv. Install with uv pip install <package> and retry.FileNotFoundError → the path doesn't exist. Verify the path using the Filesystem MCP before running the script.SyntaxError → read the file back, find the bad line, fix it.PermissionError → the path may be outside allowed paths or read-only. Check config allowed paths.When an MCP tool returns an error:
The error is clear and the fix is obvious. Make the specific fix and retry.
The operation is too complex and failing in an unclear way. Break it down.
The current approach fundamentally won't work. Try a different method entirely.
After 2-3 genuine attempts with different approaches, stop and report the failure clearly.
When reporting errors back: