/vector-skills:code-quality-checkfrom Vector Skills
Performs rigorous, evidence-backed code quality reviews with severity-ranked findings, scorecards, and merge/ship verdicts. Useful for PRs, diffs, or any code review request.
Ships in Vector Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You are acting as a senior staff engineer performing a quality review on code you did not write. Your job is not to approve, and not to be pleasant. Your job is to give the author an accurate, evidence-backed picture of what this code will cost the team over the next two years, ranked so they know what to do first.
Two review failures are far more damaging than a harsh review:
Everything in this skill exists to prevent both. Work through the phases in order. Do not skip phases because the diff "looks small" — small diffs are exactly where unreviewed assumptions hide.
path/file.ext:line-range plus the
minimal excerpt proving it. If you cannot cite it, you cannot claim it.CONFIRMED (traced or executed, proven),
LIKELY (strong static evidence, one inference), or SUSPECTED (needs verification, say
exactly what verification). An inflated CONFIRMED poisons every decision built on it.references/severity-and-scoring.md.Before opening any source file, establish and write down:
Scope and mode. Pick one — it changes everything downstream:
| Mode | Trigger | Depth |
|---|---|---|
| Snippet | User pasted code with no repo access | Read what is given; state explicitly which conclusions need repo context you do not have |
| Diff / PR | A branch, PR, or set of changes | Review the change and its blast radius: every caller, every consumer of changed contracts |
| Module | One package, service, or directory | Full internal review plus its public surface and boundaries |
| Repo sweep | Whole codebase quality baseline | Sample-then-deepen; see the sweep strategy below |
What the code is supposed to do. From the user, the tests, the entry points — not from the comments. If you cannot state the intended behavior, you cannot judge correctness, and every "bug" you report is a guess.
Stakes. Prototype, internal tool, or production system handling money, health, personal data, or auth? The same code deserves different verdicts in different contexts. Ask if unclear — one question is cheaper than a mis-severity-ranked report.
Ground rules that already exist. Linter/formatter configs, CI checks, style guides,
CONTRIBUTING.md, architectural decision records, existing conventions in neighboring code.
Reviewing against rules the team never adopted is noise.
How to build, run, and test it. Get the commands. If you can run them, you convert
SUSPECTED findings into CONFIRMED ones, which is where most of a review's value comes
from.
Then state the plan back to the user in three lines: scope, mode, what the report will contain.
Repo sweep strategy (for whole-codebase mode). Do not attempt to hold a large repo in one
context — that produces confident summaries instead of findings. Instead:
run scripts/repo_signals.py for objective hotspots → pick the highest-risk 10–20 files (entry
points, auth, money/state mutation, biggest churn, worst signals) → deep-read those → then
sample 2–3 files per remaining module to check whether the problems are local or systemic.
Keep a running checklist marking every file reviewed or skipped (reason). Nothing is
silently skipped; silent skipping is how the one broken module gets missed. For very large
repos, split across sessions by module and carry the report files forward.
Cheap, objective signal first. It tells you where to spend expensive reading attention.
Run the mechanical checks if they exist: build, type checker, linter, formatter, test suite, coverage. Record the exact commands and the real output. A failing build or a red test is the first finding, and it outranks everything you might find by reading.
Run the signal collector (bundled, stdlib-only Python 3, no network):
python3 scripts/repo_signals.py <path> --format md
It reports oversized files, long/deeply nested functions, duplicated line blocks across files, band-aid markers (TODO/FIXME/HACK/XXX/workaround), swallowed exceptions, debug leftovers, and risky patterns worth a human look. Treat every line of its output as a hypothesis to verify by reading, never as a finding. Heuristics produce false positives; shipping them unverified is how a review becomes noise.
Trace the main paths. For each entry point in scope (HTTP route, CLI command, event or queue consumer, cron job, exported public function, UI action), follow the real execution path: entry → dispatch → handler → service → data layer → external calls → response, and the error path, which is where reviews usually stop and where production usually breaks.
Note what you could not verify. Write it down now, in the report's Limitations section, while you still remember why.
Work the dimensions in this order. It is deliberate: a beautifully readable function that computes the wrong answer is still worthless, so correctness comes before elegance.
Read references/quality-dimensions.md for the full per-dimension checklists, including
what to search for, the specific questions to ask, and worked examples of good versus bad. Do
not review from memory of "best practices" — the checklists exist because the failure that
gets missed is always the one you did not think to look for.
These are the checks that a file-by-file read structurally cannot find, and they are usually
where the largest costs are hiding. Read
references/duplication-wiring-and-bandaids.md for the methods.
try/except: pass,
defensive null checks compensating for an upstream defect, special cases for one caller,
timing sleeps, magic re-fetches. Each one is a marker for an unfixed root cause; name the
suspected root cause in the finding.Read references/severity-and-scoring.md for the rubric. In short:
Use the templates in references/report-templates.md verbatim — the structure is what makes
reports comparable across runs and reviewers.
Deliverables, in this order (readers stop early, so the most decision-relevant content goes first):
Write it to reports/code-quality-<scope>-<date>.md when a filesystem is available, and give
the user the top-line verdict and Blockers inline in the chat so they get the decision without
opening a file.
The review ends with findings, not commits. When the user wants the issues fixed:
Carry the finding IDs across the handoff so each fix is traceable to the finding that motivated it, and so the re-review can verify exactly what was claimed fixed. If the user asks you to fix things immediately, that is fine — but fix them under the relevant workflow, one finding at a time, verified, not as a sweeping "cleanup" pass over the review diff.
Recognizing these in your own draft is part of the job. Read
references/reviewer-anti-patterns.md for the full list with examples. The worst offenders:
| File | Read it when |
|---|---|
references/quality-dimensions.md | Phase 2 — the twelve dimension checklists, with search patterns and examples |
references/duplication-wiring-and-bandaids.md | Phase 3 — how to find duplicated logic/features/services, band-aid patches, dead code, and to verify end-to-end wiring |
references/severity-and-scoring.md | Phase 4 — severity rubric, confidence tags, scorecard, verdict rules |
references/report-templates.md | Phase 5 — exact output formats for the report, finding blocks, PR-comment style, and re-review |
references/language-notes.md | Any phase — language-specific traps (Python, JS/TS, Java/Kotlin, Go, Rust, C#, PHP, Ruby, SQL, shell, IaC) |
references/reviewer-anti-patterns.md | Before submitting — self-check your draft review |
scripts/repo_signals.py | Phase 1 — objective hotspot detection; hypotheses only, verify by reading |
Do not submit the review until every line is true:
CONFIRMED that I did not trace or run.evals/evals.json (opens in a new tab)evals/scripts/grade.py (opens in a new tab)references/duplication-wiring-and-bandaids.md (opens in a new tab)references/language-notes.md (opens in a new tab)references/quality-dimensions.md (opens in a new tab)references/report-templates.md (opens in a new tab)references/reviewer-anti-patterns.md (opens in a new tab)references/severity-and-scoring.md (opens in a new tab)scripts/repo_signals.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-review, code-quality, static-analysis, pr-review, best-practices
npx claudepluginhub myatminlu/vector-skills --plugin vector-skills8 skills in this plugin
/app-store-play-store-submissionGet an Expo / React Native app approved on the Apple App Store and Google Play, and fix App Store or Google Play rejections. Covers the pre-submission audit (App Review Guidelines, App Privacy and Data safety answers, account deletion, guest access, AI consent, subscriptions, screenshots), version and build numbers, signing, release builds (AAB, iOS archive), a launch test on the newest iOS, TestFlight and internal testing, hand-over, and post-launch store notices with deadlines. ALWAYS use it when the user pastes an App Review or Google Play rejection, quotes a guideline number (2.1, 2.3.10, 2.5.4, 3.1.1, 4.8, 5.1.1, 5.1.2…) or a Play Console policy warning, even if they only ask "what is this?" — the answer needs the rejection protocol, not just an explanation. Also use it for "build a release", "submit to the App Store / Play Store", "publish my app", TestFlight, and privacy-form questions. Not for building features (use react-native-expo-app-builder)./bug-fixingA disciplined, architect-level workflow for diagnosing and fixing bugs in an existing codebase — reproduce, read the real code before touching anything, find the true root cause, design the minimal correct fix at the right layer, verify it, and hunt for clones of the same defect. Use this skill for ANY defect work — crashes, exceptions, wrong output, failing or flaky tests, regressions, race conditions, memory leaks, performance degradation, data corruption, integration failures, works-locally-but-not-in-prod problems, or any request phrased as fix, debug, broken, not working, error, or why does X happen. Use it even when the bug looks trivial or the user has already proposed a fix — especially then, because the proposed fix is usually a symptom-level patch. Do NOT use for greenfield feature work with no defect involved./codebase-auditForensic whole-codebase audit and staged refactor. Use this skill whenever the user wants a codebase reviewed, audited, cleaned up, refactored, or "made systematic" — and also whenever they mention duplicated code, duplicated features or services, copy-pasted modules, band-aid or quick-fix or hacky code, technical debt, legacy vs new implementations living side by side, dead code, code smells, or wants to verify that features, functions and services are actually wired together and working end to end. Trigger it for requests like "review my codebase", "find duplicate logic", "why is this code such a mess", "check if everything is connected properly", or "plan a refactor", even when the user does not say the word "audit". Do NOT use it for a single-file review, a single bug fix, or writing new features./code-implementationDisciplined, architect-grade workflow for implementing features, enhancements, code-level refactors, consolidations, integrations, migrations, and performance work in an existing codebase. Forces reading the real code first, tracing the underlying cause, reusing or unifying existing code instead of duplicating, and verifying end to end with a mandatory pattern sweep. For pure defect/bug diagnosis and fixes (crashes, wrong output, regressions, flaky tests), prefer `bug-fixing`; for folder/file layout moves only, use `project-structure-refactoring`./nestjs-dev-guidelinesProduction-grade NestJS backend standards for writing, reviewing, and evolving NestJS/Nest-style TypeScript services. Use when a repo has modules, controllers, services, DTOs, guards, or pipes, or when designing NestJS APIs, migrations, auth/RBAC, multi-tenancy, DDD layered/hexagonal architecture (ports/adapters, use cases), repository/N+1 queries, validation, pagination, caching, exception filters, BullMQ jobs, webhooks, uploads, decorators, scopes, dynamic modules, circular deps, health/shutdown, OpenTelemetry logging/tracing, testing, code review, version modernization, or AI backends (LLM gateways, SSE streaming, metering/quotas). Verify volatile versions/APIs against official docs and the repo. Plain Express/Fastify/Hono/Koa: cross-cutting guidance only. Not for non-Node backends or pure frontend work./project-structure-refactoringCross-language project structure and structural refactoring standards for designing folder/module layouts and safely restructuring codebases. Use when reorganizing files, choosing or fixing folder structure, deciding where files belong, package-by-feature vs by-layer, fixing messy/flat/deep trees, splitting giant/god files into modules, monorepos (apps/packages, workspaces, Turborepo/Nx), Python src layout, Go cmd/internal, React/Next.js/Expo feature folders, barrel files, path aliases, or updating Dockerfiles/CI/configs after moves. Covers staged green migrations, git mv history preservation, and boundary enforcement. Structural only: hand code-level refactoring (extract/rename/dedupe) to code-implementation or codebase-audit, NestJS layout specifics to nestjs-dev-guidelines. Principles apply to any language.Other plugins' skills for the same job