[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BVJMFA6V9R65YGX0NVCREA":3,"skill-same:01M7BVJMFA6V9R65YGX0NVCREA":46},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7BVJMFA6V9R65YGX0NVCREA","run-pre-commit-checks",null,"Run the mandatory pre-commit checks before committing code. Includes lint, type checking, and unit tests. MUST be run before every commit.","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-pre-commit-checks\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: run-pre-commit-checks\ndescription: Run the mandatory pre-commit checks before committing code. Includes lint, type checking, and unit tests. MUST be run before every commit.\nargument-hint: '--fix to auto-fix lint issues'\n---\n\n# Run Pre-Commit Checks\n\nThis skill defines the mandatory checks that must pass before any commit.\n\n## When to Use\n\n- **ALWAYS** before committing code changes\n- After fixing reviewer or Copilot review comments\n- Before pushing changes\n- When the maintainer agent requests pre-commit validation\n\n## Required Checks\n\nAll three checks must pass before committing:\n\n### 1. Lint Check (Required)\n\n```powershell\nnpm run lint\n```\n\n**What it checks:**\n\n- ESLint rules defined in `eslint.config.mjs`\n- TypeScript-specific linting rules\n- Import ordering and unused imports\n- Code style consistency\n\n**To auto-fix issues:**\n\n```powershell\nnpm run lint -- --fix\n```\n\n### 2. Type Check (Required)\n\n```powershell\nnpm run compile-tests\n```\n\n**What it checks:**\n\n- TypeScript type errors\n- Missing imports\n- Type mismatches\n- Strict null checks\n\n**Output location:** `out\u002F` directory (not used for production)\n\n### 3. Unit Tests (Required)\n\n```powershell\nnpm run unittest\n```\n\n**What it checks:**\n\n- All unit tests in `src\u002Ftest\u002F` pass\n- Tests run with Mocha framework\n- Uses configuration from `build\u002F.mocha.unittests.json`\n\n## Full Pre-Commit Workflow\n\n```powershell\n# Run all checks in sequence\nnpm run lint\nnpm run compile-tests\nnpm run unittest\n\n# If all pass, commit\ngit add -A\ngit commit -m \"feat: your change description (Fixes #N)\"\n```\n\n## Common Failures and Fixes\n\n### ESLint Errors\n\n| Error                                | Fix                                                    |\n| ------------------------------------ | ------------------------------------------------------ |\n| `@typescript-eslint\u002Fno-unused-vars`  | Remove unused variable or prefix with `_`              |\n| `import\u002Forder`                       | Run `npm run lint -- --fix`                            |\n| `@typescript-eslint\u002Fno-explicit-any` | Add proper type annotation                             |\n| `no-console`                         | Use `traceLog`\u002F`traceVerbose` instead of `console.log` |\n\n### Type Errors\n\n| Error                                  | Fix                                     |\n| -------------------------------------- | --------------------------------------- |\n| `TS2339: Property does not exist`      | Check property name or add type guard   |\n| `TS2345: Argument type not assignable` | Check function parameter types          |\n| `TS2322: Type not assignable`          | Add type assertion or fix type mismatch |\n| `TS18048: possibly undefined`          | Add null check or use optional chaining |\n\n### Test Failures\n\n1. Read the test failure message carefully\n2. Check if you changed behavior that tests depend on\n3. Update tests if behavior change is intentional\n4. Fix code if behavior change is unintentional\n\n## Integration with Review Process\n\nThe maintainer agent workflow requires:\n\n```\nCode Change → Reviewer Agent → Pre-Commit Checks → Commit\n                    ↓\n              Fix Issues → Re-run Reviewer → Pre-Commit Checks\n```\n\n**Never skip pre-commit checks.** They catch:\n\n- Type errors that would break the extension\n- Style inconsistencies\n- Regressions in existing functionality\n\n## Automation Note\n\nThese checks should also be run:\n\n- By CI on every PR (automated)\n- After addressing review comments (manual trigger)\n- Before merging (automated by CI)\n\nThe hooks system can automate running lint after file edits (see `.github\u002Fhooks\u002F`).\n","# Run Pre-Commit Checks\n\nThis skill defines the mandatory checks that must pass before any commit.\n\n## When to Use\n\n- **ALWAYS** before committing code changes\n- After fixing reviewer or Copilot review comments\n- Before pushing changes\n- When the maintainer agent requests pre-commit validation\n\n## Required Checks\n\nAll three checks must pass before committing:\n\n### 1. Lint Check (Required)\n\n```powershell\nnpm run lint\n```\n\n**What it checks:**\n\n- ESLint rules defined in `eslint.config.mjs`\n- TypeScript-specific linting rules\n- Import ordering and unused imports\n- Code style consistency\n\n**To auto-fix issues:**\n\n```powershell\nnpm run lint -- --fix\n```\n\n### 2. Type Check (Required)\n\n```powershell\nnpm run compile-tests\n```\n\n**What it checks:**\n\n- TypeScript type errors\n- Missing imports\n- Type mismatches\n- Strict null checks\n\n**Output location:** `out\u002F` directory (not used for production)\n\n### 3. Unit Tests (Required)\n\n```powershell\nnpm run unittest\n```\n\n**What it checks:**\n\n- All unit tests in `src\u002Ftest\u002F` pass\n- Tests run with Mocha framework\n- Uses configuration from `build\u002F.mocha.unittests.json`\n\n## Full Pre-Commit Workflow\n\n```powershell\n# Run all checks in sequence\nnpm run lint\nnpm run compile-tests\nnpm run unittest\n\n# If all pass, commit\ngit add -A\ngit commit -m \"feat: your change description (Fixes #N)\"\n```\n\n## Common Failures and Fixes\n\n### ESLint Errors\n\n| Error                                | Fix                                                    |\n| ------------------------------------ | ------------------------------------------------------ |\n| `@typescript-eslint\u002Fno-unused-vars`  | Remove unused variable or prefix with `_`              |\n| `import\u002Forder`                       | Run `npm run lint -- --fix`                            |\n| `@typescript-eslint\u002Fno-explicit-any` | Add proper type annotation                             |\n| `no-console`                         | Use `traceLog`\u002F`traceVerbose` instead of `console.log` |\n\n### Type Errors\n\n| Error                                  | Fix                                     |\n| -------------------------------------- | --------------------------------------- |\n| `TS2339: Property does not exist`      | Check property name or add type guard   |\n| `TS2345: Argument type not assignable` | Check function parameter types          |\n| `TS2322: Type not assignable`          | Add type assertion or fix type mismatch |\n| `TS18048: possibly undefined`          | Add null check or use optional chaining |\n\n### Test Failures\n\n1. Read the test failure message carefully\n2. Check if you changed behavior that tests depend on\n3. Update tests if behavior change is intentional\n4. Fix code if behavior change is unintentional\n\n## Integration with Review Process\n\nThe maintainer agent workflow requires:\n\n```\nCode Change → Reviewer Agent → Pre-Commit Checks → Commit\n                    ↓\n              Fix Issues → Re-run Reviewer → Pre-Commit Checks\n```\n\n**Never skip pre-commit checks.** They catch:\n\n- Type errors that would break the extension\n- Style inconsistencies\n- Regressions in existing functionality\n\n## Automation Note\n\nThese checks should also be run:\n\n- By CI on every PR (automated)\n- After addressing review comments (manual trigger)\n- Before merging (automated by CI)\n\nThe hooks system can automate running lint after file edits (see `.github\u002Fhooks\u002F`).\n",{"name":5,"description":7,"argument-hint":23},"--fix to auto-fix lint issues","main","900ea3c9eb045fd5b0317dc1103777ecf3ea4aeb","skills\u002Frun-pre-commit-checks",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":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill run-pre-commit-checks",{"tool":38,"command":39},"bunx","bunx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill run-pre-commit-checks",{"tool":41,"command":42},"pnpm","pnpm dlx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill run-pre-commit-checks","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Frun-pre-commit-checks\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"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":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"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":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"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":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"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":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"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":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"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",[],[]]