smartworldarafath/rea_skill

playwright-mcp

Microsoft Playwright Model Context Protocol (MCP) server for local browser automation, accessibility snapshot navigation, E2E testing, and live web interaction (microsoft/playwright-mcp).

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/smartworldarafath/rea_skill --skill playwright-mcp

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

Playwright MCP (Microsoft Browser Automation & Live DOM Interaction)

Based on microsoft/playwright-mcp: official Microsoft Playwright Model Context Protocol (MCP) server providing structured browser automation through accessibility snapshots, bypassing the need for heavy screenshot parsing or vision-only models.


🎯 When to Use

  • Interactive Browser Automation: Navigating web pages, clicking buttons, selecting options, typing into inputs, and submitting forms.
  • Accessibility Snapshot Navigation: Inspecting web interfaces via structured ARIA/accessibility trees, drastically saving token context compared to full HTML dumps.
  • End-to-End (E2E) Test Execution: Validating authentication flows, checkout flows, and user journey funnels.
  • Screenshot & Console Capture: Taking targeted viewport screenshots and intercepting browser console logs for live debugging.

🚀 Setup & Registration

MCP Configuration

Register Microsoft Playwright MCP in your agent's configuration (.mcp.json or IDE settings):

json
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": ["-y", "@playwright/mcp@latest"]
    }
  }
}

🛠️ Key Capabilities & Tools

  • browser_navigate: Navigates to any target URL and returns the parsed accessibility tree.
  • browser_click: Clicks an element identified by its accessibility reference ID.
  • browser_type: Types text into specified form inputs or content-editable elements.
  • browser_screenshot: Captures full-page or element-specific screenshots.
  • browser_evaluate: Evaluates custom JavaScript in the browser execution context.

⚡ Integration with REA & Security Workflows

  • Dynamic XSS & CSP Verification: Navigate to test endpoints with live attack payloads to verify if CSP actively blocks script execution or if DOM-based XSS triggers alert dialogs.
  • Automated Login & Auth Flow Testing: Automate the multi-step login flow for web applications (Clerk, Supabase, OAuth) to test authenticated routes and cookie security flags.
  • E2E Post-Fix Validation: After implementing a security patch or header reconfiguration, run Playwright MCP to verify that the website continues to function seamlessly for real users.
aus demselben Repository

Weitere Skills

Alle Skills
smartworldarafath
Community

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

Installationen / 1h
2
GitHub Stars
5
Aktualisiert
8. Nov.
smartworldarafath
Community

agent-reach

Read-only access to internet platforms (Twitter/X, Reddit, YouTube subtitles, GitHub, LinkedIn, Bilibili, web). Use when the agent needs to search, read web links, retrieve social discussions, CVE/vulnerability intel, or when standard web search/fetch is blocked or insufficient.

Installationen / 1h
2
GitHub Stars
5
Aktualisiert
8. Nov.
smartworldarafath
Community

agent-sort

Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

Installationen / 1h
2
GitHub Stars
5
Aktualisiert
8. Nov.
smartworldarafath
Community

anti-ai-slop-writing

Produces human-sounding text that avoids detectable AI writing patterns. Activates on any writing task — tweets, emails, articles, bios, captions, reports, copy, messages, LinkedIn posts, cover letters, README files, or any content where the output must not read as AI-generated. Enforces banned vocabulary, structural variety, punctuation discipline, accuracy rules, and voice calibration. Use when the user says "write," "draft," "rewrite," "make this sound human," "anti-slop," "not AI," or any va

Installationen / 1h
2
GitHub Stars
5
Aktualisiert
8. Nov.