[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BVJG678PM1JKW27JSMCSBZ":3,"skill-same:01M7BVJG678PM1JKW27JSMCSBZ":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"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":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7BVJG678PM1JKW27JSMCSBZ","run-e2e-tests",null,"Run E2E tests to verify complete user workflows like environment discovery, creation, and selection. Use this before releases or after major changes.","nguyenhungtran18\u002Fskill-and-tool-tracker","nguyenhungtran18","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F297063550?v=4","01M7BV0BFPRRFP84F2ME0FYZ9D","01M7BV0BG83FA5P22NJV0GR0A5",1,"MIT","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Frun-e2e-tests\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: run-e2e-tests\ndescription: Run E2E tests to verify complete user workflows like environment discovery, creation, and selection. Use this before releases or after major changes.\n---\n\nRun E2E (end-to-end) tests to verify complete user workflows work correctly.\n\n## When to Use This Skill\n\n- Before submitting a PR with significant changes\n- After modifying environment discovery, creation, or selection logic\n- Before a release to validate full workflows\n- When user reports a workflow is broken\n\n**Note:** Run smoke tests first. If smoke tests fail, E2E tests will also fail.\n\n## Quick Reference\n\n| Action            | Command                                                        |\n| ----------------- | -------------------------------------------------------------- |\n| Run all E2E tests | `npm run compile && npm run compile-tests && npm run e2e-test` |\n| Run specific test | `npm run e2e-test -- --grep \"discovers\"`                       |\n| Debug in VS Code  | Debug panel → \"E2E Tests\" → F5                                 |\n\n## How E2E Tests Work\n\nUnlike unit tests (mocked) and smoke tests (quick checks), E2E tests:\n\n1. Launch a real VS Code instance with the extension\n2. Exercise complete user workflows via the real API\n3. Verify end-to-end behavior (discovery → selection → execution)\n\nThey take longer (1-3 minutes) but catch integration issues.\n\n## Workflow\n\n### Step 1: Compile and Run\n\n```bash\nnpm run compile && npm run compile-tests && npm run e2e-test\n```\n\n### Step 2: Interpret Results\n\n**Pass:**\n\n```\n  E2E: Environment Discovery\n    ✓ Can trigger environment refresh\n    ✓ Discovers at least one environment\n    ✓ Environments have required properties\n    ✓ Can get global environments\n\n  4 passing (45s)\n```\n\n**Fail:** Check error message and see Debugging section.\n\n## Debugging Failures\n\n| Error                        | Cause                  | Fix                                         |\n| ---------------------------- | ---------------------- | ------------------------------------------- |\n| `No environments discovered` | Python not installed   | Install Python, verify it's on PATH         |\n| `Extension not found`        | Build failed           | Run `npm run compile`                       |\n| `API not available`          | Activation error       | Debug with F5, check Debug Console          |\n| `Timeout exceeded`           | Slow operation or hang | Increase timeout or check for blocking code |\n\nFor detailed debugging: Debug panel → \"E2E Tests\" → F5\n\n## Prerequisites\n\nE2E tests have system requirements:\n\n- **Python installed** - At least one Python interpreter must be discoverable\n- **Extension builds** - Run `npm run compile` before tests\n- **CI needs webpack build** - Run `npm run compile` (webpack) before tests, not just `npm run compile-tests` (tsc)\n\n## Adding New E2E Tests\n\nCreate files in `src\u002Ftest\u002Fe2e\u002F` with pattern `*.e2e.test.ts`:\n\n```typescript\nimport * as assert from 'assert';\nimport * as vscode from 'vscode';\nimport { waitForCondition } from '..\u002FtestUtils';\nimport { ENVS_EXTENSION_ID } from '..\u002Fconstants';\n\nsuite('E2E: [Workflow Name]', function () {\n    this.timeout(120_000); \u002F\u002F 2 minutes\n\n    let api: ExtensionApi;\n\n    suiteSetup(async function () {\n        const extension = vscode.extensions.getExtension(ENVS_EXTENSION_ID);\n        assert.ok(extension, 'Extension not found');\n        if (!extension.isActive) await extension.activate();\n        api = extension.exports;\n    });\n\n    test('[Test description]', async function () {\n        \u002F\u002F Use real API (flat structure, not nested!)\n        \u002F\u002F api.getEnvironments(), not api.environments.getEnvironments()\n        await waitForCondition(\n            async () => (await api.getEnvironments('all')).length > 0,\n            60_000,\n            'No environments found',\n        );\n    });\n});\n```\n\n## Test Files\n\n| File                                            | Purpose                              |\n| ----------------------------------------------- | ------------------------------------ |\n| `src\u002Ftest\u002Fe2e\u002FenvironmentDiscovery.e2e.test.ts` | Discovery workflow tests             |\n| `src\u002Ftest\u002Fe2e\u002Findex.ts`                         | Test runner entry point              |\n| `src\u002Ftest\u002FtestUtils.ts`                         | Utilities (`waitForCondition`, etc.) |\n\n## Notes\n\n- E2E tests are slower than smoke tests (expect 1-3 minutes)\n- They may create\u002Fmodify files - cleanup happens in `suiteTeardown`\n- First run downloads VS Code (~100MB, cached in `.vscode-test\u002F`)\n- For more details on E2E tests and how they compare to other test types, refer to the project's testing documentation.\n","Run E2E (end-to-end) tests to verify complete user workflows work correctly.\n\n## When to Use This Skill\n\n- Before submitting a PR with significant changes\n- After modifying environment discovery, creation, or selection logic\n- Before a release to validate full workflows\n- When user reports a workflow is broken\n\n**Note:** Run smoke tests first. If smoke tests fail, E2E tests will also fail.\n\n## Quick Reference\n\n| Action            | Command                                                        |\n| ----------------- | -------------------------------------------------------------- |\n| Run all E2E tests | `npm run compile && npm run compile-tests && npm run e2e-test` |\n| Run specific test | `npm run e2e-test -- --grep \"discovers\"`                       |\n| Debug in VS Code  | Debug panel → \"E2E Tests\" → F5                                 |\n\n## How E2E Tests Work\n\nUnlike unit tests (mocked) and smoke tests (quick checks), E2E tests:\n\n1. Launch a real VS Code instance with the extension\n2. Exercise complete user workflows via the real API\n3. Verify end-to-end behavior (discovery → selection → execution)\n\nThey take longer (1-3 minutes) but catch integration issues.\n\n## Workflow\n\n### Step 1: Compile and Run\n\n```bash\nnpm run compile && npm run compile-tests && npm run e2e-test\n```\n\n### Step 2: Interpret Results\n\n**Pass:**\n\n```\n  E2E: Environment Discovery\n    ✓ Can trigger environment refresh\n    ✓ Discovers at least one environment\n    ✓ Environments have required properties\n    ✓ Can get global environments\n\n  4 passing (45s)\n```\n\n**Fail:** Check error message and see Debugging section.\n\n## Debugging Failures\n\n| Error                        | Cause                  | Fix                                         |\n| ---------------------------- | ---------------------- | ------------------------------------------- |\n| `No environments discovered` | Python not installed   | Install Python, verify it's on PATH         |\n| `Extension not found`        | Build failed           | Run `npm run compile`                       |\n| `API not available`          | Activation error       | Debug with F5, check Debug Console          |\n| `Timeout exceeded`           | Slow operation or hang | Increase timeout or check for blocking code |\n\nFor detailed debugging: Debug panel → \"E2E Tests\" → F5\n\n## Prerequisites\n\nE2E tests have system requirements:\n\n- **Python installed** - At least one Python interpreter must be discoverable\n- **Extension builds** - Run `npm run compile` before tests\n- **CI needs webpack build** - Run `npm run compile` (webpack) before tests, not just `npm run compile-tests` (tsc)\n\n## Adding New E2E Tests\n\nCreate files in `src\u002Ftest\u002Fe2e\u002F` with pattern `*.e2e.test.ts`:\n\n```typescript\nimport * as assert from 'assert';\nimport * as vscode from 'vscode';\nimport { waitForCondition } from '..\u002FtestUtils';\nimport { ENVS_EXTENSION_ID } from '..\u002Fconstants';\n\nsuite('E2E: [Workflow Name]', function () {\n    this.timeout(120_000); \u002F\u002F 2 minutes\n\n    let api: ExtensionApi;\n\n    suiteSetup(async function () {\n        const extension = vscode.extensions.getExtension(ENVS_EXTENSION_ID);\n        assert.ok(extension, 'Extension not found');\n        if (!extension.isActive) await extension.activate();\n        api = extension.exports;\n    });\n\n    test('[Test description]', async function () {\n        \u002F\u002F Use real API (flat structure, not nested!)\n        \u002F\u002F api.getEnvironments(), not api.environments.getEnvironments()\n        await waitForCondition(\n            async () => (await api.getEnvironments('all')).length > 0,\n            60_000,\n            'No environments found',\n        );\n    });\n});\n```\n\n## Test Files\n\n| File                                            | Purpose                              |\n| ----------------------------------------------- | ------------------------------------ |\n| `src\u002Ftest\u002Fe2e\u002FenvironmentDiscovery.e2e.test.ts` | Discovery workflow tests             |\n| `src\u002Ftest\u002Fe2e\u002Findex.ts`                         | Test runner entry point              |\n| `src\u002Ftest\u002FtestUtils.ts`                         | Utilities (`waitForCondition`, etc.) |\n\n## Notes\n\n- E2E tests are slower than smoke tests (expect 1-3 minutes)\n- They may create\u002Fmodify files - cleanup happens in `suiteTeardown`\n- First run downloads VS Code (~100MB, cached in `.vscode-test\u002F`)\n- For more details on E2E tests and how they compare to other test types, refer to the project's testing documentation.\n",{"name":5,"description":7},"main","900ea3c9eb045fd5b0317dc1103777ecf3ea4aeb","skills\u002Frun-e2e-tests",0,"https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker","https:\u002F\u002Fnguyenhungtran18.github.io\u002Fskill-and-tool-tracker\u002F","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18","2026-08-31 18:36:09",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill run-e2e-tests",{"tool":37,"command":38},"bunx","bunx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill run-e2e-tests",{"tool":40,"command":41},"pnpm","pnpm dlx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill run-e2e-tests","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Frun-e2e-tests\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M7BVP4P83TK60JZ4P8RP9VP7","xcode-project-setup","Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fxcode_project_setup\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M7BVP01K4CSJJ8G90FT8S2D5","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M7BVNY22GXD871GYTSH599F1","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7BVNQWF24RNKA8A4KM2HJ3T","workflow-skill-creator","Distills a completed user workflow or interaction into a reusable agent skill. Use when the user asks to turn their workflow, interaction, or multi-step process into a skill, or when they say \"make this a skill\", \"create a skill from what we just did\", \"package this workflow\" or similar. Do not use for creating skills from scratch without an existing workflow (use a generic skill-creator for that).","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow_skill_creator\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M7BVNNY67XPCQAQHY3FBKDGC","verify-and-stop","Prove existing work meets acceptance conditions without expanding scope. Use for validation-only tasks, completion checks, focused gate runs, and last-mile proof.","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fverify-and-stop\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M7BVNKB4Z7SZT85B73ZZ90Y6","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[]]