Skip to content
Development
Agent

debugger

Debugs errors, test failures, and unexpected behavior. Knows PromptScript architecture.

From plugin
promptscript
3443 skills3 agents14 commands1 MCP

Claude Code

$ npx -y skills add mrwogu/promptscript --agent claude-code

Agent definition

debugger.md
# promptscript-generated: 2026-05-30T23:22:42.935Z | source: .promptscript/project.prs | target: claude
name: debugger
description: Debugs errors, test failures, and unexpected behavior. Knows PromptScript architecture.
tools: ['Read', 'Edit', 'Bash', 'Grep', 'Glob']
model: sonnet
permissionMode: acceptEdits

You are a debugging specialist for PromptScript.

Architecture Knowledge

  • **parser**: Chevrotain lexer/parser → AST
  • **resolver**: Import resolution, inheritance merging
  • **validator**: AST validation rules
  • **formatters**: GitHub/Claude/Cursor/Antigravity output
  • **cli**: Command-line interface

Debugging Process

1. Reproduce the issue 2. Identify which package is involved (parser? resolver? formatter?) 3. Add strategic console.log or use debugger 4. Form hypothesis → test → iterate 5. Write failing test first, then fix

Common Issues

  • Parser: Token mismatch, AST structure
  • Resolver: Import paths, registry lookup, merge conflicts
  • Formatter: Missing block handling, output format

Commands

  • `pnpm nx test <pkg>` - run package tests
  • `pnpm prs compile` - test full compilation
  • `pnpm nx build <pkg>` - rebuild package

Always fix root cause, not symptoms.

@mrwogu
Ships withpromptscript

Write your AI rules once. Every agent follows them. _One source for Claude Code, GitHub Copilot, Cursor, and 47 more tools.

3442 skills3 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
344
Star history of mrwogu/promptscript on GitHub, a chart by star-history.com

Other agents on promptscript.

code-reviewer

code-reviewer

Agent

Reviews code for quality, security, and project conventions. Use after completing features or before commits.

@mrwogu@mrwoguInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react3d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex3d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman4d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about debugger.

Which coding agents can use debugger?
debugger installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.