[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75FAT02VNMCBSS279SGJN2F":3,"skill-same:01M75FAT02VNMCBSS279SGJN2F":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M75FAT02VNMCBSS279SGJN2F","migrate",null,"Migrate from Cypress or Selenium to Playwright. Use when user mentions \"cypress\", \"selenium\", \"migrate tests\", \"convert tests\", \"switch to playwright\", \"move from cypress\", or \"replace selenium\".","agisota\u002Fold-one","agisota","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121413592?v=4","01M75B4BRNT67EC1NDRT8QZEP2","01M75B4BS7QR9VP580MSCPTS3X",3,"MIT","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fmigrate\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: \"migrate\"\ndescription: >-\n  Migrate from Cypress or Selenium to Playwright. Use when user mentions\n  \"cypress\", \"selenium\", \"migrate tests\", \"convert tests\", \"switch to\n  playwright\", \"move from cypress\", or \"replace selenium\".\n---\n\n# Migrate to Playwright\n\nInteractive migration from Cypress or Selenium to Playwright with file-by-file conversion.\n\n## Input\n\n`$ARGUMENTS` can be:\n- `\"from cypress\"` — migrate Cypress test suite\n- `\"from selenium\"` — migrate Selenium\u002FWebDriver tests\n- A file path: convert a specific test file\n- Empty: auto-detect source framework\n\n## Steps\n\n### 1. Detect Source Framework\n\nUse `Explore` subagent to scan:\n- `cypress\u002F` directory or `cypress.config.ts` → Cypress\n- `selenium`, `webdriver` in `package.json` deps → Selenium\n- `.py` test files with `selenium` imports → Selenium (Python)\n\n### 2. Assess Migration Scope\n\nCount files and categorize:\n\n```\nMigration Assessment:\n- Total test files: X\n- Cypress custom commands: Y\n- Cypress fixtures: Z\n- Estimated effort: [small|medium|large]\n```\n\n| Size | Files | Approach |\n|---|---|---|\n| Small (1-10) | Convert sequentially | Direct conversion |\n| Medium (11-30) | Batch in groups of 5 | Use sub-agents |\n| Large (31+) | Use `\u002Fbatch` | Parallel conversion with `\u002Fbatch` |\n\n### 3. Set Up Playwright (If Not Present)\n\nRun `\u002Fpw:init` first if Playwright isn't configured.\n\n### 4. Convert Files\n\nFor each file, apply the appropriate mapping:\n\n#### Cypress → Playwright\n\nLoad `cypress-mapping.md` for complete reference.\n\nKey translations:\n```\ncy.visit(url)           → page.goto(url)\ncy.get(selector)        → page.locator(selector) or page.getByRole(...)\ncy.contains(text)       → page.getByText(text)\ncy.find(selector)       → locator.locator(selector)\ncy.click()              → locator.click()\ncy.type(text)           → locator.fill(text)\ncy.should('be.visible') → expect(locator).toBeVisible()\ncy.should('have.text')  → expect(locator).toHaveText(text)\ncy.intercept()          → page.route()\ncy.wait('@alias')       → page.waitForResponse()\ncy.fixture()            → JSON import or test data file\n```\n\n**Cypress custom commands** → Playwright fixtures or helper functions\n**Cypress plugins** → Playwright config or fixtures\n**`before`\u002F`beforeEach`** → `test.beforeAll()` \u002F `test.beforeEach()`\n\n#### Selenium → Playwright\n\nLoad `selenium-mapping.md` for complete reference.\n\nKey translations:\n```\ndriver.get(url)                    → page.goto(url)\ndriver.findElement(By.id('x'))     → page.locator('#x') or page.getByTestId('x')\ndriver.findElement(By.css('.x'))   → page.locator('.x') or page.getByRole(...)\nelement.click()                    → locator.click()\nelement.sendKeys(text)             → locator.fill(text)\nelement.getText()                  → locator.textContent()\nWebDriverWait + ExpectedConditions → expect(locator).toBeVisible()\ndriver.switchTo().frame()          → page.frameLocator()\nActions                            → locator.hover(), locator.dragTo()\n```\n\n### 5. Upgrade Locators\n\nDuring conversion, upgrade selectors to Playwright best practices:\n- `#id` → `getByTestId()` or `getByRole()`\n- `.class` → `getByRole()` or `getByText()`\n- `[data-testid]` → `getByTestId()`\n- XPath → role-based locators\n\n### 6. Convert Custom Commands \u002F Utilities\n\n- Cypress custom commands → Playwright custom fixtures via `test.extend()`\n- Selenium page objects → Playwright page objects (keep structure, update API)\n- Shared helpers → TypeScript utility functions\n\n### 7. Verify Each Converted File\n\nAfter converting each file:\n\n```bash\nnpx playwright test \u003Cconverted-file> --reporter=list\n```\n\nFix any compilation or runtime errors before moving to the next file.\n\n### 8. Clean Up\n\nAfter all files are converted:\n- Remove Cypress\u002FSelenium dependencies from `package.json`\n- Remove old config files (`cypress.config.ts`, etc.)\n- Update CI workflow to use Playwright\n- Update README with new test commands\n\nAsk user before deleting anything.\n\n## Output\n\n- Conversion summary: files converted, total tests migrated\n- Any tests that couldn't be auto-converted (manual intervention needed)\n- Updated CI config\n- Before\u002Fafter comparison of test run results\n","# Migrate to Playwright\n\nInteractive migration from Cypress or Selenium to Playwright with file-by-file conversion.\n\n## Input\n\n`$ARGUMENTS` can be:\n- `\"from cypress\"` — migrate Cypress test suite\n- `\"from selenium\"` — migrate Selenium\u002FWebDriver tests\n- A file path: convert a specific test file\n- Empty: auto-detect source framework\n\n## Steps\n\n### 1. Detect Source Framework\n\nUse `Explore` subagent to scan:\n- `cypress\u002F` directory or `cypress.config.ts` → Cypress\n- `selenium`, `webdriver` in `package.json` deps → Selenium\n- `.py` test files with `selenium` imports → Selenium (Python)\n\n### 2. Assess Migration Scope\n\nCount files and categorize:\n\n```\nMigration Assessment:\n- Total test files: X\n- Cypress custom commands: Y\n- Cypress fixtures: Z\n- Estimated effort: [small|medium|large]\n```\n\n| Size | Files | Approach |\n|---|---|---|\n| Small (1-10) | Convert sequentially | Direct conversion |\n| Medium (11-30) | Batch in groups of 5 | Use sub-agents |\n| Large (31+) | Use `\u002Fbatch` | Parallel conversion with `\u002Fbatch` |\n\n### 3. Set Up Playwright (If Not Present)\n\nRun `\u002Fpw:init` first if Playwright isn't configured.\n\n### 4. Convert Files\n\nFor each file, apply the appropriate mapping:\n\n#### Cypress → Playwright\n\nLoad `cypress-mapping.md` for complete reference.\n\nKey translations:\n```\ncy.visit(url)           → page.goto(url)\ncy.get(selector)        → page.locator(selector) or page.getByRole(...)\ncy.contains(text)       → page.getByText(text)\ncy.find(selector)       → locator.locator(selector)\ncy.click()              → locator.click()\ncy.type(text)           → locator.fill(text)\ncy.should('be.visible') → expect(locator).toBeVisible()\ncy.should('have.text')  → expect(locator).toHaveText(text)\ncy.intercept()          → page.route()\ncy.wait('@alias')       → page.waitForResponse()\ncy.fixture()            → JSON import or test data file\n```\n\n**Cypress custom commands** → Playwright fixtures or helper functions\n**Cypress plugins** → Playwright config or fixtures\n**`before`\u002F`beforeEach`** → `test.beforeAll()` \u002F `test.beforeEach()`\n\n#### Selenium → Playwright\n\nLoad `selenium-mapping.md` for complete reference.\n\nKey translations:\n```\ndriver.get(url)                    → page.goto(url)\ndriver.findElement(By.id('x'))     → page.locator('#x') or page.getByTestId('x')\ndriver.findElement(By.css('.x'))   → page.locator('.x') or page.getByRole(...)\nelement.click()                    → locator.click()\nelement.sendKeys(text)             → locator.fill(text)\nelement.getText()                  → locator.textContent()\nWebDriverWait + ExpectedConditions → expect(locator).toBeVisible()\ndriver.switchTo().frame()          → page.frameLocator()\nActions                            → locator.hover(), locator.dragTo()\n```\n\n### 5. Upgrade Locators\n\nDuring conversion, upgrade selectors to Playwright best practices:\n- `#id` → `getByTestId()` or `getByRole()`\n- `.class` → `getByRole()` or `getByText()`\n- `[data-testid]` → `getByTestId()`\n- XPath → role-based locators\n\n### 6. Convert Custom Commands \u002F Utilities\n\n- Cypress custom commands → Playwright custom fixtures via `test.extend()`\n- Selenium page objects → Playwright page objects (keep structure, update API)\n- Shared helpers → TypeScript utility functions\n\n### 7. Verify Each Converted File\n\nAfter converting each file:\n\n```bash\nnpx playwright test \u003Cconverted-file> --reporter=list\n```\n\nFix any compilation or runtime errors before moving to the next file.\n\n### 8. Clean Up\n\nAfter all files are converted:\n- Remove Cypress\u002FSelenium dependencies from `package.json`\n- Remove old config files (`cypress.config.ts`, etc.)\n- Update CI workflow to use Playwright\n- Update README with new test commands\n\nAsk user before deleting anything.\n\n## Output\n\n- Conversion summary: files converted, total tests migrated\n- Any tests that couldn't be auto-converted (manual intervention needed)\n- Updated CI config\n- Before\u002Fafter comparison of test run results\n",{"name":5,"description":7},"main","f37de8f681f0c0ca0e0ebab6e5fddf764ca7553d","skills\u002Fmigrate",1,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one","https:\u002F\u002Fagisota.github.io\u002Fold-one\u002F","https:\u002F\u002Fgithub.com\u002Fagisota","pzd.world","2026-07-04 22:32:06",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add agisota\u002Fold-one --skill migrate",{"tool":38,"command":39},"bunx","bunx skills add agisota\u002Fold-one --skill migrate",{"tool":41,"command":42},"pnpm","pnpm dlx skills add agisota\u002Fold-one --skill migrate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fmigrate\u002FSKILL.md",true,[],[47,54,61,70,77,84],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M75KRGZWQWE9JDBS6RX42NWV","zoom-out","Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-out\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M75KRCZHKE0ZYAQFFYHS0YNP","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M75KR94KYQ30DTE1P9WNDAE0","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M75KR3H13YJ9QHMD49818FA1","yara-rule-authoring","Guides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyara-rule-authoring\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M75KQMPY8A4Y8XTDD2DT0M9T","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M75KQHNZ0ANZNJGZY6M8MDAK","x-api","X\u002FTwitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]