vcp-pre-commit-review

Review staged/changed files against all applicable VCP standards before committing. Produces a PASS/BLOCK verdict. Run this before every commit.

SKILL.md

GitHub

VCP Pre Commit Review

This skill is a thin slash-command launcher. The authoritative workflow lives in the VCP MCP prompt vcp_pre_commit_review and resource vcp://prompts/vcp-pre-commit-review.

  1. Fetch the MCP prompt vcp_pre_commit_review with the caller-supplied host, current project path, and raw command arguments.
  2. If MCP prompts are not directly available, call VCP MCP tool get_prompt({ command: "vcp-pre-commit-review", host, project_path, arguments }) and follow the returned prompt text.
  3. The returned prompt may instruct you to call VCP MCP tools such as detect_installation, validate_plugin_root, or resolve_config. Use those tools for deterministic work.
  4. If the VCP MCP server is unavailable, stop and tell the user to enable the VCP MCP server for this plugin.

Do not reimplement the workflow in this file; update the MCP prompt instead.