원클릭으로
error-resolver-workflow-skill
Diagnose and resolve errors, exceptions, and stack traces with intelligent analysis
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Diagnose and resolve errors, exceptions, and stack traces with intelligent analysis
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Deploy and troubleshoot Next.js 16+ applications on AWS Amplify Hosting — build spec (amplify.yml), SSR Lambda env-var injection, CloudFront OAC, Route53 DNS, GitHub Actions deploy triggers, post-deploy verification, and rollback strategy
Design and document APIs — REST conventions, OpenAPI/Swagger spec generation, GraphQL schema patterns, API versioning, pagination, rate limiting, error response formats, and HATEOAS
Implement authentication and authorization patterns — OAuth2/OIDC flows, JWT best practices, session management, RBAC/ABAC, NextAuth/Auth.js, Passport.js, password hashing, and CSRF protection
Apply clean architecture principles with vertical slicing, dependency rule, clear layer boundaries, and feature-first organization - language-agnostic
Write clean, human-readable code with proper naming, small functions, self-documenting patterns, and object calisthenics - language-agnostic
Detect and fix code smells including long methods, large classes, feature envy, primitive obsession, and more with refactoring guidance - language-agnostic
| name | error-resolver-workflow-skill |
| description | Diagnose and resolve errors, exceptions, and stack traces with intelligent analysis |
| license | Apache-2.0 |
| compatibility | opencode |
| metadata | {"audience":"developers","workflow":"debugging","trigger":"explicit-only","protocol":"autoresearch-opt-in"} |
I diagnose and help resolve errors, exceptions, and stack traces:
IMPORTANT: This skill is ONLY triggered by EXPLICIT user invocation. I am NOT automatically triggered for general error handling.
Use when user explicitly requests:
Do NOT auto-trigger for:
Error Types:
| Type | Indicators | Common Sources |
|---|---|---|
| Runtime | Exception, Error, crash | Application logs, terminal |
| Compilation | SyntaxError, TypeError | Build output, IDE |
| Test | AssertionError, pytest failures | Test runner output |
| Infrastructure | Connection refused, timeout | Server logs, cloud console |
| Screenshot | Visual error display | User-provided image |
Extract Key Data:
TypeError, NullPointerException)Analysis Patterns:
Runtime Errors:
TypeError: X is not a function → Check if variable is correct typeReferenceError: X is not defined → Check variable scope/declarationNullPointerException → Check for null/undefined valuesIndexError/IndexOutOfBounds → Check array boundsCompilation Errors:
Test Failures:
Solution Structure:
Verification Steps:
When user provides an error screenshot:
Use zai-vision-mcp-server diagnose_error_screenshot:
- image_source: Path or URL to screenshot
- prompt: "Diagnose this error and provide solution"
- context: Optional context about when error occurred
For screenshots containing error text:
Use zai-vision-mcp-server extract_text_from_screenshot:
- image_source: Path or URL to screenshot
- prompt: "Extract error message and stack trace"
- programming_language: Optional language hint
TypeError: Cannot read property 'X' of undefined
→ Check object exists before accessing property
SyntaxError: Unexpected token
→ Check for missing brackets, parentheses, commas
ReferenceError: X is not defined
→ Import or declare the variable
TypeError: 'NoneType' object is not subscriptable
→ Check for None before indexing
ModuleNotFoundError: No module named 'X'
→ Install missing package or fix import path
IndentationError: expected an indented block
→ Fix indentation (use consistent spaces/tabs)
ECONNREFUSED
→ Check if service is running, verify port/host
ETIMEDOUT
→ Check network connectivity, firewall rules
ENOENT: no such file or directory
→ Verify file path exists, check permissions
When resolution requires:
DO NOT execute any of the following unless AUTORESEARCH_PROTOCOL=1 is set in your environment. When unset, this skill behaves exactly as documented in all sections above; the Iteration Protocol block is descriptive only.
When AUTORESEARCH_PROTOCOL=1:
If invoked on an iterative task, prompt ONCE per session: "This looks iterative. Enable autoresearch protocol? (y/n)". Cache answer for session.
Falsifiable-hypothesis protocol (port from uditgoenka's /autoresearch:debug): each debugging iteration MUST state a falsifiable hypothesis, predict the observable outcome, run the experiment, then emit {"pass":bool,"score":N} where pass = hypothesis confirmed, score = confidence (0-100) based on reproducibility. Revert experimental changes on pass:false. See evaluator-contract.md.
autoresearch-core-skill/references/evaluator-contract.mdWhen AUTORESEARCH_PROTOCOL is unset, this section is descriptive only. Default behavior is documented in all sections above.