[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D7EK8KVBMA0J373XP06RZX":3,"skill-same:01M7D7EK8KVBMA0J373XP06RZX":44},{"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":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7D7EK8KVBMA0J373XP06RZX","code-review",null,"Perform thorough code reviews with security, performance, and maintainability analysis. Use when user asks to review code, check for bugs, or audit a codebase.","Mosslau\u002FMosaic","Mosslau","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F240846119?v=4","01M7D7A6QTMZ5SBVNCG1RN4K83","01M7D7A6RVB0ED2ANXN71H1MDF",1,"MIT","https:\u002F\u002Fgithub.com\u002FMosslau\u002FMosaic\u002Fblob\u002Fmain\u002Fengineering\u002Fai-platform\u002Fagent-platform\u002Ftutorials\u002Fpython\u002Fskills\u002Fcode-review\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: code-review\ndescription: Perform thorough code reviews with security, performance, and maintainability analysis. Use when user asks to review code, check for bugs, or audit a codebase.\n---\n\n# Code Review Skill\n\nYou now have expertise in conducting comprehensive code reviews. Follow this structured approach:\n\n## Review Checklist\n\n### 1. Security (Critical)\n\nCheck for:\n- [ ] **Injection vulnerabilities**: SQL, command, XSS, template injection\n- [ ] **Authentication issues**: Hardcoded credentials, weak auth\n- [ ] **Authorization flaws**: Missing access controls, IDOR\n- [ ] **Data exposure**: Sensitive data in logs, error messages\n- [ ] **Cryptography**: Weak algorithms, improper key management\n- [ ] **Dependencies**: Known vulnerabilities (check with `npm audit`, `pip-audit`)\n\n```bash\n# Quick security scans\nnpm audit                    # Node.js\npip-audit                    # Python\ncargo audit                  # Rust\ngrep -r \"password\\|secret\\|api_key\" --include=\"*.py\" --include=\"*.js\"\n```\n\n### 2. Correctness\n\nCheck for:\n- [ ] **Logic errors**: Off-by-one, null handling, edge cases\n- [ ] **Race conditions**: Concurrent access without synchronization\n- [ ] **Resource leaks**: Unclosed files, connections, memory\n- [ ] **Error handling**: Swallowed exceptions, missing error paths\n- [ ] **Type safety**: Implicit conversions, any types\n\n### 3. Performance\n\nCheck for:\n- [ ] **N+1 queries**: Database calls in loops\n- [ ] **Memory issues**: Large allocations, retained references\n- [ ] **Blocking operations**: Sync I\u002FO in async code\n- [ ] **Inefficient algorithms**: O(n^2) when O(n) possible\n- [ ] **Missing caching**: Repeated expensive computations\n\n### 4. Maintainability\n\nCheck for:\n- [ ] **Naming**: Clear, consistent, descriptive\n- [ ] **Complexity**: Functions > 50 lines, deep nesting > 3 levels\n- [ ] **Duplication**: Copy-pasted code blocks\n- [ ] **Dead code**: Unused imports, unreachable branches\n- [ ] **Comments**: Outdated, redundant, or missing where needed\n\n### 5. Testing\n\nCheck for:\n- [ ] **Coverage**: Critical paths tested\n- [ ] **Edge cases**: Null, empty, boundary values\n- [ ] **Mocking**: External dependencies isolated\n- [ ] **Assertions**: Meaningful, specific checks\n\n## Review Output Format\n\n```markdown\n## Code Review: [file\u002Fcomponent name]\n\n### Summary\n[1-2 sentence overview]\n\n### Critical Issues\n1. **[Issue]** (line X): [Description]\n   - Impact: [What could go wrong]\n   - Fix: [Suggested solution]\n\n### Improvements\n1. **[Suggestion]** (line X): [Description]\n\n### Positive Notes\n- [What was done well]\n\n### Verdict\n[ ] Ready to merge\n[ ] Needs minor changes\n[ ] Needs major revision\n```\n\n## Common Patterns to Flag\n\n### Python\n```python\n# Bad: SQL injection\ncursor.execute(f\"SELECT * FROM users WHERE id = {user_id}\")\n# Good:\ncursor.execute(\"SELECT * FROM users WHERE id = ?\", (user_id,))\n\n# Bad: Command injection\nos.system(f\"ls {user_input}\")\n# Good:\nsubprocess.run([\"ls\", user_input], check=True)\n\n# Bad: Mutable default argument\ndef append(item, lst=[]):  # Bug: shared mutable default\n# Good:\ndef append(item, lst=None):\n    lst = lst or []\n```\n\n### JavaScript\u002FTypeScript\n```javascript\n\u002F\u002F Bad: Prototype pollution\nObject.assign(target, userInput)\n\u002F\u002F Good:\nObject.assign(target, sanitize(userInput))\n\n\u002F\u002F Bad: eval usage\neval(userCode)\n\u002F\u002F Good: Never use eval with user input\n\n\u002F\u002F Bad: Callback hell\ngetData(x => process(x, y => save(y, z => done(z))))\n\u002F\u002F Good:\nconst data = await getData();\nconst processed = await process(data);\nawait save(processed);\n```\n\n## Review Commands\n\n```bash\n# Show recent changes\ngit diff HEAD~5 --stat\ngit log --oneline -10\n\n# Find potential issues\ngrep -rn \"TODO\\|FIXME\\|HACK\\|XXX\" .\ngrep -rn \"password\\|secret\\|token\" . --include=\"*.py\"\n\n# Check complexity (Python)\npip install radon && radon cc . -a\n\n# Check dependencies\nnpm outdated  # Node\npip list --outdated  # Python\n```\n\n## Review Workflow\n\n1. **Understand context**: Read PR description, linked issues\n2. **Run the code**: Build, test, run locally if possible\n3. **Read top-down**: Start with main entry points\n4. **Check tests**: Are changes tested? Do tests pass?\n5. **Security scan**: Run automated tools\n6. **Manual review**: Use checklist above\n7. **Write feedback**: Be specific, suggest fixes, be kind\n","# Code Review Skill\n\nYou now have expertise in conducting comprehensive code reviews. Follow this structured approach:\n\n## Review Checklist\n\n### 1. Security (Critical)\n\nCheck for:\n- [ ] **Injection vulnerabilities**: SQL, command, XSS, template injection\n- [ ] **Authentication issues**: Hardcoded credentials, weak auth\n- [ ] **Authorization flaws**: Missing access controls, IDOR\n- [ ] **Data exposure**: Sensitive data in logs, error messages\n- [ ] **Cryptography**: Weak algorithms, improper key management\n- [ ] **Dependencies**: Known vulnerabilities (check with `npm audit`, `pip-audit`)\n\n```bash\n# Quick security scans\nnpm audit                    # Node.js\npip-audit                    # Python\ncargo audit                  # Rust\ngrep -r \"password\\|secret\\|api_key\" --include=\"*.py\" --include=\"*.js\"\n```\n\n### 2. Correctness\n\nCheck for:\n- [ ] **Logic errors**: Off-by-one, null handling, edge cases\n- [ ] **Race conditions**: Concurrent access without synchronization\n- [ ] **Resource leaks**: Unclosed files, connections, memory\n- [ ] **Error handling**: Swallowed exceptions, missing error paths\n- [ ] **Type safety**: Implicit conversions, any types\n\n### 3. Performance\n\nCheck for:\n- [ ] **N+1 queries**: Database calls in loops\n- [ ] **Memory issues**: Large allocations, retained references\n- [ ] **Blocking operations**: Sync I\u002FO in async code\n- [ ] **Inefficient algorithms**: O(n^2) when O(n) possible\n- [ ] **Missing caching**: Repeated expensive computations\n\n### 4. Maintainability\n\nCheck for:\n- [ ] **Naming**: Clear, consistent, descriptive\n- [ ] **Complexity**: Functions > 50 lines, deep nesting > 3 levels\n- [ ] **Duplication**: Copy-pasted code blocks\n- [ ] **Dead code**: Unused imports, unreachable branches\n- [ ] **Comments**: Outdated, redundant, or missing where needed\n\n### 5. Testing\n\nCheck for:\n- [ ] **Coverage**: Critical paths tested\n- [ ] **Edge cases**: Null, empty, boundary values\n- [ ] **Mocking**: External dependencies isolated\n- [ ] **Assertions**: Meaningful, specific checks\n\n## Review Output Format\n\n```markdown\n## Code Review: [file\u002Fcomponent name]\n\n### Summary\n[1-2 sentence overview]\n\n### Critical Issues\n1. **[Issue]** (line X): [Description]\n   - Impact: [What could go wrong]\n   - Fix: [Suggested solution]\n\n### Improvements\n1. **[Suggestion]** (line X): [Description]\n\n### Positive Notes\n- [What was done well]\n\n### Verdict\n[ ] Ready to merge\n[ ] Needs minor changes\n[ ] Needs major revision\n```\n\n## Common Patterns to Flag\n\n### Python\n```python\n# Bad: SQL injection\ncursor.execute(f\"SELECT * FROM users WHERE id = {user_id}\")\n# Good:\ncursor.execute(\"SELECT * FROM users WHERE id = ?\", (user_id,))\n\n# Bad: Command injection\nos.system(f\"ls {user_input}\")\n# Good:\nsubprocess.run([\"ls\", user_input], check=True)\n\n# Bad: Mutable default argument\ndef append(item, lst=[]):  # Bug: shared mutable default\n# Good:\ndef append(item, lst=None):\n    lst = lst or []\n```\n\n### JavaScript\u002FTypeScript\n```javascript\n\u002F\u002F Bad: Prototype pollution\nObject.assign(target, userInput)\n\u002F\u002F Good:\nObject.assign(target, sanitize(userInput))\n\n\u002F\u002F Bad: eval usage\neval(userCode)\n\u002F\u002F Good: Never use eval with user input\n\n\u002F\u002F Bad: Callback hell\ngetData(x => process(x, y => save(y, z => done(z))))\n\u002F\u002F Good:\nconst data = await getData();\nconst processed = await process(data);\nawait save(processed);\n```\n\n## Review Commands\n\n```bash\n# Show recent changes\ngit diff HEAD~5 --stat\ngit log --oneline -10\n\n# Find potential issues\ngrep -rn \"TODO\\|FIXME\\|HACK\\|XXX\" .\ngrep -rn \"password\\|secret\\|token\" . --include=\"*.py\"\n\n# Check complexity (Python)\npip install radon && radon cc . -a\n\n# Check dependencies\nnpm outdated  # Node\npip list --outdated  # Python\n```\n\n## Review Workflow\n\n1. **Understand context**: Read PR description, linked issues\n2. **Run the code**: Build, test, run locally if possible\n3. **Read top-down**: Start with main entry points\n4. **Check tests**: Are changes tested? Do tests pass?\n5. **Security scan**: Run automated tools\n6. **Manual review**: Use checklist above\n7. **Write feedback**: Be specific, suggest fixes, be kind\n",{"name":5,"description":7},"main","4cefaad51c6c900b663a0bc6f3f36056bf803ce3","engineering\u002Fai-platform\u002Fagent-platform\u002Ftutorials\u002Fpython\u002Fskills\u002Fcode-review",0,"https:\u002F\u002Fgithub.com\u002FMosslau\u002FMosaic","https:\u002F\u002Fgithub.com\u002FMosslau","2026-11-14 10:46:59",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add Mosslau\u002FMosaic --skill code-review",{"tool":36,"command":37},"bunx","bunx skills add Mosslau\u002FMosaic --skill code-review",{"tool":39,"command":40},"pnpm","pnpm dlx skills add Mosslau\u002FMosaic --skill code-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMosslau\u002FMosaic\u002Fblob\u002Fmain\u002Fengineering\u002Fai-platform\u002Fagent-platform\u002Ftutorials\u002Fpython\u002Fskills\u002Fcode-review\u002FSKILL.md",true,[],[45,52,59,64,71,76],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M7D7F85J3AWC5T9EWNDYBQR5","pdf","Process PDF files - extract text, create PDFs, merge documents. Use when user asks to read PDF, create PDF, or work with PDF files.","https:\u002F\u002Fgithub.com\u002FMosslau\u002FMosaic\u002Fblob\u002Fmain\u002Fengineering\u002Fai-platform\u002Fagent-platform\u002Ftutorials\u002Frust\u002Fskills\u002Fpdf\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M7D7F50QDAKRXMHFZR9VYHTA","mcp-builder","Build MCP (Model Context Protocol) servers that give Claude new capabilities. Use when user wants to create an MCP server, add tools to Claude, or integrate external services.","https:\u002F\u002Fgithub.com\u002FMosslau\u002FMosaic\u002Fblob\u002Fmain\u002Fengineering\u002Fai-platform\u002Fagent-platform\u002Ftutorials\u002Frust\u002Fskills\u002Fmcp-builder\u002FSKILL.md",[],[],{"skillNo":60,"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":61,"categories":62,"keywords":63,"publishedAt":18},"01M7D7F1YFGYAHZSD0MFWQ6FT1","https:\u002F\u002Fgithub.com\u002FMosslau\u002FMosaic\u002Fblob\u002Fmain\u002Fengineering\u002Fai-platform\u002Fagent-platform\u002Ftutorials\u002Frust\u002Fskills\u002Fcode-review\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7D7EW8NR0XYTGSJQTKX2H0D","agent-builder","Design and build AI agents for any domain. Use when users:\n(1) ask to \"create an agent\", \"build an assistant\", or \"design an AI system\"\n(2) want to understand agent architecture, agentic patterns, or autonomous AI\n(3) need help with capabilities, subagents, planning, or skill mechanisms\n(4) ask about Claude Code, Cursor, or similar agent internals\n(5) want to build agents for business, research, creative, or operational tasks\nKeywords: agent, assistant, autonomous, workflow, tool use, multi-step, orchestration","https:\u002F\u002Fgithub.com\u002FMosslau\u002FMosaic\u002Fblob\u002Fmain\u002Fengineering\u002Fai-platform\u002Fagent-platform\u002Ftutorials\u002Frust\u002Fskills\u002Fagent-builder\u002FSKILL.md",[],[],{"skillNo":72,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M7D7ESV6ZW4NZHNT908YHBKV","https:\u002F\u002Fgithub.com\u002FMosslau\u002FMosaic\u002Fblob\u002Fmain\u002Fengineering\u002Fai-platform\u002Fagent-platform\u002Ftutorials\u002Fpython\u002Fskills\u002Fpdf\u002FSKILL.md",[],[],{"skillNo":77,"name":54,"nameZh":6,"description":55,"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},"01M7D7EPR8C9AG6JC0BH9XQ09V","https:\u002F\u002Fgithub.com\u002FMosslau\u002FMosaic\u002Fblob\u002Fmain\u002Fengineering\u002Fai-platform\u002Fagent-platform\u002Ftutorials\u002Fpython\u002Fskills\u002Fmcp-builder\u002FSKILL.md",[],[]]