[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DKKAPPJ116DQV3QZDA0034":3,"skill-same:01M7DKKAPPJ116DQV3QZDA0034":56},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7DKKAPPJ116DQV3QZDA0034","setup-pre-commit",null,"Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting\u002Ftypechecking\u002Ftesting.","vc999999999\u002Fskillflux-catalog","vc999999999","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F104196942?v=4","01M7DKFQK2JRAY2C9EMD7FHBWG","jiangbing","01M7DKFQKQA5E0BWZ1WQY4G9WA",0,"MIT","https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog\u002Fblob\u002Fmain\u002Fintake\u002Fmattpocock-all-2026-10-09\u002Fmisc\u002Fsetup-pre-commit\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog\u002Fblob\u002Fmain\u002Fintake\u002Fmattpocock-all-2026-10-09\u002Fmisc\u002Fsetup-pre-commit\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: setup-pre-commit\ndescription: Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting\u002Ftypechecking\u002Ftesting.\n---\n\n# Setup Pre-Commit Hooks\n\n## What This Sets Up\n\n- **Husky** pre-commit hook\n- **lint-staged** running Prettier on all staged files\n- **Prettier** config (if missing)\n- **typecheck** and **test** scripts in the pre-commit hook\n\n## Steps\n\n### 1. Detect package manager\n\nCheck for `package-lock.json` (npm), `pnpm-lock.yaml` (pnpm), `yarn.lock` (yarn), `bun.lockb` (bun). Use whichever is present. Default to npm if unclear.\n\n### 2. Install dependencies\n\nInstall as devDependencies:\n\n```\nhusky lint-staged prettier\n```\n\n### 3. Initialize Husky\n\n```bash\nnpx husky init\n```\n\nThis creates `.husky\u002F` dir and adds `prepare: \"husky\"` to package.json.\n\n### 4. Create `.husky\u002Fpre-commit`\n\nWrite this file (no shebang needed for Husky v9+):\n\n```\nnpx lint-staged\nnpm run typecheck\nnpm run test\n```\n\n**Adapt**: Replace `npm` with detected package manager. If repo has no `typecheck` or `test` script in package.json, omit those lines and tell the user.\n\n### 5. Create `.lintstagedrc`\n\n```json\n{\n  \"*\": \"prettier --ignore-unknown --write\"\n}\n```\n\n### 6. Create `.prettierrc` (if missing)\n\nOnly create if no Prettier config exists. Use these defaults:\n\n```json\n{\n  \"useTabs\": false,\n  \"tabWidth\": 2,\n  \"printWidth\": 80,\n  \"singleQuote\": false,\n  \"trailingComma\": \"es5\",\n  \"semi\": true,\n  \"arrowParens\": \"always\"\n}\n```\n\n### 7. Verify\n\n- [ ] `.husky\u002Fpre-commit` exists and is executable\n- [ ] `.lintstagedrc` exists\n- [ ] `prepare` script in package.json is `\"husky\"`\n- [ ] `prettier` config exists\n- [ ] Run `npx lint-staged` to verify it works\n\n### 8. Commit\n\nStage all changed\u002Fcreated files and commit with message: `Add pre-commit hooks (husky + lint-staged + prettier)`\n\nThis will run through the new pre-commit hooks: a good smoke test that everything works.\n\n## Notes\n\n- Husky v9+ doesn't need shebangs in hook files\n- `prettier --ignore-unknown` skips files Prettier can't parse (images, etc.)\n- The pre-commit runs lint-staged first (fast, staged-only), then full typecheck and tests\n","# Setup Pre-Commit Hooks\n\n## What This Sets Up\n\n- **Husky** pre-commit hook\n- **lint-staged** running Prettier on all staged files\n- **Prettier** config (if missing)\n- **typecheck** and **test** scripts in the pre-commit hook\n\n## Steps\n\n### 1. Detect package manager\n\nCheck for `package-lock.json` (npm), `pnpm-lock.yaml` (pnpm), `yarn.lock` (yarn), `bun.lockb` (bun). Use whichever is present. Default to npm if unclear.\n\n### 2. Install dependencies\n\nInstall as devDependencies:\n\n```\nhusky lint-staged prettier\n```\n\n### 3. Initialize Husky\n\n```bash\nnpx husky init\n```\n\nThis creates `.husky\u002F` dir and adds `prepare: \"husky\"` to package.json.\n\n### 4. Create `.husky\u002Fpre-commit`\n\nWrite this file (no shebang needed for Husky v9+):\n\n```\nnpx lint-staged\nnpm run typecheck\nnpm run test\n```\n\n**Adapt**: Replace `npm` with detected package manager. If repo has no `typecheck` or `test` script in package.json, omit those lines and tell the user.\n\n### 5. Create `.lintstagedrc`\n\n```json\n{\n  \"*\": \"prettier --ignore-unknown --write\"\n}\n```\n\n### 6. Create `.prettierrc` (if missing)\n\nOnly create if no Prettier config exists. Use these defaults:\n\n```json\n{\n  \"useTabs\": false,\n  \"tabWidth\": 2,\n  \"printWidth\": 80,\n  \"singleQuote\": false,\n  \"trailingComma\": \"es5\",\n  \"semi\": true,\n  \"arrowParens\": \"always\"\n}\n```\n\n### 7. Verify\n\n- [ ] `.husky\u002Fpre-commit` exists and is executable\n- [ ] `.lintstagedrc` exists\n- [ ] `prepare` script in package.json is `\"husky\"`\n- [ ] `prettier` config exists\n- [ ] Run `npx lint-staged` to verify it works\n\n### 8. Commit\n\nStage all changed\u002Fcreated files and commit with message: `Add pre-commit hooks (husky + lint-staged + prettier)`\n\nThis will run through the new pre-commit hooks: a good smoke test that everything works.\n\n## Notes\n\n- Husky v9+ doesn't need shebangs in hook files\n- `prettier --ignore-unknown` skips files Prettier can't parse (images, etc.)\n- The pre-commit runs lint-staged first (fast, staged-only), then full typecheck and tests\n",{"name":5,"description":7},"main","18f52829480a4e8df7dd5d9c13ce3b5284311891","intake\u002Fmattpocock-all-2026-10-09\u002Fmisc\u002Fsetup-pre-commit","https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog","https:\u002F\u002Fgithub.com\u002Fvc999999999","2026-10-11 20:16:46",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add vc999999999\u002Fskillflux-catalog --skill setup-pre-commit",{"tool":37,"command":38},"bunx","bunx skills add vc999999999\u002Fskillflux-catalog --skill setup-pre-commit",{"tool":40,"command":41},"pnpm","pnpm dlx skills add vc999999999\u002Fskillflux-catalog --skill setup-pre-commit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog\u002Fblob\u002Fmain\u002Fintake\u002Fmattpocock-all-2026-10-09\u002Fmisc\u002Fsetup-pre-commit\u002FSKILL.md",true,[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"agents\u002Fopenai.yaml","REFERENCE","参考文档",99,"https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog\u002Fblob\u002Fmain\u002Fintake\u002Fmattpocock-all-2026-10-09\u002Fmisc\u002Fsetup-pre-commit\u002Fagents\u002Fopenai.yaml",{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":16},"LICENSE.txt","LICENSE","许可证",1068,[57,65,73,81,89,97],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":61,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":20},"01M7DKTKB8RM9NFNA9VD5QNM59","scientific-schematics","Generates scientific diagram drafts using Nano Banana 2 AI with smart iterative refinement. Uses Gemini 3.7 Flash for quality review. Refines when the review requests improvement, with at most two generations. Specialized in neural network architectures, system diagrams, flowcharts, biological pathways, and complex scientific visualizations.","https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fscientific-schematics\u002F1.0.0\u002FLICENSE.md","https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fscientific-schematics\u002F1.0.0\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":69,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":20},"01M7DKTE1BMWDNRQ6JHSB8YZVM","scientific-critical-thinking","Evaluates scientific claims and evidence quality. Applies to experimental design validity, biases and confounders, statistical interpretation, evidence grading frameworks (GRADE, Cochrane Risk of Bias), and teaching critical analysis. Supports evidence appraisal and identifying flaws; formal peer review writing belongs to peer-review.","https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fscientific-critical-thinking\u002F1.0.0\u002FLICENSE.md","https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fscientific-critical-thinking\u002F1.0.0\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":77,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":20},"01M7DKT74MD9SFF7K4ZGQJ5PAY","scientific-brainstorming","Facilitates evidence-aware scientific ideation with independent generation, structured discussion, explicit assumptions, transparent evaluation, adversarial review, and decision logs. Use for early-stage research brainstorming or prioritizing candidate directions; hand off empirical validation, study design, ethics or regulatory review, and clinical questions to appropriate experts or skills.","https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fscientific-brainstorming\u002F1.0.0\u002FLICENSE.md","https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fscientific-brainstorming\u002F1.0.0\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":20},"01M7DKT1837E2PSV5Y6EQV4A4B","aer-tables-figures","Use when constructing or revising regression tables, descriptive statistics tables, or figures after results are estimated and before submission for an AER, AER:Insights, or AEJ manuscript. Implements AER booktabs house style, regression-table layout, and figure-note conventions.","https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Faer-tables-figures\u002F1.0.0\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Faer-tables-figures\u002F1.0.0\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":20},"01M7DKSW7MJQ8A88TJC1H293PB","aer-statspai","Use when aer-identification has fixed the design, after methodology choice and before aer-robustness or aer-tables-figures, to run an AER-track analysis with StatsPAI — the agent-native Python engine and MCP server for causal inference, robustness, sensitivity, and publication-ready table export.","https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Faer-statspai\u002F1.0.0\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Faer-statspai\u002F1.0.0\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":20},"01M7DKSQKV1429VSPVVHAM1QQM","aer-robustness","Use when the main empirical results exist but the manuscript lacks the robustness, heterogeneity, mechanism, and placebo checks that AER referees will demand. Apply after aer-identification and before aer-introduction so that the value-added paragraph can reference these tests.","https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Faer-robustness\u002F1.0.0\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvc999999999\u002Fskillflux-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Faer-robustness\u002F1.0.0\u002FSKILL.md",[],[]]