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).

Voir la source

Mode d’emploi

  1. Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
  2. Consultez le document original pour les outils, identifiants et environnements requis.
  3. Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/smartworldarafath/rea_skill --skill playwright-mcp

Avant de commencer

  • L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
  • Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Document Skill original

Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.

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.
du même dépôt

Autres Skills

Tous les Skills
smartworldarafath
Communauté

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.

Installations / 1h
2
GitHub Stars
5
Mis à jour
8 nov.
smartworldarafath
Communauté

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.

Installations / 1h
2
GitHub Stars
5
Mis à jour
8 nov.
smartworldarafath
Communauté

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.

Installations / 1h
2
GitHub Stars
5
Mis à jour
8 nov.
smartworldarafath
Communauté

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

Installations / 1h
2
GitHub Stars
5
Mis à jour
8 nov.