home/roleplay/devtools-instructions

Devtools.instructions

GPTClaudeGemini··1,024 copies·updated 2026-07-14
devtools-instructions.prompt
---
description: Browser DevTools and local development access credentials
applyTo: '*'
---

# DevTools & Local Development

## Browser Configuration

When opening URLs in DevTools (Chrome MCP tools):
- **Resize the browser** to at least **1900px width** before taking screenshots
- Use `mcp_chrome-devtoo_resize_page` with `width: 1900` and `height: 1200` after navigating

## Local Login

- **URL:** `http://localhost:8080/wp-admin/`
- **Username:** `admin`
- **Password:** `password`

When prompted to log in:
1. Fill the username field with `admin`
2. Fill the password field with `password`
3. Click "Log In"
4. Wait for redirect to complete

### WooCommerce Gateway Settings

- **URL:** `http://localhost:8080/wp-admin/admin.php?page=wc-settings&tab=checkout&section=glitch`
- Navigate: WooCommerce → Settings → Payments → Glitch

### Checkout Test Flow

1. Navigate to `http://localhost:8080/shop/`
2. Add a product to cart
3. Navigate to `http://localhost:8080/checkout/`
4. Verify Glitch payment option is present
5. Fill test customer details
6. Select Glitch payment method and proceed

## Docker

- **Compose file:** `docker-compose.yml`
- **Container names:** `glitch-wordpress`, `glitch-mysql`
- **WordPress port:** `8080` (mapped to container port `80`)
- **MySQL port:** `3306`

### Docker Commands

when to use it

Community prompt sourced from the open-source GitHub repo savedpixel/ai-agent-rules-generator (MIT). A "Devtools.instructions" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

savedpixel/ai-agent-rules-generator · MIT