[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JN7ARJGTMSS31EWD4V14GV":3,"skill-same:01M6JN7ARJGTMSS31EWD4V14GV":109},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":83,"commitSha":84,"skillDirectory":85,"forksCount":13,"repositoryHtmlUrl":86,"repositoryHomepageUrl":6,"ownerHtmlUrl":87,"ownerBlogUrl":6,"ownerDescription":88,"updatedAt":89,"install":90,"resources":102},"01M6JN7ARJGTMSS31EWD4V14GV","examples-code-reviewer",null,"AI-powered code review tool that analyzes code for bugs, style issues, and improvements","superhealth\u002Fskills-hub","superhealth","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6292112?v=4","01M6JA6E7F21BYK5W3E4P270TT","01M6JA6EC0W8MPHKDJVBZDSEZ0",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fenactprotocol\u002Fexamples-code-reviewer\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"code","examples","code reviewer","examples code reviewer","reviewer","bugs","code review","for","object","true","number","error","false","auto","tool","analysis","programming language","issues","code quality","performance","2026-11-10 10:12:30",false,"---\nenact: \"2.0.0\"\nname: examples-code-reviewer\nversion: \"1.0.0\"\ndescription: \"AI-powered code review tool that analyzes code for bugs, style issues, and improvements\"\nlicense: \"MIT\"\nauthor:\n  name: \"Enact Examples\"\ntags:\n  - ai\n  - code-review\n  - analysis\n\ninputSchema:\n  type: object\n  properties:\n    code:\n      type: string\n      description: \"The code to review\"\n    language:\n      type: string\n      description: \"Programming language of the code\"\n      default: \"auto\"\n    focus:\n      type: string\n      enum: [\"bugs\", \"style\", \"performance\", \"security\", \"all\"]\n      description: \"What aspect to focus the review on\"\n      default: \"all\"\n  required:\n    - code\n\noutputSchema:\n  type: object\n  properties:\n    issues:\n      type: array\n      items:\n        type: object\n        properties:\n          severity:\n            type: string\n            enum: [\"error\", \"warning\", \"info\"]\n          line:\n            type: number\n          message:\n            type: string\n          suggestion:\n            type: string\n    summary:\n      type: string\n    score:\n      type: number\n      description: \"Code quality score from 0-100\"\n\nannotations:\n  title: \"Code Reviewer\"\n  readOnlyHint: true\n  openWorldHint: false\n---\n\n# Code Reviewer\n\nAn AI-powered code review tool that analyzes source code for potential issues.\n\n## Instructions\n\nYou are a senior software engineer performing a code review. Analyze the provided code and identify:\n\n1. **Bugs**: Logic errors, null pointer risks, off-by-one errors, race conditions\n2. **Style Issues**: Naming conventions, code organization, readability\n3. **Performance**: Inefficient algorithms, unnecessary allocations, N+1 queries\n4. **Security**: Injection vulnerabilities, hardcoded secrets, unsafe operations\n\n## Review Process\n\n1. First, identify the programming language if not specified\n2. Read through the code to understand its purpose\n3. Analyze based on the requested focus area (or all areas if \"all\")\n4. For each issue found:\n   - Determine severity (error, warning, or info)\n   - Identify the line number if possible\n   - Explain the problem clearly\n   - Suggest a fix or improvement\n5. Provide a summary and overall quality score (0-100)\n\n## Output Format\n\nReturn a JSON object matching the outputSchema with:\n- `issues`: Array of identified problems\n- `summary`: Brief overview of the code quality\n- `score`: Numeric score from 0 (terrible) to 100 (excellent)\n\n## Example\n\nFor input:\n```javascript\nfunction getUser(id) {\n  var user = users.find(u => u.id = id);\n  return user.name;\n}\n```\n\nExpected output:\n```json\n{\n  \"issues\": [\n    {\n      \"severity\": \"error\",\n      \"line\": 2,\n      \"message\": \"Assignment operator (=) used instead of comparison (===) in find callback\",\n      \"suggestion\": \"Change 'u.id = id' to 'u.id === id'\"\n    },\n    {\n      \"severity\": \"error\", \n      \"line\": 3,\n      \"message\": \"Accessing .name on potentially undefined user (find returns undefined if not found)\",\n      \"suggestion\": \"Add null check: 'return user?.name' or handle the undefined case\"\n    },\n    {\n      \"severity\": \"warning\",\n      \"line\": 2,\n      \"message\": \"Using 'var' instead of 'const' or 'let'\",\n      \"suggestion\": \"Use 'const user = ...' since user is not reassigned\"\n    }\n  ],\n  \"summary\": \"The function has critical bugs: incorrect comparison operator and missing null safety. Also uses outdated var declaration.\",\n  \"score\": 35\n}\n```\n","# Code Reviewer\n\nAn AI-powered code review tool that analyzes source code for potential issues.\n\n## Instructions\n\nYou are a senior software engineer performing a code review. Analyze the provided code and identify:\n\n1. **Bugs**: Logic errors, null pointer risks, off-by-one errors, race conditions\n2. **Style Issues**: Naming conventions, code organization, readability\n3. **Performance**: Inefficient algorithms, unnecessary allocations, N+1 queries\n4. **Security**: Injection vulnerabilities, hardcoded secrets, unsafe operations\n\n## Review Process\n\n1. First, identify the programming language if not specified\n2. Read through the code to understand its purpose\n3. Analyze based on the requested focus area (or all areas if \"all\")\n4. For each issue found:\n   - Determine severity (error, warning, or info)\n   - Identify the line number if possible\n   - Explain the problem clearly\n   - Suggest a fix or improvement\n5. Provide a summary and overall quality score (0-100)\n\n## Output Format\n\nReturn a JSON object matching the outputSchema with:\n- `issues`: Array of identified problems\n- `summary`: Brief overview of the code quality\n- `score`: Numeric score from 0 (terrible) to 100 (excellent)\n\n## Example\n\nFor input:\n```javascript\nfunction getUser(id) {\n  var user = users.find(u => u.id = id);\n  return user.name;\n}\n```\n\nExpected output:\n```json\n{\n  \"issues\": [\n    {\n      \"severity\": \"error\",\n      \"line\": 2,\n      \"message\": \"Assignment operator (=) used instead of comparison (===) in find callback\",\n      \"suggestion\": \"Change 'u.id = id' to 'u.id === id'\"\n    },\n    {\n      \"severity\": \"error\", \n      \"line\": 3,\n      \"message\": \"Accessing .name on potentially undefined user (find returns undefined if not found)\",\n      \"suggestion\": \"Add null check: 'return user?.name' or handle the undefined case\"\n    },\n    {\n      \"severity\": \"warning\",\n      \"line\": 2,\n      \"message\": \"Using 'var' instead of 'const' or 'let'\",\n      \"suggestion\": \"Use 'const user = ...' since user is not reassigned\"\n    }\n  ],\n  \"summary\": \"The function has critical bugs: incorrect comparison operator and missing null safety. Also uses outdated var declaration.\",\n  \"score\": 35\n}\n```\n",{"name":5,"tags":43,"enact":46,"author":47,"license":14,"version":49,"annotations":50,"description":7,"inputSchema":53,"outputSchema":67},[44,45,33],"ai","code-review","2.0.0",{"name":48},"Enact Examples","1.0.0",{"title":51,"readOnlyHint":52,"openWorldHint":39},"Code Reviewer",true,{"type":26,"required":54,"properties":55},[18],{"code":56,"focus":59,"language":65},{"type":57,"description":58},"string","The code to review",{"enum":60,"type":57,"default":63,"description":64},[23,61,37,62,63],"style","security","all","What aspect to focus the review on",{"type":57,"default":31,"description":66},"Programming language of the code",{"type":26,"properties":68},{"score":69,"issues":71,"summary":82},{"type":28,"description":70},"Code quality score from 0-100",{"type":72,"items":73},"array",{"type":26,"properties":74},{"line":75,"message":76,"severity":77,"suggestion":81},{"type":28},{"type":57},{"enum":78,"type":57},[29,79,80],"warning","info",{"type":57},{"type":57},"master","08cc2532077058aa50e6e18f54695bc256c88152","skills\u002Fenactprotocol\u002Fexamples-code-reviewer","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub","https:\u002F\u002Fgithub.com\u002Fsuperhealth","java engineer","2026-04-06 22:07:23",{"source":8,"skillName":5,"commands":91,"prompt":101,"zipAvailable":52},[92,95,98],{"tool":93,"command":94},"npx","npx skills add superhealth\u002Fskills-hub --skill examples-code-reviewer",{"tool":96,"command":97},"bunx","bunx skills add superhealth\u002Fskills-hub --skill examples-code-reviewer",{"tool":99,"command":100},"pnpm","pnpm dlx skills add superhealth\u002Fskills-hub --skill examples-code-reviewer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fenactprotocol\u002Fexamples-code-reviewer\u002FSKILL.md",[103],{"path":104,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":107,"sourceHtmlUrl":108},"skill-report.json","REFERENCE","参考文档",9493,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fenactprotocol\u002Fexamples-code-reviewer\u002Fskill-report.json",[110,135,158,170,185,199],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":38},"01M6MC9F3WHV8S8FZ2W4TRB0FE","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fzhanlincui\u002Fvercel-react-best-practices\u002FSKILL.md",[],[117,118,119,120,121,122,18,123,124,125,126,127,128,129,130,131,132,133,37,134],"react","vercel react best practices","best practices","vercel","react best practices","data fetching","triggers","pages","next","patterns","refactoring","data","Optimization","tasks","guidelines","react components","components","writing",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":38},"01M6MB8KWE1Q5A5KERR7RFTQWP","vue-testing-best-practices","Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-testing-best-practices\u002FSKILL.md",[],[142,143,144,119,145,146,147,148,149,150,151,126,152,153,25,154,155,156,157],"vue testing best practices","testing best practices","vue","testing","testing patterns","js","e2e","vitest","use","component","test","mocking","utils","e2e testing","github","playwright",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":38},"01M6MB8GK06M6GA4KVYNDV1BZP","vue-router-best-practices","Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-router-best-practices\u002FSKILL.md",[],[119,144,165,166,167,126,168,169,151,156],"router","vue router best practices","route","navigation","lifecycle",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":38},"01M6MB8DQF21TZMQ9XC3745ERW","vue-pinia-best-practices","Pinia stores, state management patterns, store setup, and reactivity with stores.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-pinia-best-practices\u002FSKILL.md",[],[177,178,144,119,179,180,126,181,182,183,184,156],"vue pinia best practices","pinia","with","store","management","state","state management","setup",{"skillNo":186,"name":187,"nameZh":6,"description":188,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":189,"categories":190,"keywords":191,"publishedAt":38},"01M6MB8A7MC08747J9TV4GWQ9A","vue-options-api-best-practices","Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-options-api-best-practices\u002FSKILL.md",[],[144,192,193,194,119,195,196,197,198,128,156,61],"options","vue options api best practices","api","methods","reference","only","context",{"skillNo":200,"name":201,"nameZh":6,"description":202,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":203,"categories":204,"keywords":205,"publishedAt":38},"01M6MB85ZTQC24Q04X49MM4YXN","vue-development-guides","A collection of best practices and tips for developing applications using Vue.js. This skill MUST be apply when developing, refactoring or reviewing Vue.js or Nuxt projects.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-development-guides\u002FSKILL.md",[],[206,144,207,208,156,209,210,25,211,212,213,147,127,214,215,119],"development","guides","vue development guides","tips","apply","project","nuxt","projects","collection","applications"]