2025-12-30 15:15:43 +09:00
|
|
|
import type { BuiltinSkill } from "./types"
|
|
|
|
|
|
2026-01-02 00:01:44 +09:00
|
|
|
const playwrightSkill: BuiltinSkill = {
|
|
|
|
|
name: "playwright",
|
|
|
|
|
description: "Browser automation with Playwright MCP. Use for web scraping, testing, screenshots, and browser interactions.",
|
|
|
|
|
template: `# Playwright Browser Automation
|
|
|
|
|
|
|
|
|
|
This skill provides browser automation capabilities via the Playwright MCP server.`,
|
|
|
|
|
mcpConfig: {
|
|
|
|
|
playwright: {
|
|
|
|
|
command: "npx",
|
|
|
|
|
args: ["@playwright/mcp@latest"],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
|
2025-12-30 15:15:43 +09:00
|
|
|
export function createBuiltinSkills(): BuiltinSkill[] {
|
2026-01-02 00:01:44 +09:00
|
|
|
return [playwrightSkill]
|
2025-12-30 15:15:43 +09:00
|
|
|
}
|