gap-fix

Audit code against a spec and implement fixes on a local branch.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/DiologIR/diolog-plugins --skill gap-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gap-fix
Source: https://github.com/DiologIR/diolog-plugins/tree/main/plugins/feature-spec-pipeline/skills/gap-fix
Command: npx skills add https://github.com/DiologIR/diolog-plugins --skill gap-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps address gaps in code that don't fully align with the original spec, streamlining the remediation process by auditing and fixing the code on the same local branch.

Core Features & Use Cases

  • Code Audit: Parallel audits against the spec and plan, checking for requirement completeness, correctness, and UI fidelity.
  • Code Fixing: Implements production code fixes for identified gaps, ensuring full spec compliance.
  • Finalize: Runs gates to validate code and commit fixes, keeping the branch local for human review.

Quick Start

Run the gap-fix skill on a feature spec by using the command: gap-fix DIO-0001

Frequently Asked Questions about gap-fix

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

FAQPage Schema
How do I remediate code gaps to ensure full spec compliance during feature implementation?

Automating spec compliance involves auditing your local feature branch against the original spec to identify misalignments. The workflow then implements production code fixes directly on the same branch to ensure complete requirement adherence.

What is the best way to audit local development code for spec completeness and correctness?

Auditing local development code for spec completeness involves running parallel checks against the feature plan and spec. This verifies requirement correctness and UI fidelity to identify gaps before finalizing the branch.

Does gap-fix handle branch management and code integration automatically?

Gap-fix handles branch management within the local development environment by applying code fixes directly to the current feature branch. It requires manual code commits and human reviews before finalizing the integration.

How do I run a code audit and fix workflow for a feature spec?

To run a code audit and fix workflow for a feature spec, execute the skill command with your feature identifier, such as 'gap-fix DIO-0001'. This initiates the structured remediation process directly on your local development branch.

When should I use an automated code remediation tool for spec adherence?

You should use an automated code remediation tool for spec adherence during the feature implementation phase. It is primarily suited for fixing identified gaps before finalizing manual code commits and human reviews.