[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AMD3R7A755BABN3SB157HZ":3,"skill-same:01M7AMD3R7A755BABN3SB157HZ":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7AMD3R7A755BABN3SB157HZ","generate",null,"Generate Playwright tests. Use when user says \"write tests\", \"generate tests\", \"add tests for\", \"test this component\", \"e2e test\", \"create test for\", \"test this page\", or \"test this feature\".","Cyrilthetecchieee\u002Fcyril-code-","Cyrilthetecchieee","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219787998?v=4","01M7AF0MMMKRAA0H61XMJPV92H","Julian Cyril D ","01M7AF0MQ10AVG6QJQ1C2BC0F5",2,"MIT","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fengineering-team\u002Fplaywright-pro\u002Fskills\u002Fgenerate\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"generate\"\ndescription: >-\n  Generate Playwright tests. Use when user says \"write tests\", \"generate tests\",\n  \"add tests for\", \"test this component\", \"e2e test\", \"create test for\",\n  \"test this page\", or \"test this feature\".\n---\n\n# Generate Playwright Tests\n\nGenerate production-ready Playwright tests from a user story, URL, component name, or feature description.\n\n## Input\n\n`$ARGUMENTS` contains what to test. Examples:\n- `\"user can log in with email and password\"`\n- `\"the checkout flow\"`\n- `\"src\u002Fcomponents\u002FUserProfile.tsx\"`\n- `\"the search page with filters\"`\n\n## Steps\n\n### 1. Understand the Target\n\nParse `$ARGUMENTS` to determine:\n- **User story**: Extract the behavior to verify\n- **Component path**: Read the component source code\n- **Page\u002FURL**: Identify the route and its elements\n- **Feature name**: Map to relevant app areas\n\n### 2. Explore the Codebase\n\nUse the `Explore` subagent to gather context:\n\n- Read `playwright.config.ts` for `testDir`, `baseURL`, `projects`\n- Check existing tests in `testDir` for patterns, fixtures, and conventions\n- If a component path is given, read the component to understand its props, states, and interactions\n- Check for existing page objects in `pages\u002F`\n- Check for existing fixtures in `fixtures\u002F`\n- Check for auth setup (`auth.setup.ts` or `storageState` config)\n\n### 3. Select Templates\n\nCheck `templates\u002F` in this plugin for matching patterns:\n\n| If testing... | Load template from |\n|---|---|\n| Login\u002Fauth flow | `..\u002Fpw\u002Ftemplates\u002Fauth\u002Flogin.md` |\n| CRUD operations | `templates\u002Fcrud\u002F` |\n| Checkout\u002Fpayment | `templates\u002Fcheckout\u002F` |\n| Search\u002Ffilter UI | `templates\u002Fsearch\u002F` |\n| Form submission | `templates\u002Fforms\u002F` |\n| Dashboard\u002Fdata | `templates\u002Fdashboard\u002F` |\n| Settings page | `templates\u002Fsettings\u002F` |\n| Onboarding flow | `templates\u002Fonboarding\u002F` |\n| API endpoints | `templates\u002Fapi\u002F` |\n| Accessibility | `templates\u002Faccessibility\u002F` |\n\nAdapt the template to the specific app — replace `{{placeholders}}` with actual selectors, URLs, and data.\n\n### 4. Generate the Test\n\nFollow these rules:\n\n**Structure:**\n```typescript\nimport { test, expect } from '@playwright\u002Ftest';\n\u002F\u002F Import custom fixtures if the project uses them\n\ntest.describe('Feature Name', () => {\n  \u002F\u002F Group related behaviors\n\n  test('should \u003Cexpected behavior>', async ({ page }) => {\n    \u002F\u002F Arrange: navigate, set up state\n    \u002F\u002F Act: perform user action\n    \u002F\u002F Assert: verify outcome\n  });\n});\n```\n\n**Locator priority** (use the first that works):\n1. `getByRole()` — buttons, links, headings, form elements\n2. `getByLabel()` — form fields with labels\n3. `getByText()` — non-interactive text content\n4. `getByPlaceholder()` — inputs with placeholder text\n5. `getByTestId()` — when semantic options aren't available\n\n**Assertions** — always web-first:\n```typescript\n\u002F\u002F GOOD — auto-retries\nawait expect(page.getByRole('heading')).toBeVisible();\nawait expect(page.getByRole('alert')).toHaveText('Success');\n\n\u002F\u002F BAD — no retry\nconst text = await page.textContent('.msg');\nexpect(text).toBe('Success');\n```\n\n**Never use:**\n- `page.waitForTimeout()`\n- `page.$(selector)` or `page.$$(selector)`\n- Bare CSS selectors unless absolutely necessary\n- `page.evaluate()` for things locators can do\n\n**Always include:**\n- Descriptive test names that explain the behavior\n- Error\u002Fedge case tests alongside happy path\n- Proper `await` on every Playwright call\n- `baseURL`-relative navigation (`page.goto('\u002F')` not `page.goto('http:\u002F\u002F...')`)\n\n### 5. Match Project Conventions\n\n- If project uses TypeScript → generate `.spec.ts`\n- If project uses JavaScript → generate `.spec.js` with `require()` imports\n- If project has page objects → use them instead of inline locators\n- If project has custom fixtures → import and use them\n- If project has a test data directory → create test data files there\n\n### 6. Generate Supporting Files (If Needed)\n\n- **Page object**: If the test touches 5+ unique locators on one page, create a page object\n- **Fixture**: If the test needs shared setup (auth, data), create or extend a fixture\n- **Test data**: If the test uses structured data, create a JSON file in `test-data\u002F`\n\n### 7. Verify\n\nRun the generated test:\n\n```bash\nnpx playwright test \u003Cgenerated-file> --reporter=list\n```\n\nIf it fails:\n1. Read the error\n2. Fix the test (not the app)\n3. Run again\n4. If it's an app issue, report it to the user\n\n## Output\n\n- Generated test file(s) with path\n- Any supporting files created (page objects, fixtures, data)\n- Test run result\n- Coverage note: what behaviors are now tested\n","# Generate Playwright Tests\n\nGenerate production-ready Playwright tests from a user story, URL, component name, or feature description.\n\n## Input\n\n`$ARGUMENTS` contains what to test. Examples:\n- `\"user can log in with email and password\"`\n- `\"the checkout flow\"`\n- `\"src\u002Fcomponents\u002FUserProfile.tsx\"`\n- `\"the search page with filters\"`\n\n## Steps\n\n### 1. Understand the Target\n\nParse `$ARGUMENTS` to determine:\n- **User story**: Extract the behavior to verify\n- **Component path**: Read the component source code\n- **Page\u002FURL**: Identify the route and its elements\n- **Feature name**: Map to relevant app areas\n\n### 2. Explore the Codebase\n\nUse the `Explore` subagent to gather context:\n\n- Read `playwright.config.ts` for `testDir`, `baseURL`, `projects`\n- Check existing tests in `testDir` for patterns, fixtures, and conventions\n- If a component path is given, read the component to understand its props, states, and interactions\n- Check for existing page objects in `pages\u002F`\n- Check for existing fixtures in `fixtures\u002F`\n- Check for auth setup (`auth.setup.ts` or `storageState` config)\n\n### 3. Select Templates\n\nCheck `templates\u002F` in this plugin for matching patterns:\n\n| If testing... | Load template from |\n|---|---|\n| Login\u002Fauth flow | `..\u002Fpw\u002Ftemplates\u002Fauth\u002Flogin.md` |\n| CRUD operations | `templates\u002Fcrud\u002F` |\n| Checkout\u002Fpayment | `templates\u002Fcheckout\u002F` |\n| Search\u002Ffilter UI | `templates\u002Fsearch\u002F` |\n| Form submission | `templates\u002Fforms\u002F` |\n| Dashboard\u002Fdata | `templates\u002Fdashboard\u002F` |\n| Settings page | `templates\u002Fsettings\u002F` |\n| Onboarding flow | `templates\u002Fonboarding\u002F` |\n| API endpoints | `templates\u002Fapi\u002F` |\n| Accessibility | `templates\u002Faccessibility\u002F` |\n\nAdapt the template to the specific app — replace `{{placeholders}}` with actual selectors, URLs, and data.\n\n### 4. Generate the Test\n\nFollow these rules:\n\n**Structure:**\n```typescript\nimport { test, expect } from '@playwright\u002Ftest';\n\u002F\u002F Import custom fixtures if the project uses them\n\ntest.describe('Feature Name', () => {\n  \u002F\u002F Group related behaviors\n\n  test('should \u003Cexpected behavior>', async ({ page }) => {\n    \u002F\u002F Arrange: navigate, set up state\n    \u002F\u002F Act: perform user action\n    \u002F\u002F Assert: verify outcome\n  });\n});\n```\n\n**Locator priority** (use the first that works):\n1. `getByRole()` — buttons, links, headings, form elements\n2. `getByLabel()` — form fields with labels\n3. `getByText()` — non-interactive text content\n4. `getByPlaceholder()` — inputs with placeholder text\n5. `getByTestId()` — when semantic options aren't available\n\n**Assertions** — always web-first:\n```typescript\n\u002F\u002F GOOD — auto-retries\nawait expect(page.getByRole('heading')).toBeVisible();\nawait expect(page.getByRole('alert')).toHaveText('Success');\n\n\u002F\u002F BAD — no retry\nconst text = await page.textContent('.msg');\nexpect(text).toBe('Success');\n```\n\n**Never use:**\n- `page.waitForTimeout()`\n- `page.$(selector)` or `page.$$(selector)`\n- Bare CSS selectors unless absolutely necessary\n- `page.evaluate()` for things locators can do\n\n**Always include:**\n- Descriptive test names that explain the behavior\n- Error\u002Fedge case tests alongside happy path\n- Proper `await` on every Playwright call\n- `baseURL`-relative navigation (`page.goto('\u002F')` not `page.goto('http:\u002F\u002F...')`)\n\n### 5. Match Project Conventions\n\n- If project uses TypeScript → generate `.spec.ts`\n- If project uses JavaScript → generate `.spec.js` with `require()` imports\n- If project has page objects → use them instead of inline locators\n- If project has custom fixtures → import and use them\n- If project has a test data directory → create test data files there\n\n### 6. Generate Supporting Files (If Needed)\n\n- **Page object**: If the test touches 5+ unique locators on one page, create a page object\n- **Fixture**: If the test needs shared setup (auth, data), create or extend a fixture\n- **Test data**: If the test uses structured data, create a JSON file in `test-data\u002F`\n\n### 7. Verify\n\nRun the generated test:\n\n```bash\nnpx playwright test \u003Cgenerated-file> --reporter=list\n```\n\nIf it fails:\n1. Read the error\n2. Fix the test (not the app)\n3. Run again\n4. If it's an app issue, report it to the user\n\n## Output\n\n- Generated test file(s) with path\n- Any supporting files created (page objects, fixtures, data)\n- Test run result\n- Coverage note: what behaviors are now tested\n",{"name":5,"description":7},"main","57e7aa6b6e03bce1a7d7862ba9c2ec312f7f19b5","src\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fengineering-team\u002Fplaywright-pro\u002Fskills\u002Fgenerate",0,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee","https:\u002F\u002Fwithcyril.me\u002F","Hi, I’m Julian Cyril D, a Computer Science and Business Systems student at PSNACET.\r\nI’m passionate about full-stack development, UI\u002FUX design, and building sma","2026-11-04 23:28:50",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Cyrilthetecchieee\u002Fcyril-code- --skill generate",{"tool":39,"command":40},"bunx","bunx skills add Cyrilthetecchieee\u002Fcyril-code- --skill generate",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Cyrilthetecchieee\u002Fcyril-code- --skill generate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fengineering-team\u002Fplaywright-pro\u002Fskills\u002Fgenerate\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"patterns.md","REFERENCE","参考文档",5848,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fengineering-team\u002Fplaywright-pro\u002Fskills\u002Fgenerate\u002Fpatterns.md",[54,63,70,78,85,92],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":58,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7AQV6CYX8RMC78420V9WZ62","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7AQV2895N3S1MEX6K76G6G2","youtube-downloader","Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fvideo-downloader\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":58,"licenseFileUrl":74,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7AQTRNX62DNKVZ5GXEHRBKB","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7AQTNNVHAAN9H6DA8T6ZVE0","template-skill","Replace with description of the skill and when Claude should use it.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftemplate-skill\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7AQTJ3MQ6AKX152MEX2MYCC","tailored-resume-generator","Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftailored-resume-generator\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":58,"licenseFileUrl":96,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7AQTD7D5MYET2YWG7HG9WM3","slack-gif-creator","Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like \"make me a GIF for Slack of X doing Y\".","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FSKILL.md",[],[]]