Initial commit
This commit is contained in:
24
commands/watch-network.md
Normal file
24
commands/watch-network.md
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
description: Watch network requests in real-time. Great for debugging API calls.
|
||||
allowed-tools: Bash(*)
|
||||
argument-hint: [--failures | --xhr]
|
||||
model: haiku
|
||||
---
|
||||
|
||||
# Watch Network
|
||||
|
||||
Monitor network requests in real-time.
|
||||
|
||||
```bash
|
||||
node ~/.claude/plugins/*/skills/website-debug/scripts/browser-network.js --watch $ARGUMENTS
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
- No arguments: All network requests
|
||||
- `--failures`: Only 4xx/5xx errors
|
||||
- `--xhr`: Only XHR/fetch (API calls)
|
||||
|
||||
Press Ctrl+C to stop watching.
|
||||
|
||||
Report any failed requests and suggest potential causes.
|
||||
Reference in New Issue
Block a user