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

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/smartworldarafath/rea_skill --skill playwright-mcp

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

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.
来自同一仓库

更多 Skills

全部 Skills
smartworldarafath
社区

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.

1小时安装量
2
GitHub Stars
5
最近更新
11月8日
smartworldarafath
社区

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.

1小时安装量
2
GitHub Stars
5
最近更新
11月8日
smartworldarafath
社区

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.

1小时安装量
2
GitHub Stars
5
最近更新
11月8日
smartworldarafath
社区

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

1小时安装量
2
GitHub Stars
5
最近更新
11月8日