refine

Coordinate and run seven-pass quality gates over changed code.

16|3|Updated May 5, 2026
One-click install
npx skills add https://github.com/Kevin-Liu-01/Agent-Machines --skill refine-kevin-liu-01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refine
Source: https://github.com/Kevin-Liu-01/Agent-Machines/tree/main/knowledge/skills/refine
Command: npx skills add https://github.com/Kevin-Liu-01/Agent-Machines --skill refine-kevin-liu-01

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinate and run a seven-pass quality gate over changed code.

Core Features & Use Cases

  • Orchestrates seven standalone passes (comment, lerp, style, fix-types, interface, test-invariants, exemplar-audit) so you can run any pass independently or all seven in sequence.
  • Provides a centralized, repeatable quality-check workflow that ties together multiple checks before commits.
  • Uses independent skill files to keep checks modular and evolvable as codebases change.

Quick Start

Run refine to execute all seven passes on the current working set, or target individual passes by name.

Frequently Asked Questions about refine

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

FAQPage Schema
How do I automate code review checks before committing changes?

Automating pre-commit code review involves running a coordinated seven-pass quality gate over changed code, executing passes like comment, style, fix-types, and interface sequentially to verify quality before committing.

What is a multi-pass code quality workflow and how does it work?

A multi-pass code quality workflow coordinates individual checks such as comment, lerp, style, fix-types, interface, test-invariants, and exemplar-audit. Each pass reads its own skill file for a full checklist, enabling deterministic and repeatable quality verification.

Can I run individual code quality checks independently instead of a full suite?

Yes, you can target individual passes by name to run checks like fix-types or test-invariants independently, or execute all seven passes in sequence to comprehensively polish changed code.

How do I verify code invariants as part of an automated testing workflow?

You verify code invariants within an automated testing workflow by running the test-invariants pass, which acts as one step in a seven-pass quality gate to ensure deterministic code quality verification before final commits.

Does this quality gate workflow require any external dependencies?

No, this quality gate workflow operates without external dependencies. It uses independent skill files to keep checks modular and evolvable, enabling a centralized and repeatable quality-check process directly over changed code.

When should I use a seven-pass quality gate over standard linting?

Use a seven-pass quality gate when you need to orchestrate multiple checks—like interface consistency, type fixing, and exemplar audits—beyond standard linting, providing a centralized and repeatable workflow to polish code before commits.