Debug with AI

Guide PMs through debugging AI-generated code: how to read error messages, form effective debugging prompts, isolate issues, and decide when to fix forward vs start over.

9 stars 2 forksSoftware Development Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add tarunccet/pm-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add tarunccet/pm-skills --skill debug-with-ai
Manual install
git clone --depth 1 https://github.com/tarunccet/pm-skills.git /tmp/pm-skills
mkdir -p ~/.claude/skills
cp -r /tmp/pm-skills/pm-vibe-coding/skills/debug-with-ai ~/.claude/skills/debug-with-ai

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Debug with AI

## Purpose
Help PM-builders debug AI-generated code effectively without deep engineering knowledge. Covers how to read error messages, form good debugging prompts for AI assistants, systematically isolate issues, and make the call between fixing forward vs starting a section over.

## Domain Context
AI-generated code fails in predictable patterns: (1) hallucinated API names or library functions that don't exist, (2) type mismatches between frontend and backend (sending a string where a number is expected), (3) missing environment variables, (4) outdated library syntax that the AI learned from older training data, (5) state management issues in React (stale state, missing dependencies in useEffect). Most bugs in PM-builder projects fall into one of these categories. Knowing the category tells you where to look and how to prompt the AI to fix it.

**The debugging mindset for PM-builders**: You are not expected to read and understand all the code. You are expected to: (1) capture the full error, (2) classify the type of problem, (3) give the AI the right context to fix it, and (4) verify the fix actually resolves the user-facing issue. This is a product-level skill, not an engineering one.

**The "3 strikes" rule**: If you've given the AI three attempts to fix the same issue and the error keeps changing or getting worse, stop. The AI is stuck in a patch loop. The solution is to start that section fresh, not to keep patching.

## When to Use
Read the full skill on GitHub

Details

Skill name
debug-with-ai
Path
pm-vibe-coding/skills/debug-with-ai/SKILL.md
License
MIT
Repo updated
13 November 2026

FAQ

What does the Debug with AI skill do?

Guide PMs through debugging AI-generated code: how to read error messages, form effective debugging prompts, isolate issues, and decide when to fix forward vs start over.

How do I install the Debug with AI skill?

Claude Code plugin: /plugin marketplace add tarunccet/pm-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Debug with AI popular?

It lives in tarunccet/pm-skills, which has 9 GitHub stars and 2 forks.

Related skills

Ab Test Analysis

9

tarunccet/pm-skills

Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop recommendations. Use when evaluating experiment results, checking if a test reached significance, interpreting split test data, or deciding whether to ship a variant.

Testing & QA

Adr

9

tarunccet/pm-skills

Document architecture and product decisions using the Nygard ADR format — captures context, alternatives considered, and consequences so the team never asks 'why did we do it this way?' again. Use when making architecture decisions, choosing between technical approaches, selecting vendors, or any decision that will be hard to reverse.

Software Development

AI Build Buy Partner

9

tarunccet/pm-skills

Evaluate AI capability sourcing options across build, buy, fine-tune, and partner archetypes using a structured decision matrix. Use when deciding whether to build a custom model, use an LLM API, fine-tune a base model, or partner with an AI vendor.

AI, LLMs & Agents

Fema Real Estate

5

analyticsariel/tech-in-real-estate

Reference disaster declarations, NFIP flood insurance claims, Individual Assistance grants to households, and Public Assistance federal obligations from FEMA (Federal Emergency Management Agency, OpenFEMA v2) for real estate investment decisions. Use this skill whenever a user asks about FEMA data, OpenFEMA, disaster declarations, federally declared disasters, hurricane declarations, NFIP, National Flood Insurance Program, flood claims, flood insurance, NFIP payouts, NFIP claim severity, building damage assessed, IHP, Individuals and Households Program, disaster assistance, IHP grants, owner I

Software Development

Code Review for Pms

9

tarunccet/pm-skills

Review AI-generated code from a PM perspective: spec compliance, security red flags, data model soundness, UX issues in frontend code, and error handling against product requirements.

Software Development

Learn Vibe Coding

9

tarunccet/pm-skills

Interactive guide for PMs getting started with vibe coding: choosing and installing the right AI coding tools, writing your first spec, planning a build, and shipping a prototype.

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.