โ† All skills
Tencent SkillHub ยท Developer Tools

Code Review Engine

Enterprise-grade code review agent. Reviews PRs, diffs, or code files for security vulnerabilities, performance issues, error handling gaps, architecture smells, and test coverage. Works with any language, any repo, no dependencies required.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Enterprise-grade code review agent. Reviews PRs, diffs, or code files for security vulnerabilities, performance issues, error handling gaps, architecture smells, and test coverage. Works with any language, any repo, no dependencies required.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
README.md, SKILL.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 22 sections Open source page

Code Review Engine

Enterprise-grade automated code review. Works on GitHub PRs, local diffs, pasted code, or entire files. No dependencies โ€” pure agent intelligence.

Review a GitHub PR

Review PR #42 in owner/repo

Review a local diff

Review the staged changes in this repo

Review a file

Review src/auth/login.ts for security issues

Review pasted code

Just paste code and say "review this"

Review Framework: SPEAR

Every review follows the SPEAR framework โ€” 5 dimensions, each scored 1-10:

๐Ÿ”ด S โ€” Security (Weight: 3x)

CheckSeverityExampleHardcoded secretsCRITICALAPI keys, passwords, tokens in sourceSQL injectionCRITICALString concatenation in queriesXSS vectorsHIGHUnsanitized user input in HTML/DOMPath traversalHIGHUser input in file paths without validationInsecure deserializationHIGHeval(), pickle.loads(), JSON.parse on untrusted inputAuth bypassCRITICALMissing auth checks on endpointsSSRFHIGHUser-controlled URLs in server requestsTiming attacksMEDIUMNon-constant-time string comparison for secretsDependency vulnerabilitiesMEDIUMKnown CVEs in imported packagesSensitive data loggingMEDIUMPII, tokens, passwords in log outputInsecure randomnessMEDIUMMath.random() for security-sensitive valuesMissing rate limitingMEDIUMAuth endpoints without throttling

๐ŸŸก P โ€” Performance (Weight: 2x)

CheckSeverityExampleN+1 queriesHIGHDB call inside a loopUnbounded queriesHIGHSELECT * without LIMIT on user-facing endpointsMissing indexes (implied)MEDIUMFrequent WHERE/ORDER on unindexed columnsMemory leaksHIGHEvent listeners never removed, growing cachesBlocking main threadHIGHSync I/O in async context, CPU-heavy in event loopUnnecessary re-rendersMEDIUMReact: missing memo, unstable refs in depsLarge bundle importsMEDIUMimport _ from 'lodash' vs import get from 'lodash/get'Missing paginationMEDIUMReturning all records to clientRedundant computationLOWSame expensive calc repeated without cachingConnection pool exhaustionHIGHNot releasing DB/HTTP connections

๐ŸŸ  E โ€” Error Handling (Weight: 2x)

CheckSeverityExampleSwallowed errorsHIGHEmpty catch blocks, Go _ := on errorMissing error boundariesMEDIUMReact components without error boundariesUnchecked null/undefinedHIGHNo null checks before property accessMissing finally/cleanupMEDIUMResources opened but not guaranteed closedGeneric error messagesLOWcatch(e) { throw new Error("something went wrong") }Missing retry logicMEDIUMNetwork calls without retry on transient failuresPanic/exit in library codeHIGHpanic(), os.Exit(), process.exit() in non-mainUnhandled promise rejectionsHIGHAsync calls without .catch() or try/catchError type conflationMEDIUMAll errors treated the same (4xx vs 5xx, retriable vs fatal)

๐Ÿ”ต A โ€” Architecture (Weight: 1.5x)

CheckSeverityExampleGod functions (>50 lines)MEDIUMSingle function doing too many thingsGod files (>300 lines)MEDIUMMonolithic moduleTight couplingMEDIUMDirect DB calls in request handlersMissing abstractionLOWRepeated patterns that should be extractedCircular dependenciesHIGHA imports B imports AWrong layerMEDIUMBusiness logic in controllers, SQL in UIMagic numbers/stringsLOWHardcoded values without named constantsMissing typesMEDIUMany in TypeScript, missing type hints in PythonDead codeLOWUnreachable branches, unused imports/variablesInconsistent patternsLOWDifferent error handling styles in same codebase

๐Ÿ“Š R โ€” Reliability (Weight: 1.5x)

CheckSeverityExampleMissing tests for changesHIGHNew logic without corresponding testTest qualityMEDIUMTests that only check happy pathMissing edge casesMEDIUMNo handling for empty arrays, null, boundary valuesRace conditionsHIGHShared mutable state without synchronizationNon-idempotent operationsMEDIUMRetrying could cause duplicatesMissing validationHIGHUser input accepted without schema validationBrittle testsLOWTests depending on execution order or timingMissing loggingMEDIUMError paths with no observabilityConfiguration driftMEDIUMHardcoded env-specific valuesMissing migrationsHIGHSchema changes without migration files

Per-Finding Severity

CRITICAL โ†’ -3 points from dimension score HIGH โ†’ -2 points MEDIUM โ†’ -1 point LOW โ†’ -0.5 points INFO โ†’ 0 (suggestion only)

Overall SPEAR Score Calculation

Raw Score = (Sร—3 + Pร—2 + Eร—2 + Aร—1.5 + Rร—1.5) / 10 Final Score = Raw Score ร— 10 (scale 0-100)

Verdict Thresholds

ScoreVerdictAction90-100โœ… EXCELLENTShip it75-89๐ŸŸข GOODMinor suggestions, approve60-74๐ŸŸก NEEDS WORKAddress findings before merge40-59๐ŸŸ  SIGNIFICANT ISSUESMajor rework needed0-39๐Ÿ”ด BLOCKCritical issues, do not merge

Review Output Template

Use this structure for every review: # Code Review: [PR title or file name] ## Summary [1-2 sentence overview of what this code does and overall quality] ## SPEAR Score: [X]/100 โ€” [VERDICT] | Dimension | Score | Key Finding | |-----------|-------|-------------| | ๐Ÿ”ด Security | X/10 | [worst finding or "Clean"] | | ๐ŸŸก Performance | X/10 | [worst finding or "Clean"] | | ๐ŸŸ  Error Handling | X/10 | [worst finding or "Clean"] | | ๐Ÿ”ต Architecture | X/10 | [worst finding or "Clean"] | | ๐Ÿ“Š Reliability | X/10 | [worst finding or "Clean"] | ## Findings ### [CRITICAL/HIGH] ๐Ÿ”ด [Title] **File:** `path/to/file.ts:42` **Category:** Security **Issue:** [What's wrong] **Impact:** [What could happen] **Fix:** ```[lang] // suggested fix

[MEDIUM] ๐ŸŸก [Title]

...

What's Done Well

[Genuinely good patterns worth calling out]

Recommendations

  • [Prioritized action items]
  • ---
  • ## Language-Specific Patterns
  • ### TypeScript / JavaScript
  • `any` type usage โ†’ Architecture finding
  • `as` type assertions โ†’ potential runtime error
  • `console.log` in production code โ†’ Style
  • `==` instead of `===` โ†’ Reliability
  • Missing `async/await` error handling
  • `useEffect` missing cleanup return
  • Index signatures without validation
  • ### Python
  • Bare `except:` or `except Exception:` โ†’ Error Handling
  • `eval()` / `exec()` โ†’ Security CRITICAL
  • Mutable default arguments โ†’ Reliability
  • `import *` โ†’ Architecture
  • Missing `__init__.py` type hints
  • f-strings with user input โ†’ potential injection
  • ### Go
  • `_ :=` discarding errors โ†’ Error Handling HIGH
  • `panic()` in library code โ†’ Reliability HIGH
  • Missing `defer` for resource cleanup
  • Exported functions without doc comments
  • `interface{}` / `any` overuse
  • ### Java
  • Catching `Exception` or `Throwable` โ†’ Error Handling
  • Missing `@Override` annotations
  • Mutable static fields โ†’ thread safety
  • `System.out.println` in production
  • Missing null checks (pre-Optional code)
  • ### SQL
  • String concatenation in queries โ†’ Security CRITICAL
  • `SELECT *` โ†’ Performance
  • Missing WHERE on UPDATE/DELETE โ†’ Security CRITICAL
  • No LIMIT on user-facing queries โ†’ Performance
  • Missing indexes for JOIN columns
  • ---
  • ## Advanced Techniques
  • ### Reviewing for Business Logic
  • Beyond code quality, check:
  • Does the code match the PR description / ticket requirements?
  • Are there edge cases the spec didn't mention?
  • Could this break existing functionality?
  • Is there a simpler way to achieve the same result?
  • ### Reviewing for Operability
  • Can this be debugged in production? (logging, error messages)
  • Can this be rolled back safely?
  • Are feature flags needed?
  • What monitoring should accompany this change?
  • ### Reviewing Database Changes
  • Is the migration reversible?
  • Will it lock tables during migration?
  • Are there indexes for new query patterns?
  • Is there a data backfill needed?
  • ### Security Review Depth Levels
  • | Level | When | What |
  • |-------|------|------|
  • | Quick | Internal tool, trusted input | OWASP Top 10 patterns only |
  • | Standard | User-facing feature | + auth, input validation, output encoding |
  • | Deep | Payment, auth, PII handling | + crypto review, session management, audit logging |
  • | Threat Model | New service/API surface | + attack surface mapping, trust boundaries |
  • ---
  • ## Integration Patterns
  • ### GitHub PR Review
  • ```bash
  • # Get PR diff
  • gh pr diff 42 --repo owner/repo
  • # Get PR details
  • gh pr view 42 --repo owner/repo --json title,body,files,commits
  • # Post review comment
  • gh pr review 42 --repo owner/repo --comment --body "review content"

Local Git Review

# Review staged changes git diff --cached # Review branch vs main git diff main..HEAD # Review last N commits git log -5 --oneline && git diff HEAD~5..HEAD

Heartbeat / Cron Integration

Check for open PRs in [repo] that I haven't reviewed yet. For each, run a SPEAR review and post the results as a PR comment.

Edge Cases & Gotchas

Large PRs (>500 lines): Break into logical chunks. Review file-by-file. Flag the PR size itself as a finding (Architecture: "PR too large โ€” consider splitting"). Generated code: Skip generated files (proto, swagger, migrations from ORMs). Note that you skipped them. Dependency updates: Focus on breaking changes in changelogs, not the lockfile diff. Merge conflicts markers: Flag immediately as CRITICAL โ€” <<<<<<< in code means broken merge. Binary files: Note presence, can't review content. Config changes: Extra scrutiny โ€” wrong env var = production outage. Refactors: Verify behavior preservation. Check if tests still pass conceptually.

Review Checklist (Quick Mode)

For fast reviews when full SPEAR isn't needed: No hardcoded secrets or credentials No SQL injection / XSS / path traversal All errors handled (no empty catch, no discarded errors) No N+1 queries or unbounded operations Tests exist for new/changed logic No console.log / print / fmt.Print left in Functions under 50 lines, files under 300 lines Types are specific (no any / interface{}) PR description matches the actual changes No TODOs without linked issues

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs
  • SKILL.md Primary doc
  • README.md Docs