Global Debugging agent skill for AG
Scanned 9/8/2026
Install to Claude Code
npx -y skills add agisota/old-one --skill debug-workflow --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Debug Workflow?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/agisota-debug-workflow)More formats (shields.io, HTML) on the badges page.
---
triggers:
- "deuug workflow"
name: debug-workflow
description: Global Debugging agent skill for AG
---
## The Five Phases
You MUST complete each phase before proceeding to the next.
### Phase 0: Start Debug Session Logging
**FIRST: Initialize structured logging for retrospective analysis**
If `.debug-logs/helpers/start-debug-session.ps1` exists in the project:
```powershell
# Start a debug session (creates hourly log folder)
. .debug-logs/helpers/start-debug-session.ps1 -Issue "Brief description" -Revision "revision-name"
# This exports helper functions:
# - Log-Command "command" → Log commands to commands-run.txt
# - Log-Error "error message" → Log errors to errors-found.txt
# - Log-Fix "solution" -Commit "sha" → Log fixes to fixes-applied.txt
# - Fetch-CloudLogs -Revision "..." → Fetch and log Cloud Run logs
# - End-DebugSession -Resolution "" → Close session with summary
```
**Use throughout debugging:**
- Log errors as you find them: `Log-Error "SyntaxError: Unexpected token '}'"`
- Log commands: `Log-Command "gcloud logging read ..."`
- Log fixes: `Log-Fix "Removed extra closing brace" -Commit "c6b8ebd"`
- End session: `End-DebugSession -Resolution "Fixed syntax error in iracingAuth.js"`
**Benefits:**
- Automatic timestamped logs in `.debug-logs/sessions/YYYY-MM-DD-HH/`
- Retrospective analysis: "What pattern caused this?"
- Time-to-resolution tracking
- Reusable solutions database
---
### Phase 1: Root Cause Investigation
**BEFORE attempting ANY fix:**
## Note
Skill content truncated for token efficiency. Full version available in the source repository.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!