Debugging recipe
Find the root cause of a failure
Turn a confusing failure into a reproducible bug, a focused fix, and a regression check.
Step 1. Install the skill
Run this in your terminal. Select your agent and installation scope when prompted.
npx skills add latestaiagents/agent-skills --skill debug-with-aiRequires Node.js and npm. CLI documentation
Step 2. Start with this prompt
Open your project in your agent and add any task-specific context.
Help me debug the failure below. First gather the relevant code and error output. Form testable hypotheses, build a minimal reproduction, and verify the root cause before proposing a fix. Explain how to check that the fix works and which regression test is useful. Ask me for any missing error output.