{"id":44056166,"url":"https://github.com/sanyuan0704/code-review-expert","last_synced_at":"2026-02-08T00:30:40.197Z","repository":{"id":336392804,"uuid":"1149477047","full_name":"sanyuan0704/code-review-expert","owner":"sanyuan0704","description":"Expert code review skill: SOLID, security, performance, error handling, boundary conditions","archived":false,"fork":false,"pushed_at":"2026-02-04T06:54:30.000Z","size":12,"stargazers_count":147,"open_issues_count":0,"forks_count":7,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-04T17:55:33.339Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sanyuan0704.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-04T06:44:11.000Z","updated_at":"2026-02-04T17:45:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sanyuan0704/code-review-expert","commit_stats":null,"previous_names":["sanyuan0704/code-review-expert"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sanyuan0704/code-review-expert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanyuan0704%2Fcode-review-expert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanyuan0704%2Fcode-review-expert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanyuan0704%2Fcode-review-expert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanyuan0704%2Fcode-review-expert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanyuan0704","download_url":"https://codeload.github.com/sanyuan0704/code-review-expert/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanyuan0704%2Fcode-review-expert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29214394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T00:10:47.190Z","status":"ssl_error","status_checked_at":"2026-02-08T00:10:43.589Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-08T00:30:37.914Z","updated_at":"2026-02-08T00:30:40.188Z","avatar_url":"https://github.com/sanyuan0704.png","language":null,"funding_links":[],"categories":["Misc","Others","🧠 Agent Skills","Code Review Skills"],"sub_categories":[],"readme":"# Code Review Expert\n\nA comprehensive code review skill for AI agents. Performs structured reviews with a senior engineer lens, covering architecture, security, performance, and code quality.\n\n## Installation\n\n```bash\nnpx skills add sanyuan0704/code-review-expert\n```\n\n## Features\n\n- **SOLID Principles** - Detect SRP, OCP, LSP, ISP, DIP violations\n- **Security Scan** - XSS, injection, SSRF, race conditions, auth gaps, secrets leakage\n- **Performance** - N+1 queries, CPU hotspots, missing cache, memory issues\n- **Error Handling** - Swallowed exceptions, async errors, missing boundaries\n- **Boundary Conditions** - Null handling, empty collections, off-by-one, numeric limits\n- **Removal Planning** - Identify dead code with safe deletion plans\n\n## Usage\n\nAfter installation, simply run:\n\n```\n/code-review-expert\n```\n\nThe skill will automatically review your current git changes.\n\n## Workflow\n\n1. **Preflight** - Scope changes via `git diff`\n2. **SOLID + Architecture** - Check design principles\n3. **Removal Candidates** - Find dead/unused code\n4. **Security Scan** - Vulnerability detection\n5. **Code Quality** - Error handling, performance, boundaries\n6. **Output** - Findings by severity (P0-P3)\n7. **Confirmation** - Ask user before implementing fixes\n\n## Severity Levels\n\n| Level | Name | Action |\n|-------|------|--------|\n| P0 | Critical | Must block merge |\n| P1 | High | Should fix before merge |\n| P2 | Medium | Fix or create follow-up |\n| P3 | Low | Optional improvement |\n\n## Structure\n\n```\ncode-review-expert/\n├── SKILL.md                 # Main skill definition\n├── agents/\n│   └── agent.yaml           # Agent interface config\n└── references/\n    ├── solid-checklist.md   # SOLID smell prompts\n    ├── security-checklist.md    # Security \u0026 reliability\n    ├── code-quality-checklist.md # Error, perf, boundaries\n    └── removal-plan.md      # Deletion planning template\n```\n\n## References\n\nEach checklist provides detailed prompts and anti-patterns:\n\n- **solid-checklist.md** - SOLID violations + common code smells\n- **security-checklist.md** - OWASP risks, race conditions, crypto, supply chain\n- **code-quality-checklist.md** - Error handling, caching, N+1, null safety\n- **removal-plan.md** - Safe vs deferred deletion with rollback plans\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanyuan0704%2Fcode-review-expert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanyuan0704%2Fcode-review-expert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanyuan0704%2Fcode-review-expert/lists"}