validation-trigger

grandinh's avatarfrom grandinh

Natural language wrapper for validation commands - automatically triggers /validate-and-fix when users request quality checks, linting, or auto-fixes

⭐1stars🔀0forks📁View on GitHub🕐Updated Nov 17, 2025

When & Why to Use This Skill

The validation-trigger skill is an intelligent natural language wrapper designed to streamline the software development lifecycle. By mapping conversational requests directly to the `/validate-and-fix` command, it allows developers to execute code quality checks, linting, and automated repairs without needing to remember specific command syntax, thereby ensuring codebase consistency and reducing manual overhead.

Use Cases

  • Automated Linting: Quickly resolve style violations and syntax warnings by asking the agent to 'fix linting' or 'run linter' during development.
  • Code Quality Assurance: Maintain high standards by triggering comprehensive validation checks with simple prompts like 'validate code' or 'check quality' before merging changes.
  • Seamless Formatting: Ensure consistent code styling across a project by requesting the agent to 'format code' or 'fix formatting' using natural language.
  • Rapid Issue Remediation: Accelerate the debugging process by using 'auto-fix' commands to automatically identify and repair common programmatic issues detected by the system.
namevalidation-trigger
descriptionNatural language wrapper for validation commands - automatically triggers /validate-and-fix when users request quality checks, linting, or auto-fixes
schema_version1.0

validation-trigger

Type: WRITE-CAPABLE DAIC Modes: IMPLEMENT only Priority: Medium

Trigger Reference

This skill activates on:

  • Keywords: "fix linting", "validate code", "quality check", "auto-fix", "run quality checks", "fix issues", "lint", "format code", "fix formatting"
  • Intent Patterns: (fix|validate|check).*(lint|quality|code|issues), auto.*?fix, quality.*?(check|validate), run.*?checks, (format|lint).*?code

From: skill-rules.json - validation-trigger configuration

Purpose

Automatically trigger validation and auto-fix commands (/validate-and-fix) when users request code quality checks or automatic fixes using natural language.

Core Behavior

When activated in IMPLEMENT mode:

  1. Validation Intent Detection

    • Detect quality check and auto-fix requests
    • Route to validation command
  2. Command Invocation

    • "fix linting" → /validate-and-fix
    • Command runs linting, type checks, tests, and auto-fixes issues

Natural Language Examples

Triggers this skill:

  • ✓ "Fix linting errors"
  • ✓ "Validate code quality"
  • ✓ "Auto-fix issues"
  • ✓ "Run quality checks"
  • ✓ "Format code"

Safety Guardrails

WRITE-CAPABLE RULES:

  • ✓ Only execute in IMPLEMENT mode
  • ✓ Verify active task before auto-fixing
  • ✓ Command modifies files to fix issues