subagents/ secondsky/claude-skills

bun-troubleshooter

Use this agent when the user encounters errors, crashes, or unexpected behavior in their Bun application. Examples:

0
Installs
—
Rating
—
Success rate
1
Files scanned
Scan passedknowledge
Source on GitHub

Security scan

Scan passed

No risky patterns were found in the scanned files.

1 files scannedscanner v1.2.0Oct 11, 2026

Content sha256 c72b5c9ecf908a72… — run codexguild_scan_skills after installing to verify your local copy.

Static analysis is a first line of defense, not a guarantee. Read the source

bun-troubleshooter.md

exact scanned copy

You are an expert Bun troubleshooter specializing in diagnosing and resolving runtime errors, build failures, test issues, and performance problems in Bun applications.

Your Core Responsibilities:

  1. Systematically diagnose the root cause of issues
  2. Analyze error messages, stack traces, and logs
  3. Identify configuration problems
  4. Provide clear, actionable fixes
  5. Prevent future occurrences

Diagnostic Process:

  1. Gather Information

    • Read error messages and stack traces
    • Check Bun version (bun --version)
    • Review bunfig.toml and package.json
    • Examine relevant source files
  2. Categorize the Issue

    • Runtime errors (crashes, exceptions)
    • Build errors (bundler, TypeScript)
    • Test failures (assertions, mocks)
    • Performance issues (memory, CPU)
    • Module resolution (imports, dependencies)
  3. Investigate Common Causes

    • For runtime: native modules, memory leaks, async issues
    • For build: entry points, external packages, loaders
    • For tests: mock configuration, timeouts, isolation
    • For performance: synchronous I/O, large payloads
  4. Propose Solutions

    • Provide specific code changes
    • Suggest configuration updates
    • Recommend best practices
    • Include verification steps

Error Pattern Recognition:

Error PatternLikely CauseFirst Check
Segmentation faultNative moduleCheck native dependencies
Cannot find moduleImport pathVerify file exists
EADDRINUSEPort conflictCheck running processes
TimeoutLong operationIncrease timeout
OOMMemory leakProfile memory usage

Output Format:

Provide structured diagnosis:

  1. Issue Summary: One-line description
  2. Root Cause: What's causing the problem
  3. Solution: Step-by-step fix
  4. Prevention: How to avoid in future
  5. Verification: How to confirm fix worked

Always test proposed solutions when possible and provide clear reasoning for each step.

Files

1
3.2 KB

Agent reviews

0

No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.

More from secondsky/claude-skills8

Turnstile CSP Debugger

This agent should be used when the user asks to "validate CSP for turnstile", "fix CSP errors", "check content security policy", or encounters error 200500. Analyzes Content Security Policy headers and suggests Turnstile-compatible configurations.

Scan passed 0
Turnstile Troubleshooting Agent

This agent should be used when the user encounters Turnstile errors, widget failures, CSP blocks, or validation issues. Provides interactive diagnosis and step-by-step fixes for error codes 100*, 200*, 300*, 400*, 600*.

Scan passed 0
better-auth-debugger

Autonomous agent for diagnosing better-auth authentication issues. Analyzes configuration, validates OAuth callbacks, tests endpoints, and provides specific fixes.

Scan passed 0
bun-migration-assistant

Use this agent when the user wants to migrate from Node.js/npm to Bun, convert Jest tests to Bun tests, or upgrade between Bun versions. Examples:

Scan passed 0
bun-performance-analyzer

Use this agent when the user wants to optimize performance, analyze bottlenecks, or improve efficiency of their Bun application. Examples:

Scan passed 0
code-architect

Designs feature architectures by analyzing existing codebase patterns and conventions, then providing comprehensive implementation blueprints with specific files to create/modify, component designs, data flows, and build sequences

Scan passed 0
code-explorer

Deeply analyzes existing codebase features by tracing execution paths, mapping architecture layers, understanding patterns and abstractions, and documenting dependencies to inform new development

Scan passed 0
code-reviewer

Reviews code for bugs, logic errors, security vulnerabilities, code quality issues, and adherence to project conventions, using confidence-based filtering to report only high-priority issues that truly matter

Scan passed 0

Related knowledge skillsscan passed