validate-fix

Validate code changes against a plan and report deviations before commit.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/TrevorPLam/agency --skill validate-fix-trevorplam
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: validate-fix
Source: https://github.com/TrevorPLam/agency/tree/main/.windsurf/skills/validate-fix
Command: npx skills add https://github.com/TrevorPLam/agency --skill validate-fix-trevorplam

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dual-LLM validation catches plan drift by ensuring implementations match the plan before commit.

Core Features & Use Cases

  • Validate changes against the original plan to prevent unplanned modifications.
  • Enforce error handling, type checks, and test coverage before committing.
  • Applicable in pre-commit workflows for high-risk implementations across projects.

Quick Start

Trigger the validation workflow for the current changes before committing.

Frequently Asked Questions about validate-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent code drift and validate implementations against a plan before committing?▼

Pre-commit plan validation prevents code drift by computing a diff against HEAD, reading your plan file, and reporting deviations to ensure implementations match the agreed scope before a commit is finalized.

Can I enforce test coverage and error handling automatically in a pre-commit workflow?▼

Yes, pre-commit validation can enforce required error handling and type checks, detect missing tests, and generate a structured validation report that acts as a commit blocker if quality assurance criteria are not met.

How does dual-LLM validation work for code review and quality assurance?▼

Dual-LLM validation cross-references your uncommitted changes against the original plan, identifying unplanned modifications and type errors to enforce quality assurance and block commits that deviate from the agreed implementation.

What is the best way to check for unplanned modifications before a git commit?▼

The best way to check for unplanned modifications is to run a pre-commit validation process that reads your plan file, computes a diff of current changes, and flags any deviations from the agreed implementation scope.

Do I need a plan file to run pre-commit validation on my code changes?▼

Yes, you need an existing plan file to perform plan validation, as the process relies on reading the agreed plan to compute a diff against HEAD and accurately report any implementation deviations or missing tests.

What limitations should I expect when using automated commit blockers for high-risk implementations?▼

Automated commit blockers for high-risk implementations rely on a pre-existing plan file to detect deviations, meaning they cannot validate changes effectively if the implementation lacks a clearly defined plan or structured test requirements.