microsoft/hve-core/code-review

Claude Code and agent skill by microsoft/hve-core

Trust tier 4
  • vendor
Source check pending

Checking that the SKILL.md file is still in the repository.

Prioritize functional code review for a PR, branch comparison, commit, local changes, or selected code using one immutable snapshot, parallel general-purpose tasks, vector-tagged findings, strictly opt-in non-functional vectors, and an optional Code Review canvas.

Install

npx vskill@latest install microsoft/hve-core/code-review

SKILL.md

The same SKILL.md was published earlier as microsoft/hve-core/code-review.

Code Review

Goal

Ensure changed code meets the contribution bar of the codebase through a rigorous functional review first, backed by one immutable snapshot, verified vector-tagged findings, and a human-editable review.md.

Prioritize functional quality in chat, persisted review records, and the Code Review canvas:

  • Conformance with codebase requirements, conventions, coding standards, and acceptance criteria.
  • Unintended behaviors, broken invariants, and side effects that cause bugs or regressions.
  • Cleaned-up and refactored control paths rather than tangled compensating branches.
  • Existing codebase APIs, platform built-ins, or SDK methods that should have been used instead of custom logic.
  • Existing abstractions, interfaces, or shared helpers that should have been reused or extended.
  • Unneeded or leftover defensive checks and excessive edge-case branches from earlier iterations that clutter internal paths without protecting a real trust boundary.

Strict functional vs. non-functional boundary

Run only functional review by default. Separate functional review from non-functional review at every stage so context stays focused on code quality and behavioral correctness:

  • Default runs (functional or standard profile) execute only the functional vector (functional perspective, plus standards when repository instructions or language skills apply, and readiness when PR packaging or changed documentation is in scope).
  • Non-functional vectors (security, rai, sssc, performance, privacy, accessibility) and external requirement/plan comparisons (aligning work with PRDs, BRDs, ADRs, or Security Plan Drift) are strictly opt-in.
  • Enforce zero non-functional preload across both the orchestrating main agent and every subagent task. Never read references/security.md, references/specialist.md, references/accessibility.md, or references/integrations.md, search the workspace for PRDs, BRDs, ADRs, or security plans, or activate security-planning, privacy-by-design, supply-chain-security, rai-standards, performance-slo-planner, accessibility, or rpi-review unless the user explicitly requests that non-functional review (in chat, via slash arguments, or via the Code Review canvas buttons).
  • Non-functional reviews can be requested for specific areas (for example, security on an authentication area and sssc plus rai on a dependency or prompt area) or across the whole review. Do not run or preload non-functional skills on areas where they were not requested.

Vectors, perspectives, and on-demand references

Read references/review-contract.md for snapshot, state, result, vector, and CLI rules. Read only the reference files needed for the active phase and explicitly selected perspectives:

Phase or perspectiveVector pillDefault statusReference (read only when active)Focus
contextn/a (phase)Optional helperreferences/context.mdGroup files into areas, propose reasons and changeMap, or explain symbols and call paths
functionalfunctionalRuns by defaultreferences/functional.mdContribution bar, bugs and side effects, refactored paths, missed APIs/SDKs, missed abstractions, unneeded branches
standardsfunctionalFunctional suitereferences/standards.mdApplicable repository instructions and language/domain skills with cited provenance
readinessfunctionalFunctional suitereferences/readiness.mdPR metadata, checklist and test evidence, and changed documentation accuracy
investigationn/a (phase)On evidence gapreferences/investigation.mdBounded walkback to resolve a specific call-path or contract question
securitysecurityExplicit opt-inreferences/security.mdReachable trust-boundary weaknesses, auth, secrets, injection, and requested Security Plan Drift
rairaiExplicit opt-inreferences/specialist.mdModel calls, prompts, human oversight, disclosure, and misuse paths (rai-standards)
ssscssscExplicit opt-inreferences/specialist.mdDependencies, lockfiles, SHA pinning, workflow permissions, checksums, and provenance (supply-chain-security)
performanceperformanceExplicit opt-inreferences/specialist.mdComplexity growth, blocking I/O, memory retention, and stated SLO budgets (performance-slo-planner)
privacyprivacyExplicit opt-inreferences/specialist.mdPersonal data collection, logging, storage, minimization, retention, and deletion (privacy-by-design)
accessibilityaccessibilityExplicit opt-inreferences/accessibility.mdInteraction, keyboard, focus, semantics, and WCAG/ARIA barriers (accessibility)
Alignment / DriftOwning vectorExplicit opt-inreferences/integrations.mdExplicit BRD/PRD/ADR business alignment or Security Plan Drift correlation
Deliveryn/a (phase)On publish/closereferences/delivery.mdHuman review sign-off, freshness rechecks, and interactive PR staging or posting

Every finding and discussion comment carries a vector pill (functional, security, rai, sssc, performance, privacy, or accessibility when requested) alongside severity.

Phases and workflow

Activate disclaimer-language unless already preloaded and show the canonical Code-Review notice according to its cadence. Resolve this skill's installation directory before running node scripts/review.mjs.

  1. Resolve target and capture snapshot:
  • Identify the explicit target before capturing: PR/MR identity and base/head revisions, named branch comparison, staged/unstaged/combined local mode, commit, or selected code. Reuse an existing review only when repository and target match. Ask when ambiguous; never guess a base branch, fetch, check out branches, or mix dirty local edits into a PR snapshot.
  • For PRs, read immutable target identity, description, required checks, template checkboxes, linked issues, and paginated inline and timeline comments through available provider tools. Tag imported discussion comments with an optional vector (functional, security, rai, sssc, performance, privacy) when clear. Record partial or unavailable reads explicitly.
  • Run node scripts/review.mjs capture --repo <abs-repo-path> with the capture payload. Open the Code Review canvas (hve-core-code-review) when available.
  1. Map areas, reasons, and schedule functional work:
  • Group every captured file into coherent areas (including lockfiles, config, renames, deletions, and omitted files) and record intent, before/after behavior, and entry points.
  • Record 3 to 7 reasons (R1 to R9) as your own reading of why the change exists, plus a changeMap when the change spans more than two parts or alters how parts connect.
  • Select depth (standard by default, basic or comprehensive when requested or justified by concrete evidence) and mode (sweep by default, guided when requested).
  • Schedule functional (plus standards when repository instructions or language skills match changed files, and readiness when PR deliverables or docs are in scope) via node scripts/review.mjs schedule. Schedule non-functional perspectives only if explicitly requested by the user, passing areaIds when scoped to specific areas. Record active reviewers via node scripts/review.mjs context.
  • Give acceptance-criteria coverage one owner (functional for behavior, readiness for deliverable-only criteria).
  1. Execute vector and phase reviews:
  • For small or tightly coupled changes that fit a single direct read, perform the active perspectives inline in the main agent and write validated result files (node scripts/review.mjs result).
  • For multi-area, multi-perspective, or context-heavy changes, orchestrate parallel general-purpose subagent tasks as defined below (or coordinate dedicated Project sessions when operating under a Project coordinator).
  1. Verify findings, run walkbacks, and synthesize:
  • Merge each completed work item (node scripts/review.mjs merge), then verify every proposed finding in the main agent against captured anchors, caller/callee contracts, and counter-evidence.
  • Dispatch bounded investigation tasks (references/investigation.md) when a specific call path or contract gap needs isolated tracing.
  • If the user explicitly requested BRD/PRD/ADR alignment or Security Plan Drift, apply references/integrations.md.
  • Deduplicate identical or overlapping defects and record accepted, disputed, deferred, or rejected dispositions with reasons via node scripts/review.mjs decide. The main agent owns all dispositions and the final outcome.
  1. Render report and handle feedback/delivery:
  • Render review.md with node scripts/review.mjs render, preserving human edits, the canonical disclaimer, and unchecked human-review/posting checkboxes.
  • Check canvas feedback (take_feedback) at dispatch/completion boundaries and before closeout. For interactive staging or PR submission, read references/delivery.md.

Orchestrating parallel general-purpose subagents (tasks)

Do not look for or dispatch custom named code-review-* subagents. Orchestrate parallel tasks using the standard general-purpose agent (agent_type: "general-purpose").

Scaling tasks across vectors, phases, and areas

The orchestrating main agent decides how many parallel general-purpose tasks to run based on diff structure and active vectors:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 2 Oct 2026.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1,492
Repository forks
318
7-day trend score
37

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill CERTIFIED badge
[![vskill CERTIFIED](https://verified-skill.com/api/v1/skills/microsoft/hve-core/code-review/badge)](https://verified-skill.com/skills/microsoft/hve-core/code-review)

Something wrong with this skill or its page? Tell us.