Skip to content
Back to skills

Debug Workflow

ASecurity

Global Debugging agent skill for AG

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
toolsshelldebuggingdatabase

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add agisota/old-one --skill debug-workflow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Debug Workflow?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Debug Workflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agisota-debug-workflow/badge)](https://www.skillsdirectory.com/skills/agisota-debug-workflow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…