Debugging, skill collection

Debugging

Use these skills to turn an error report into evidence: a reproducible failure, a tested explanation, and a regression check. The six skills cover stack traces, logs, error patterns, profiling, dependencies, and minimal reproductions.

6 skillsMIT licensedebug-detective

What to give your agent

A skill supplies a procedure. Give your agent the project evidence and constraints needed to apply it.

  • The exact failing command and complete relevant error output.
  • A small input that triggers the failure, with secrets and personal data removed.
  • Runtime and dependency versions, plus the last known working revision.

Explain a failure that appears only in CI

Tests pass on a laptop but fail in CI when parsing a date near midnight. The stack trace points to an assertion, which does not identify the cause by itself.

  1. Compare environments

    Record timezone, locale, runtime version, and lockfile revision in both environments. Keep the test input and code revision fixed while comparing them.

  2. Isolate one hypothesis

    Run the failing test with an explicit timezone. Replace the real clock with a fixed instant near the date boundary. Check whether changing only the timezone changes the result.

  3. Fix the intended boundary

    Decide whether the product expects a calendar date or an instant. Make that distinction explicit in parsing and serialization, then add the fixed-clock case to the test suite.

Example result structure
Reproduction: fixed instant + CI timezone
Cause: local-date conversion before UTC serialization
Patch: preserve the agreed date semantics
Regression: same input across the supported timezones

How to check the result

  • The reproduction does not depend on the wall clock.
  • The explanation predicts which timezone inputs will fail.
  • The fix preserves the product’s intended date semantics.

A failure to watch for

Changing an assertion to match CI output can hide a bug. Establish the expected behavior before changing the implementation or test.

This is an illustrative exercise. Run the checks against your own project to establish the result.

Skills in this pack

Open a skill to see its activation guidance, source sections, and individual install command. These descriptions come from the linked source files.

6 of 6 skills

Dependency Conflict Resolverdependency-conflict-resolver

Use this skill when resolving dependency conflicts. Activate when the user has package version conflicts, npm/yarn/pnpm install failures, peer dependency warnings, duplicate packages, or module resolution errors.

Use it when

  • Package installation fails
  • Peer dependency warnings
  • "Module not found" errors
  • Duplicate package warnings
  • Version mismatch errors

Inside the source file

  • Common Error Types
  • Diagnostic Commands
  • Resolution Strategies
  • Debugging Deep Conflicts
  • Common Scenarios
  • Lock File Conflicts
  • Prevention
  • AI-Assisted Resolution
Read dependency-conflict-resolver/SKILL.md on GitHub

Install this skill individually

npx skills add latestaiagents/agent-skills --skill dependency-conflict-resolver
Error Pattern Analyzererror-pattern-analyzer

Use this skill when analyzing error patterns in applications. Activate when the user has recurring errors, wants to find root causes of issues, needs to identify systemic problems, is analyzing error logs, or wants to categorize and prioritize bugs.

Use it when

  • Same errors appearing repeatedly
  • Investigating production incidents
  • Prioritizing bug fixes
  • Finding root causes
  • Analyzing error trends

Inside the source file

  • Error Classification
  • Pattern Detection Workflow
  • Common Error Patterns
  • Report Generation
  • AI-Assisted Analysis
  • Best Practices
Read error-pattern-analyzer/SKILL.md on GitHub

Install this skill individually

npx skills add latestaiagents/agent-skills --skill error-pattern-analyzer
Log Forensicslog-forensics

Use this skill when investigating issues through logs. Activate when the user needs to analyze log files, search for specific events in logs, correlate logs across services, investigate incidents through logs, or extract insights from application logs.

Use it when

  • Investigating production incidents
  • Tracing request flows across services
  • Finding the root cause of failures
  • Analyzing system behavior over time
  • Correlating events across components

Inside the source file

  • Log Structure
  • Search Techniques
  • Correlation Techniques
  • Pattern Recognition
  • Investigation Workflow
  • AI-Assisted Log Analysis
  • Best Practices
Read log-forensics/SKILL.md on GitHub

Install this skill individually

npx skills add latestaiagents/agent-skills --skill log-forensics
Performance Profilerperformance-profiler

Use this skill when investigating performance issues. Activate when the user has slow code, needs to find performance bottlenecks, wants to profile application performance, is optimizing response times, or investigating memory usage.

Use it when

  • Application is slower than expected
  • Looking for optimization opportunities
  • Memory usage is growing unexpectedly
  • Users report slow response times
  • Preparing for load testing

Inside the source file

  • Performance Investigation Workflow
  • Measurement Techniques
  • CPU Profiling
  • Memory Profiling
  • Common Bottlenecks
  • Optimization Strategies
  • Performance Checklist
Read performance-profiler/SKILL.md on GitHub

Install this skill individually

npx skills add latestaiagents/agent-skills --skill performance-profiler
Reproduction Builderreproduction-builder

Use this skill when creating bug reproductions. Activate when the user needs to create a minimal reproduction case, report a bug with steps to reproduce, isolate a bug to specific conditions, or help others understand how to trigger an issue.

Use it when

  • Reporting bugs to maintainers
  • Isolating intermittent issues
  • Documenting bugs for your team
  • Creating test cases from bugs
  • Helping others understand an issue

Inside the source file

  • The Minimal Reproduction
  • Building a Repro
  • Repro Templates
  • Repro Quality Checklist
  • Handling Intermittent Bugs
  • Converting Repro to Test
  • AI-Assisted Repro Building
  • Best Practices
Read reproduction-builder/SKILL.md on GitHub

Install this skill individually

npx skills add latestaiagents/agent-skills --skill reproduction-builder
Stack Trace Decoderstack-trace-decoder

Use this skill when analyzing stack traces. Activate when the user has a stack trace to understand, needs to decode error traces, wants to find the root cause from a stack trace, is debugging crashes, or needs help interpreting exception traces.

Use it when

  • Understanding where an error originated
  • Decoding minified/obfuscated traces
  • Identifying the call chain leading to failure
  • Comparing stack traces across incidents
  • Explaining traces to team members

Inside the source file

  • Stack Trace Anatomy
  • Decoding Strategy
  • Common Patterns
  • Source Map Decoding
  • AI-Assisted Decoding
  • Trace Comparison
  • Best Practices
Read stack-trace-decoder/SKILL.md on GitHub

Install this skill individually

npx skills add latestaiagents/agent-skills --skill stack-trace-decoder

Install the skills

With Node.js and npm available, run this in your project’s terminal. The CLI prompts for skills, agent, and installation scope.

npx skills add https://github.com/latestaiagents/agent-skills/tree/main/skills/developer/debug-detective

Choose scope, then verify discovery

Choose project scope for instructions tied to this repository, or global scope when you want them available across projects. Check the selected agent’s installed skill list, then try a representative task from the example above.

For one skill, open its contents entry and use the individual command. Installation support and skill behavior vary by agent.

Skills CLI documentation and supported agents

Install commands follow the repository’s current branch. The inventory on this page is pinned to the source revision below, so a later install may differ.

Source and review status

This inventory is taken from commit a5e492b, committed November 4, 2026. Skill instructions and bundled integrations have not completed a technical review. The worked example is editorial guidance, separate from the source file contents.

Browse this pack’s source

Engineering notes

Choose a different scope