/debug-bridge:agentic-e2e-testfrom debug-bridge
Full-stack agentic end-to-end test suite and dual-agent delegation runbook for Agent Bridge. Validates live app spin-up, AI Quick Render style synthesis, human developer simulation (selecting elements, drawing annotations, prompt batch submission), and reactive agent feedback loops (dock status pill, target DOM shimmer, agent broadcast completion).
Ships in debug-bridge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill defines the complete agentic end-to-end testing workflow for Agent Bridge. It verifies that when developers improve Agent Bridge, the entire loop: live local app, bridge sidecar, AI Quick Render, human interaction simulation, and reactive agent feedback, works reliably.
┌───────────────────────┐
│ Orchestrator Agent │
└──────────┬────────────┘
│ spawns via invoke_subagent
▼
┌───────────────────────┐ Executes Flow ┌────────────────────────┐
│ Browser Human Sim │ ───────────────────────► │ Sample React App │
│ Subagent │ │ (http://localhost: │
└───────────────────────┘ │ 5173) │
│ └───────────┬────────────┘
│ 1. AI Quick Render style synthesis │
│ 2. Selects element + draws marks │
│ 3. Submits batch prompt ▼
│ ┌────────────────────────┐
▼ │ Debug Bridge Server │
┌───────────────────────┐ │ (ws://localhost: │
│ Reactive Feedback │ ◀─────────────────────── │ 4000) │
│ Loop Validation │ └────────────────────────┘
│ • Dock pill: working │
│ • Target DOM shimmer │
│ • Broadcast completed │
└───────────────────────┘
| Phase | Component | Verification Focus | Evidence |
|---|---|---|---|
| Phase 1 | Local Services Health | Vite dev server (:5173) and Bridge WebSocket sidecar (:4000) responsiveness | HTTP 200 checks |
| Phase 2 | Design Mode Mount | Floating dock palette in Shadow DOM and agent status pill (status-ready / Agent Ready) | Shadow DOM assertion |
| Phase 3 | AI Quick Render | Prompt-driven semantic style synthesis without roundtrips (#__agent_bridge_live_preview__) | Computed CSS diff |
| Phase 4 | Human Simulator | Real developer actions: selecting target CTA button and drawing freehand/region bounding boxes | Dock status counts |
| Phase 5 | Feedback Submission | Batch prompt submission, transition to status-working, target element .shimmer-working pulse + ⚡ Working tag | Reactive DOM state |
| Phase 6 | Agent Broadcast | WebSocket broadcast of agent completion (notify-status.mjs), transition to status-done + ✓ Updated badge | High-res screenshot |
To execute all 6 phases programmatically in one command:
node scripts/run-agentic-e2e.mjs
TARGET_URL="http://localhost:5173" \
DEBUG_BRIDGE_PORT="4000" \
ARTIFACT_DIR="/tmp" \
node scripts/run-agentic-e2e.mjs
When performing major changes to Agent Bridge (runtime, UI dock, socket bridge, or parser), delegate the human simulation role to a subagent:
Browser Human Simulator subagent with the prompt template below.Role: Browser Human Simulator
TypeName: self
Goal:
Act as a human developer testing Agent Bridge Design Mode on http://localhost:5173.
Steps:
1. Launch Chromium and navigate to http://localhost:5173.
2. Verify Design Mode is mounted and Dock shows "Agent Ready".
3. Trigger AI Quick Render on [data-testid="pdp-title"] with prompt:
"Make the title electric cyan #06b6d4 and add 12px letter spacing"
4. Verify #__agent_bridge_live_preview__ exists in document.head and clean it up.
5. Select [data-testid="add-to-cart-btn"], switch to region tool, and draw an annotation box.
6. Enter prompt "Add glow pulse effect to primary CTA button" and click Send.
7. Verify that dock displays "Working...", target element receives .shimmer-working class with "⚡ Working" tag.
8. Trigger agent completion broadcast via:
node skills/test-design-mode/scripts/notify-status.mjs --status done --msg "Agent completed CTA pulse styling"
9. Verify dock displays "Done" and target element receives .shimmer-done with "✓ Updated" tag.
10. Save evidence screenshot to /tmp/agentic-e2e-verified.png.
Phase 1 through Phase 6./tmp/agentic-e2e-verified.png capturing:
Done)..shimmer-done) and ✓ Updated badge.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub stevengonsalvez/agent-bridge --plugin debug-bridge3 skills in this plugin
/debug-bridgeZero-instrumentation browser sidecar, visual feedback annotation, and in-browser Design Mode for AI agents/test-design-modeAutomated end-to-end testing suite and subagent protocol for validating Agent Bridge Design Mode across mobile (phone) and desktop viewports, testing toolbar visibility, tool switching, info popovers, AI quick render, manual tweaks, and batch submissions.