[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BVJJ8S63JS02MXNEQ7ZNRX":3,"skill-same:01M7BVJJ8S63JS02MXNEQ7ZNRX":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},"01M7BVJJ8S63JS02MXNEQ7ZNRX","run-integration-tests",null,"Run integration tests to verify that extension components work together correctly. Use this after modifying component interactions or event handling.","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-integration-tests\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: run-integration-tests\ndescription: Run integration tests to verify that extension components work together correctly. Use this after modifying component interactions or event handling.\n---\n\nRun integration tests to verify that multiple components (managers, API, settings) work together correctly.\n\n## When to Use This Skill\n\n- After modifying how components communicate (events, state sharing)\n- After changing the API surface\n- After modifying managers or their interactions\n- When components seem out of sync (UI shows stale data, events not firing)\n\n## Quick Reference\n\n| Action                    | Command                                                                |\n| ------------------------- | ---------------------------------------------------------------------- |\n| Run all integration tests | `npm run compile && npm run compile-tests && npm run integration-test` |\n| Run specific test         | `npm run integration-test -- --grep \"manager\"`                         |\n| Debug in VS Code          | Debug panel → \"Integration Tests\" → F5                                 |\n\n## How Integration Tests Work\n\nIntegration tests run in a real VS Code instance but focus on **component interactions**:\n\n- Does the API reflect manager state?\n- Do events fire when state changes?\n- Do different scopes return appropriate data?\n\nThey're faster than E2E (which test full workflows) but more thorough than smoke tests.\n\n## Workflow\n\n### Step 1: Compile and Run\n\n```bash\nnpm run compile && npm run compile-tests && npm run integration-test\n```\n\n### Step 2: Interpret Results\n\n**Pass:**\n\n```\n  Integration: Environment Manager + API\n    ✓ API reflects manager state after refresh\n    ✓ Different scopes return appropriate environments\n    ✓ Environment objects have consistent structure\n\n  3 passing (25s)\n```\n\n**Fail:** Check error message and see Debugging section.\n\n## Debugging Failures\n\n| Error               | Cause                       | Fix                             |\n| ------------------- | --------------------------- | ------------------------------- |\n| `API not available` | Extension activation failed | Check Debug Console             |\n| `Event not fired`   | Event wiring issue          | Check event registration        |\n| `State mismatch`    | Components out of sync      | Add logging, check update paths |\n| `Timeout`           | Async operation stuck       | Check for deadlocks             |\n\nFor detailed debugging: Debug panel → \"Integration Tests\" → F5\n\n## Adding New Integration Tests\n\nCreate files in `src\u002Ftest\u002Fintegration\u002F` with pattern `*.integration.test.ts`:\n\n```typescript\nimport * as assert from 'assert';\nimport * as vscode from 'vscode';\nimport { waitForCondition, TestEventHandler } from '..\u002FtestUtils';\nimport { ENVS_EXTENSION_ID } from '..\u002Fconstants';\n\nsuite('Integration: [Component A] + [Component B]', function () {\n    this.timeout(120_000);\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('[Interaction test]', async function () {\n        \u002F\u002F Test component interaction\n    });\n});\n```\n\n## Test Files\n\n| File                                                     | Purpose                                            |\n| -------------------------------------------------------- | -------------------------------------------------- |\n| `src\u002Ftest\u002Fintegration\u002FenvManagerApi.integration.test.ts` | Manager + API tests                                |\n| `src\u002Ftest\u002Fintegration\u002Findex.ts`                          | Test runner entry point                            |\n| `src\u002Ftest\u002FtestUtils.ts`                                  | Utilities (`waitForCondition`, `TestEventHandler`) |\n\n## Prerequisites\n\n- **CI needs webpack build** - Run `npm run compile` (webpack) before tests, not just `npm run compile-tests` (tsc)\n- **Extension builds** - Run `npm run compile` before tests\n\n## Notes\n\n- Integration tests are faster than E2E (30s-2min vs 1-3min)\n- Focus on testing component boundaries, not full user workflows\n- First run downloads VS Code (~100MB, cached in `.vscode-test\u002F`)\n","Run integration tests to verify that multiple components (managers, API, settings) work together correctly.\n\n## When to Use This Skill\n\n- After modifying how components communicate (events, state sharing)\n- After changing the API surface\n- After modifying managers or their interactions\n- When components seem out of sync (UI shows stale data, events not firing)\n\n## Quick Reference\n\n| Action                    | Command                                                                |\n| ------------------------- | ---------------------------------------------------------------------- |\n| Run all integration tests | `npm run compile && npm run compile-tests && npm run integration-test` |\n| Run specific test         | `npm run integration-test -- --grep \"manager\"`                         |\n| Debug in VS Code          | Debug panel → \"Integration Tests\" → F5                                 |\n\n## How Integration Tests Work\n\nIntegration tests run in a real VS Code instance but focus on **component interactions**:\n\n- Does the API reflect manager state?\n- Do events fire when state changes?\n- Do different scopes return appropriate data?\n\nThey're faster than E2E (which test full workflows) but more thorough than smoke tests.\n\n## Workflow\n\n### Step 1: Compile and Run\n\n```bash\nnpm run compile && npm run compile-tests && npm run integration-test\n```\n\n### Step 2: Interpret Results\n\n**Pass:**\n\n```\n  Integration: Environment Manager + API\n    ✓ API reflects manager state after refresh\n    ✓ Different scopes return appropriate environments\n    ✓ Environment objects have consistent structure\n\n  3 passing (25s)\n```\n\n**Fail:** Check error message and see Debugging section.\n\n## Debugging Failures\n\n| Error               | Cause                       | Fix                             |\n| ------------------- | --------------------------- | ------------------------------- |\n| `API not available` | Extension activation failed | Check Debug Console             |\n| `Event not fired`   | Event wiring issue          | Check event registration        |\n| `State mismatch`    | Components out of sync      | Add logging, check update paths |\n| `Timeout`           | Async operation stuck       | Check for deadlocks             |\n\nFor detailed debugging: Debug panel → \"Integration Tests\" → F5\n\n## Adding New Integration Tests\n\nCreate files in `src\u002Ftest\u002Fintegration\u002F` with pattern `*.integration.test.ts`:\n\n```typescript\nimport * as assert from 'assert';\nimport * as vscode from 'vscode';\nimport { waitForCondition, TestEventHandler } from '..\u002FtestUtils';\nimport { ENVS_EXTENSION_ID } from '..\u002Fconstants';\n\nsuite('Integration: [Component A] + [Component B]', function () {\n    this.timeout(120_000);\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('[Interaction test]', async function () {\n        \u002F\u002F Test component interaction\n    });\n});\n```\n\n## Test Files\n\n| File                                                     | Purpose                                            |\n| -------------------------------------------------------- | -------------------------------------------------- |\n| `src\u002Ftest\u002Fintegration\u002FenvManagerApi.integration.test.ts` | Manager + API tests                                |\n| `src\u002Ftest\u002Fintegration\u002Findex.ts`                          | Test runner entry point                            |\n| `src\u002Ftest\u002FtestUtils.ts`                                  | Utilities (`waitForCondition`, `TestEventHandler`) |\n\n## Prerequisites\n\n- **CI needs webpack build** - Run `npm run compile` (webpack) before tests, not just `npm run compile-tests` (tsc)\n- **Extension builds** - Run `npm run compile` before tests\n\n## Notes\n\n- Integration tests are faster than E2E (30s-2min vs 1-3min)\n- Focus on testing component boundaries, not full user workflows\n- First run downloads VS Code (~100MB, cached in `.vscode-test\u002F`)\n",{"name":5,"description":7},"main","900ea3c9eb045fd5b0317dc1103777ecf3ea4aeb","skills\u002Frun-integration-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-integration-tests",{"tool":37,"command":38},"bunx","bunx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill run-integration-tests",{"tool":40,"command":41},"pnpm","pnpm dlx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill run-integration-tests","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Frun-integration-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",[],[]]