harnesscp-gates

Design automated quality gates for Copilot harnesses with hook-driven validation.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/LSDIPPOLLC/harness-cp --skill harnesscp-gates
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: harnesscp-gates
Source: https://github.com/LSDIPPOLLC/harness-cp/tree/main/.github/skills/harnesscp-gates
Command: npx skills add https://github.com/LSDIPPOLLC/harness-cp --skill harnesscp-gates

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you add automated quality gates to Copilot harnesses so mistakes are caught immediately instead of piling up across edits, handoffs, and session boundaries.

Core Features & Use Cases

  • Multi-layer validation: Designs post-edit, pre-action, subagent, pre-compact, end-of-session, pre-commit, and CI checks.
  • Feedback loops: Turns gate failures into actionable fixes, re-validation, and harness improvements.
  • Self-evaluation patterns: Supports eval-then-fix workflows, assertion-based checks, and drift detection for stale instructions or broken hooks.
  • Use Case: Use this Skill when a project needs automatic formatting, security checks, validation hooks, or a reliable system that keeps improving its own harness quality over time.

Quick Start

Ask the skill to assess your current gate coverage and design the smallest set of validation hooks needed to catch drift, prevent regressions, and produce clear fix instructions.

Frequently Asked Questions about harnesscp-gates

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

FAQPage Schema
How do I catch Copilot harness drift before it spreads across edits?

You can catch Copilot harness drift by designing automated quality gates with hook-driven validation. These gates apply post-edit checks, pre-action guards, and subagent validation to enforce formatting, security, and detect regressions immediately.

What is the best way to automate feedback loops for harness maintenance?

Automating feedback loops for harness maintenance involves turning gate failures into actionable fixes and re-validation cycles. This eval-then-fix workflow uses assertion-based checks and drift detection to continuously improve harness quality over time.

How do I set up pre-commit and CI checks for Copilot validation hooks?

Setting up pre-commit and CI checks for Copilot validation hooks requires designing multi-layer quality gates. These gates enforce self-correcting workflows with clear failure messaging to prevent regressions from entering your codebase.

Can I use automated quality gates for end-of-session Copilot reviews?

Yes, automated quality gates can be applied to end-of-session reviews. They evaluate the session's edits against formatting, security, and drift detection rules, producing clear fix instructions for any detected errors or broken hooks.

Why do I need drift detection for stale instructions in my Copilot harness?

Drift detection for stale instructions is needed to prevent accumulated errors and broken hooks from degrading Copilot performance. Quality gates identify these regressions across handoffs and session boundaries, enabling self-correcting workflows to restore harness integrity.